Accept "PROGRESS" after "ALERTING"

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@65 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2003-10-15 13:56:09 +00:00
parent b5fa5986b2
commit e4f9ea7583

1
q931.c
View File

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