[Asterisk-cvs] asterisk/res res_agi.c,1.26,1.27

markster at lists.digium.com markster at lists.digium.com
Thu Mar 24 10:43:52 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv30352/res

Modified Files:
	res_agi.c 
Log Message:
Add additional fields for calling parameters per BT request


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- res_agi.c	17 Mar 2005 23:12:15 -0000	1.26
+++ res_agi.c	24 Mar 2005 16:38:13 -0000	1.27
@@ -309,6 +309,10 @@
 	/* ANI/DNIS */
 	fdprintf(fd, "agi_callerid: %s\n", chan->cid.cid_num ? chan->cid.cid_num : "unknown");
 	fdprintf(fd, "agi_calleridname: %s\n", chan->cid.cid_name ? chan->cid.cid_name : "unknown");
+	fdprintf(fd, "agi_callingpres: %d\n", chan->cid.cid_pres);
+	fdprintf(fd, "agi_callingani2: %d\n", chan->cid.cid_ani2);
+	fdprintf(fd, "agi_callington: %d\n", chan->cid.cid_ton);
+	fdprintf(fd, "agi_callingtns: %d\n", chan->cid.cid_tns);
 	fdprintf(fd, "agi_dnid: %s\n", chan->cid.cid_dnid ? chan->cid.cid_dnid : "unknown");
 	fdprintf(fd, "agi_rdnis: %s\n", chan->cid.cid_rdnis ? chan->cid.cid_rdnis : "unknown");
 




More information about the svn-commits mailing list