(closes issue #14702)
Reported by: klaus3000
Patches:
patch_asterisk_1.4.23_CID_matching.txt uploaded by klaus3000 (license 65)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@206126
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
dpc->total_prio++;
/* write extension name and first peer */
- snprintf(buf, sizeof(buf), "'%s' =>", ast_get_extension_name(e));
+ if (e->matchcid)
+ snprintf(buf, sizeof(buf), "'%s' (CID match '%s') => ", ast_get_extension_name(e), e->cidmatch);
+ else
+ snprintf(buf, sizeof(buf), "'%s' =>", ast_get_extension_name(e));
print_ext(e, buf2, sizeof(buf2));