Progress OK when "CALL PROCEEDING"

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@62 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2003-10-10 07:04:19 +00:00
parent 79e10c30a1
commit cb01262a54

3
q931.c
View File

@ -2183,7 +2183,8 @@ int q931_receive(struct pri *pri, q931_h *h, int len)
break; break;
} }
if ((c->ourcallstate != Q931_CALL_STATE_CALL_INITIATED) && if ((c->ourcallstate != Q931_CALL_STATE_CALL_INITIATED) &&
(c->ourcallstate != Q931_CALL_STATE_OVERLAP_SENDING)) { (c->ourcallstate != Q931_CALL_STATE_OVERLAP_SENDING) &&
(c->ourcallstate != Q931_CALL_STATE_OUTGOING_CALL_PROCEEDING)) {
q931_status(pri,c,PRI_CAUSE_WRONG_MESSAGE); q931_status(pri,c,PRI_CAUSE_WRONG_MESSAGE);
break; break;
} }