[Asterisk-cvs] asterisk/apps app_dial.c,1.135,1.136

markster at lists.digium.com markster at lists.digium.com
Wed Feb 2 21:29:32 CST 2005


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

Modified Files:
	app_dial.c 
Log Message:
REname 'p' option to 'o' (bug #3490)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- app_dial.c	2 Feb 2005 20:35:25 -0000	1.135
+++ app_dial.c	3 Feb 2005 03:30:41 -0000	1.136
@@ -71,8 +71,8 @@
 "             making/redirecting the outgoing call. For example, some PSTNs\n"
 "             don't allow callerids from other extensions then the ones\n"
 "             that are assigned to you.\n"
-"      'p' -- Preserve the incoming Caller*ID on the outbound leg of the call (old style\n"
-"             asterisk behavior)\n"
+"      'o' -- Original (inbound) Caller*ID should be placed on the outbound leg of the call 
+"             instead of using the destination extension (old style asterisk behavior)\n"
 "      'r' -- indicate ringing to the calling party, pass no audio until answered.\n"
 "      'm[(class)]' -- provide hold music to the calling party until answered (optionally\n"
 "                      with the specified class.\n"
@@ -894,7 +894,7 @@
 			ast_set2_flag(peerflags, strchr(transfer, 'W'), DIAL_MONITOR_OUT);	
 			ast_set2_flag(peerflags, strchr(transfer, 'd'), DIAL_HALT_ON_DTMF);	
 			ast_set2_flag(peerflags, strchr(transfer, 'g'), DIAL_GO_ON);	
-			ast_set2_flag(peerflags, strchr(transfer, 'p'), DIAL_PRESERVE_CALLERID);	
+			ast_set2_flag(peerflags, strchr(transfer, 'o'), DIAL_PRESERVE_CALLERID);	
 		}
 		strncpy(numsubst, number, sizeof(numsubst)-1);
 		/* If we're dialing by extension, look at the extension to know what to dial */




More information about the svn-commits mailing list