From 96695361e4c2b4caa9e2a4c019ae8ba0482cfe35 Mon Sep 17 00:00:00 2001 From: Matteo Brancaleoni Date: Wed, 19 Mar 2003 06:00:31 +0000 Subject: [PATCH] Wed Mar 19 07:00:01 CET 2003 git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@33 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/q931.c b/q931.c index 61c4a34..ade31a1 100755 --- a/q931.c +++ b/q931.c @@ -1963,6 +1963,11 @@ int q931_receive(struct pri *pri, q931_h *h, int len) pri->ev.restartack.channel = c->channelno; return Q931_RES_HAVEEVENT; case Q931_INFORMATION: + /* XXX We're handling only INFORMATION messages that contain + overlap dialing received digit + XXX */ + if (c->ourcallstate!=Q931_CALL_STATE_OVERLAP_RECEIVING) + break; pri->ev.e = PRI_EVENT_INFO_RECEIVED; pri->ev.ring.call = c;