mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 12:18:18 +00:00
copy var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16902 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ee3f9b7918
commit
bb62df6e9f
@ -465,6 +465,8 @@ void sofia_handle_sip_i_bye(switch_core_session_t *session, int status,
|
||||
switch_snprintf(st, sizeof(st), "%d", status);
|
||||
switch_channel_set_variable(channel, "sip_term_status", st);
|
||||
switch_snprintf(st, sizeof(st), "sip:%d", status);
|
||||
switch_channel_set_variable_partner(channel, SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE, st);
|
||||
switch_channel_set_variable(channel, SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE, st);
|
||||
|
||||
if (phrase) {
|
||||
switch_channel_set_variable_partner(channel, "sip_hangup_phrase", phrase);
|
||||
|
Loading…
x
Reference in New Issue
Block a user