Wed Mar 19 07:00:01 CET 2003

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@33 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matteo Brancaleoni
2003-03-19 06:00:31 +00:00
parent cc7adcd328
commit 96695361e4

5
q931.c
View File

@@ -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;