[Freeswitch-trunk] [commit] r6857 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Mon Dec 17 23:57:52 EST 2007


Author: mikej
Date: Mon Dec 17 23:57:52 2007
New Revision: 6857

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
don't scope mask var names.

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	Mon Dec 17 23:57:52 2007
@@ -2245,8 +2245,8 @@
 	if (switch_core_session_thread_launch(session) == SWITCH_STATUS_SUCCESS) {
 		const char *to_user = switch_str_nil(sip->sip_to->a_url->url_user);
 		const char *to_host = switch_str_nil(sip->sip_to->a_url->url_host);
-		const char *from_user = switch_str_nil(sip->sip_from->a_url->url_user);
-		const char *from_host = switch_str_nil(sip->sip_from->a_url->url_host);
+		const char *dialog_from_user = switch_str_nil(sip->sip_from->a_url->url_user);
+		const char *dialog_from_host = switch_str_nil(sip->sip_from->a_url->url_host);
 		const char *contact_user = switch_str_nil(sip->sip_contact->m_url->url_user);
 		const char *contact_host = switch_str_nil(sip->sip_contact->m_url->url_host);
 		const char *user_agent = switch_str_nil(sip->sip_user_agent->g_string);
@@ -2259,8 +2259,8 @@
 							 tech_pvt->sofia_private->uuid,
 							 to_user,
 							 to_host,
-							 from_user,
-							 from_host,
+							 dialog_from_user,
+							 dialog_from_host,
 							 contact_user,
 							 contact_host,
 							 "confirmed",



More information about the Freeswitch-trunk mailing list