mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-29 10:01:41 +00:00
FS-10592: [mod_sofia] add sofia_profile_url to b channel
This commit is contained in:
parent
030612b3ec
commit
aea2db043e
@ -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")) {
|
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, "sofia_profile_name", tech_pvt->profile->name);
|
||||||
switch_channel_set_variable(channel, "recovery_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);
|
extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_HEADER_PREFIX);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user