[Asterisk-cvs] asterisk/channels chan_zap.c,1.370,1.371

markster at lists.digium.com markster at lists.digium.com
Sun Oct 31 18:31:42 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Pass redirecting number on PRI calls (bug #2763)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -d -r1.370 -r1.371
--- chan_zap.c	31 Oct 2004 23:17:11 -0000	1.370
+++ chan_zap.c	31 Oct 2004 23:34:22 -0000	1.371
@@ -1777,6 +1777,7 @@
 		pri_sr_set_caller(sr, l, n, p->pri->localdialplan - 1, 
 					l ? (p->use_callingpres ? ast->cid.cid_pres : PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN) : 
 						 PRES_NUMBER_NOT_AVAILABLE);
+		pri_sr_set_redirecting(sr, ast->cid.cid_rdnis, p->pri->localdialplan - 1, PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN, PRI_REDIR_UNCONDITIONAL);
 		if (pri_setup(p->pri->pri, p->call,  sr)) {
 			ast_log(LOG_WARNING, "Unable to setup call to %s\n", c + p->stripmsd);
 			pri_rel(p->pri);




More information about the svn-commits mailing list