[Asterisk-cvs] asterisk/channels chan_zap.c,1.262,1.263

markster at lists.digium.com markster at lists.digium.com
Sun Jun 13 02:11:49 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Make sure overlap dial goes into "RING" state instead of just "RESERVED"


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -d -r1.262 -r1.263
--- chan_zap.c	10 Jun 2004 19:00:20 -0000	1.262
+++ chan_zap.c	13 Jun 2004 07:16:00 -0000	1.263
@@ -4426,6 +4426,7 @@
 			/* Start the real PBX */
 			strncpy(chan->exten, exten, sizeof(chan->exten));
 			ast_dsp_digitreset(p->dsp);
+			ast_setstate(chan, AST_STATE_RING);
 			res = ast_pbx_run(chan);
 			if (res) {
 				ast_log(LOG_WARNING, "PBX exited non-zero!\n");




More information about the svn-commits mailing list