From: lazedo Date: Thu, 17 Aug 2017 19:32:13 +0000 (+0100) Subject: FS-10592: [mod_sofia] add sofia_profile_url to b channel X-Git-Tag: v1.8.0~287^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea2db043e376b7d55087416ce0670ce70cba7f0;p=thirdparty%2Ffreeswitch.git FS-10592: [mod_sofia] add sofia_profile_url to b channel --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 8574a1631a..3db4ba6012 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -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);