mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9166 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
19557091ef
commit
86a2243261
@ -2140,7 +2140,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
||||
if (sip && channel && (status == 180 || status == 183 || status == 200) && switch_channel_test_flag(channel, CF_OUTBOUND)) {
|
||||
if (sip->sip_user_agent && sip->sip_user_agent->g_string) {
|
||||
switch_channel_set_variable(channel, "sip_user_agent", sip->sip_user_agent->g_string);
|
||||
} else if (sip->sip_user_agent && sip->sip_server->g_string) {
|
||||
} else if (sip->sip_server && sip->sip_server->g_string) {
|
||||
switch_channel_set_variable(channel, "sip_user_agent", sip->sip_server->g_string);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user