[svn-commits] russell: branch 1.4 r206126 - /branches/1.4/main/pbx.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jul 13 10:12:12 CDT 2009
Author: russell
Date: Mon Jul 13 10:12:08 2009
New Revision: 206126
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206126
Log:
Print CID match in "show dialplan".
(closes issue #14702)
Reported by: klaus3000
Patches:
patch_asterisk_1.4.23_CID_matching.txt uploaded by klaus3000 (license 65)
Modified:
branches/1.4/main/pbx.c
Modified: branches/1.4/main/pbx.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=206126&r1=206125&r2=206126
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Mon Jul 13 10:12:08 2009
@@ -3549,7 +3549,10 @@
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));
More information about the svn-commits
mailing list