[Freeswitch-svn] [commit] r12358 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
anthm at freeswitch.org
Mon Mar 2 11:43:17 PST 2009
Author: anthm
Date: Mon Mar 2 13:43:17 2009
New Revision: 12358
Log:
MODENDP-192
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Mon Mar 2 13:43:17 2009
@@ -2355,6 +2355,10 @@
nchannel = switch_core_session_get_channel(nsession);
+ if ((hval = switch_event_get_header(var_event, "sip_invite_to_uri"))) {
+ dest_to = switch_core_session_strdup(nsession, hval);
+ }
+
if (!strncasecmp(profile_name, "gateway", 7)) {
char *gw, *params;
sofia_gateway_t *gateway_ptr = NULL;
More information about the Freeswitch-svn
mailing list