]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10592: [mod_sofia] add sofia_profile_url to b channel
authorlazedo <luis.azedo@factorlusitano.com>
Thu, 17 Aug 2017 19:32:13 +0000 (20:32 +0100)
committerlazedo <luis.azedo@factorlusitano.com>
Thu, 17 Aug 2017 19:32:13 +0000 (20:32 +0100)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 8574a1631a02503c1af9caa3506a05297765dce4..3db4ba6012452d6929863bbb797fb4f347bfa357 100644 (file)
@@ -1228,6 +1228,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
        if (!switch_channel_get_variable(channel, "sofia_profile_name")) {
                switch_channel_set_variable(channel, "sofia_profile_name", tech_pvt->profile->name);
                switch_channel_set_variable(channel, "recovery_profile_name", tech_pvt->profile->name);
+               switch_channel_set_variable(channel, "sofia_profile_url", tech_pvt->profile->url);
        }
 
        extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_HEADER_PREFIX);