Revision
14849
Author
brian
Date
2009-09-14 14:34:35 -0500 (Mon, 14 Sep 2009)

Log Message

 ATTENTION BEHAVIOR CHANGE... you now have to explicitly set sip_invite_to_params to add params to the to field we will NO longer fall back to sip_invite_params in this case.  This is part of FSCORE-433

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (14848 => 14849)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2009-09-14 19:23:55 UTC (rev 14848)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2009-09-14 19:34:35 UTC (rev 14849)
@@ -1585,7 +1585,7 @@
 		url_str = sofia_overcome_sip_uri_weakness(session, url, tech_pvt->transport, SWITCH_TRUE, invite_params);
 		invite_contact = sofia_overcome_sip_uri_weakness(session, tech_pvt->invite_contact, tech_pvt->transport, SWITCH_FALSE, invite_contact_params);
 		from_str = sofia_overcome_sip_uri_weakness(session, use_from_str, 0, SWITCH_TRUE, invite_from_params);
-		to_str = sofia_overcome_sip_uri_weakness(session, invite_to_uri ? invite_to_uri : tech_pvt->dest_to, 0, SWITCH_FALSE, invite_to_params ? invite_to_params : invite_params);
+		to_str = sofia_overcome_sip_uri_weakness(session, invite_to_uri ? invite_to_uri : tech_pvt->dest_to, 0, SWITCH_FALSE, invite_to_params);
 
 
 		/*