]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add sip_profile_name go go with sip_gateway_name on outgoing calls
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 23 Nov 2009 19:57:14 +0000 (19:57 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 23 Nov 2009 19:57:14 +0000 (19:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15629 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 500ee63952fcf37b04c459557fd0c22c5f821631..32b010b407bd4104b09025dc5e1d4dce77a957b8 100644 (file)
@@ -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) {