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 git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2327 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
998e6ba598
commit
a50516c1e4
2
q931.c
2
q931.c
@ -9170,7 +9170,7 @@ static int post_handle_q931_message(struct pri *ctrl, struct q931_mh *mh, struct
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user