forked from Mirrors/freeswitch
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8240 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3803807841
commit
de0f17db0b
@ -1517,7 +1517,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
|
||||
{
|
||||
sofia_gateway_t *gateway = NULL;
|
||||
|
||||
if (sofia_private->gateway_name) {
|
||||
if (sofia_private && !switch_strlen_zero(sofia_private->gateway_name)) {
|
||||
gateway = sofia_reg_find_gateway(sofia_private->gateway_name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user