From f9842ff6d881738862bc365656eda56f131a7fac Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 23 Nov 2009 19:57:14 +0000 Subject: [PATCH] add sip_profile_name go go with sip_gateway_name on outgoing calls git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15629 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 500ee63952..32b010b407 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -3084,6 +3084,8 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session } } + switch_channel_set_variable(nchannel, "sip_profile_name", profile_name); + sofia_glue_get_user_host(switch_core_session_strdup(nsession, tech_pvt->dest), NULL, &tech_pvt->remote_ip); if (dest_to) {