[Asterisk-cvs] asterisk/channels chan_zap.c,1.326,1.327

markster at lists.digium.com markster at lists.digium.com
Mon Aug 30 20:05:23 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Make sure we behave properly for parking (bug #2292)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.326
retrieving revision 1.327
diff -u -d -r1.326 -r1.327
--- chan_zap.c	30 Aug 2004 05:07:27 -0000	1.326
+++ chan_zap.c	31 Aug 2004 00:08:52 -0000	1.327
@@ -4762,7 +4762,7 @@
 				tone_zone_play_tone(p->subs[index].zfd, -1);
 			else
 				tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_DIALTONE);
-			if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid)) {
+			if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid) && strcmp(chan->exten, ast_parking_ext())) {
 				if (!res || !ast_matchmore_extension(chan, chan->context, exten, 1, p->callerid)) {
 					if (getforward) {
 						/* Record this as the forwarding extension */




More information about the svn-commits mailing list