can't assert people behaving nicely.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7620 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
dadace9a93
commit
bdf7a68612
|
@ -1972,8 +1972,8 @@ int nua_invite_server_preprocess(nua_server_request_t *sr)
|
|||
|
||||
session_timer_store(ss->ss_timer, request);
|
||||
|
||||
assert(ss->ss_state >= nua_callstate_ready ||
|
||||
ss->ss_state == nua_callstate_init);
|
||||
if (!(ss->ss_state >= nua_callstate_ready || ss->ss_state == nua_callstate_init))
|
||||
return SR_STATUS1(sr, SIP_500_INTERNAL_SERVER_ERROR);
|
||||
|
||||
if (NH_PGET(nh, auto_answer) ||
|
||||
/* Auto-answer to re-INVITE unless auto_answer is set to 0 on handle */
|
||||
|
|
Loading…
Reference in New Issue