[Asterisk-cvs] asterisk channel.c,1.47,1.48

markster at lists.digium.com markster at lists.digium.com
Wed Oct 1 09:58:29 CDT 2003


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

Modified Files:
	channel.c 
Log Message:
Fix channel Caller*ID


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- channel.c	24 Sep 2003 19:43:14 -0000	1.47
+++ channel.c	1 Oct 2003 14:59:40 -0000	1.48
@@ -1517,6 +1517,8 @@
 				ast_set_callerid(chan, oh->callerid, 1);
 			chan->priority = oh->priority;
 		}
+		if (callerid && strlen(callerid))
+			ast_set_callerid(chan, callerid, 1);
 
 		if (!ast_call(chan, data, 0)) {
 			while(timeout && (chan->_state != AST_STATE_UP)) {




More information about the svn-commits mailing list