diff --git a/q931.c b/q931.c index d1dd1d8..11c91ef 100755 --- a/q931.c +++ b/q931.c @@ -2197,7 +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_CALL_DELIVERED) && (c->ourcallstate != Q931_CALL_STATE_OUTGOING_CALL_PROCEEDING)) { q931_status(pri,c,PRI_CAUSE_WRONG_MESSAGE); break;