mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-26 19:57:42 +00:00
MODSOFIA-91
This commit is contained in:
parent
336f0b4eda
commit
92d324d3aa
@ -1679,14 +1679,16 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||||||
to_host = switch_channel_get_variable(rchannel, "sip_to_host");
|
to_host = switch_channel_get_variable(rchannel, "sip_to_host");
|
||||||
from_user = switch_channel_get_variable(channel, "sip_from_user");
|
from_user = switch_channel_get_variable(channel, "sip_from_user");
|
||||||
from_host = switch_channel_get_variable(channel, "sip_from_host");
|
from_host = switch_channel_get_variable(channel, "sip_from_host");
|
||||||
|
to_tag = switch_channel_get_variable(rchannel, "sip_to_tag");
|
||||||
|
from_tag = switch_channel_get_variable(rchannel, "sip_from_tag");
|
||||||
} else {
|
} else {
|
||||||
to_host = switch_channel_get_variable(channel, "sip_to_host");
|
to_host = switch_channel_get_variable(channel, "sip_to_host");
|
||||||
from_user = switch_channel_get_variable(rchannel, "sip_from_user");
|
from_user = switch_channel_get_variable(rchannel, "sip_from_user");
|
||||||
from_host = switch_channel_get_variable(rchannel, "sip_from_host");
|
from_host = switch_channel_get_variable(rchannel, "sip_from_host");
|
||||||
|
from_tag = switch_channel_get_variable(rchannel, "sip_to_tag");
|
||||||
|
to_tag = switch_channel_get_variable(rchannel, "sip_from_tag");
|
||||||
}
|
}
|
||||||
|
|
||||||
to_tag = switch_channel_get_variable(rchannel, "sip_to_tag");
|
|
||||||
from_tag = switch_channel_get_variable(rchannel, "sip_from_tag");
|
|
||||||
switch_core_session_rwunlock(rsession);
|
switch_core_session_rwunlock(rsession);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user