[asterisk-commits] mmichelson: branch 1.4 r113927 - /branches/1.4/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 9 15:54:31 CDT 2008
Author: mmichelson
Date: Wed Apr 9 15:54:31 2008
New Revision: 113927
URL: http://svn.digium.com/view/asterisk?view=rev&rev=113927
Log:
We need to set the persistant_route [sic] parameter for the sip_pvt
during the initial INVITE, no matter if we're building the route set from
an INVITE request or response.
(closes issue #12391)
Reported by: benjaminbohlmann
Tested by: benjaminbohlmann
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=113927&r1=113926&r2=113927
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Apr 9 15:54:31 2008
@@ -8261,8 +8261,9 @@
free_old_route(p->route);
p->route = NULL;
}
-
- p->route_persistant = backwards;
+
+ /* We only want to create the route set the first time this is called */
+ p->route_persistant = 1;
/* Build a tailq, then assign it to p->route when done.
* If backwards, we add entries from the head so they end up
More information about the asterisk-commits
mailing list