[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.32,1.510.2.33

russell at lists.digium.com russell at lists.digium.com
Sun Jan 2 20:31:08 CST 2005


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
stop sending rtp when on hold (bug #3185)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.32
retrieving revision 1.510.2.33
diff -u -d -r1.510.2.32 -r1.510.2.33
--- chan_sip.c	2 Jan 2005 00:32:32 -0000	1.510.2.32
+++ chan_sip.c	3 Jan 2005 02:36:24 -0000	1.510.2.33
@@ -2790,6 +2790,8 @@
 				ast_moh_stop(p->owner->bridge);
 			} else {
 				ast_moh_start(p->owner->bridge, NULL);
+				if (sendonly)
+					ast_rtp_stop(p->rtp);
 			}
 		}
 	}




More information about the svn-commits mailing list