[Asterisk-cvs] asterisk/channels chan_sip.c,1.605,1.606

markster at lists.digium.com markster at lists.digium.com
Wed Dec 29 08:37:09 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Stop transmission when sendonly is set (bug #3185)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.605
retrieving revision 1.606
diff -u -d -r1.605 -r1.606
--- chan_sip.c	29 Dec 2004 12:43:08 -0000	1.605
+++ chan_sip.c	29 Dec 2004 13:31:57 -0000	1.606
@@ -2804,6 +2804,8 @@
 				ast_moh_stop(ast_bridged_channel(p->owner));
 			} else {
 				ast_moh_start(ast_bridged_channel(p->owner), NULL);
+				if (sendonly)
+					ast_rtp_stop(p->rtp);
 			}
 		}
 	}




More information about the svn-commits mailing list