[libpri-commits] rmudgett: branch 1.4 r2327 - /branches/1.4/q931.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Mon Aug 18 17:44:07 CDT 2014


Author: rmudgett
Date: Mon Aug 18 17:44:04 2014
New Revision: 2327

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2327
Log:
q931.c: Make always post a PRI_EVENT_KEYPAD_DIGIT if keypad digits come in an INFO message.

Q.931 Section 3.1.6 INFORMATION message.  The keypad-facility or
called-party-number ie could be used to convey called party digits.  The
keypad-facility ie can also be used to convey supplementary service
information.

PRI-173 #close
Reported by: Gerald Schnabel
Patches:
      libpri_q931_keypad_digits.patch (license #6297) patch uploaded by Gerald Schnabel

Modified:
    branches/1.4/q931.c

Modified: branches/1.4/q931.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q931.c?view=diff&rev=2327&r1=2326&r2=2327
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Mon Aug 18 17:44:04 2014
@@ -9170,7 +9170,7 @@
 			q931_release_complete(ctrl, c, newcall_rel_comp_cause(c));
 			break;
 		}
-		if (c->ourcallstate != Q931_CALL_STATE_OVERLAP_RECEIVING) {
+		if (strlen(c->keypad_digits)) {
 			ctrl->ev.e = PRI_EVENT_KEYPAD_DIGIT;
 			ctrl->ev.digit.subcmds = &ctrl->subcmds;
 			ctrl->ev.digit.call = c->master_call;




More information about the libpri-commits mailing list