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

FreeSWITCH SVN anthm at freeswitch.org
Wed Apr 15 09:03:44 PDT 2009


Author: anthm
Date: Wed Apr 15 11:03:44 2009
New Revision: 13032

Log:
SFSIP-86

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

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	Wed Apr 15 11:03:44 2009
@@ -3761,13 +3761,9 @@
 								}
 							}
 
-							if (refer_to->r_url && refer_to->r_url->url_headers) {
-								headers = switch_core_session_sprintf(session, "?%s", refer_to->r_url->url_headers);
-							}
-
-							exten = switch_core_session_sprintf(session, "sofia/%s/sip:%s@%s:%s%s%s", 
+							exten = switch_core_session_sprintf(session, "sofia/%s/sip:%s@%s", 
 																profile->name, refer_to->r_url->url_user, 
-																refer_to->r_url->url_host, port, param_string, headers);
+																refer_to->r_url->url_host);
 
 							switch_core_new_memory_pool(&npool);
 							nightmare_xfer_helper = switch_core_alloc(npool, sizeof(*nightmare_xfer_helper));



More information about the Freeswitch-svn mailing list