[Home]

Summary:ASTERISK-03542: Allow libpri to process Q931_IE_KEYPAD_FACILITY in state Q931_CALL_STATE_ACTIVE
Reporter:deti (deti)Labels:
Date Opened:2005-02-18 16:17:02.000-0600Date Closed:2005-02-19 03:59:23.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:With a couple of ISDN devices and PBXs (like Siemens HiCom) a "Keypad IE" is sent whenever a key is pressed instead of sending DTMF tones. Asterisk only expects such INFORMATION elements when expecting overlap digits i.e. before CONNECT, PROCEEDING etc). After that it expects digits as inline dtmf. This patch removes this restriction and passes Keypad IEs in Q931_CALL_STATE_ACTIVE


****** ADDITIONAL INFORMATION ******

--- q931.c~     2005-02-16 18:21:33.907803750 +0100
+++ q931.c      2005-02-16 18:21:33.909803485 +0100
@@ -2877,8 +2877,7 @@

q931_release_complete(pri,c,PRI_CAUSE_INVALID_CALL_REFERENCE);
                       break;
               }
-               if (c->ourcallstate!=Q931_CALL_STATE_OVERLAP_RECEIVING)
-                       break;
+
               pri->ev.e = PRI_EVENT_INFO_RECEIVED;
               pri->ev.ring.call = c;
               pri->ev.ring.channel = c->channelno | (c->ds1no << 8);
Comments:By: Olle Johansson (oej) 2005-02-18 16:37:04.000-0600

One of two identical reports (if I'm not missing anything...)

By: Olle Johansson (oej) 2005-02-19 03:59:23.000-0600

--