[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.65,1.510.2.66
russell at lists.digium.com
russell at lists.digium.com
Tue May 31 01:26:46 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv17698/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
fix rtptimeout options for a specific peer (bug #4325)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.65
retrieving revision 1.510.2.66
diff -u -d -r1.510.2.65 -r1.510.2.66
--- chan_sip.c 31 May 2005 04:17:33 -0000 1.510.2.65
+++ chan_sip.c 31 May 2005 05:30:07 -0000 1.510.2.66
@@ -1350,6 +1350,8 @@
}
r->promiscredir = p->promiscredir;
strncpy(r->context, p->context,sizeof(r->context)-1);
+ r->rtptimeout = p->rtptimeout;
+ r->rtpholdtimeout = p->rtpholdtimeout;
if ((p->addr.sin_addr.s_addr || p->defaddr.sin_addr.s_addr) &&
(!p->maxms || ((p->lastms >= 0) && (p->lastms <= p->maxms)))) {
if (p->addr.sin_addr.s_addr) {
More information about the svn-commits
mailing list