[Asterisk-Dev] [PATCH] rtp.c causing re-INVITES
Karl Putland
karl at putland.linux-site.net
Fri Jul 11 09:28:59 MST 2003
The rtp code didn't store t0 so it always thought the endpoint changed
addresses.
--Karl
[peracles at mars asterisk]$ cvs diff -u rtp.c
Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.19
diff -u -r1.19 rtp.c
--- rtp.c 29 Jun 2003 03:24:39 -0000 1.19
+++ rtp.c 11 Jul 2003 16:52:07 -0000
@@ -1208,6 +1208,7 @@
}
to = -1;
ast_rtp_get_peer(p1, &t1);
+ ast_rtp_get_peer(p0, &t0);
if (vp1)
ast_rtp_get_peer(vp1, &vt1);
if (vp0)
--
Karl Putland <karl at putland.linux-site.net>
More information about the asterisk-dev
mailing list