don't blow up if its null
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15324 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
99f75241ce
commit
290db3578a
|
@ -4451,7 +4451,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
|||
moh = tmp;
|
||||
}
|
||||
|
||||
if (moh && !strcasecmp(moh, "silence")) {
|
||||
if (!zstr(moh) && !strcasecmp(moh, "silence")) {
|
||||
moh = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue