[Freeswitch-svn] [commit] r5229 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Tue May 29 11:16:42 EDT 2007
Author: anthm
Date: Tue May 29 11:16:42 2007
New Revision: 5229
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
update
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Tue May 29 11:16:42 2007
@@ -1844,11 +1844,11 @@
if (profile->ndlb & PFLAG_NDLB_TO_IN_200_CONTACT) {
tech_pvt->reply_contact = tech_pvt->to_uri;
} else {
- tech_pvt->reply_contact = tech_pvt->profile->url;
+ tech_pvt->to_uri = switch_core_session_strdup(session, profile->url);
}
} else {
- tech_pvt->to_uri = tech_pvt->profile->url;
- tech_pvt->reply_contact = tech_pvt->profile->url;
+ tech_pvt->to_uri = switch_core_session_strdup(session, profile->url);
+ tech_pvt->reply_contact = tech_pvt->to_uri;
}
}
More information about the Freeswitch-svn
mailing list