From 6fd147f1aea18f70358cf42d29cc1c52056d3d0f Mon Sep 17 00:00:00 2001 From: crichter Date: Thu, 3 May 2007 13:59:00 +0000 Subject: fixed the problem that misdn_write did not return -1 when called with 0 samples in a frame this resultet in a deadlock in some circumstances, when the call ended because of a busy extension. added encoding of keypad. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@62885 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/misdn/isdn_msg_parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'channels/misdn') diff --git a/channels/misdn/isdn_msg_parser.c b/channels/misdn/isdn_msg_parser.c index da73cb42f..305b6c895 100644 --- a/channels/misdn/isdn_msg_parser.c +++ b/channels/misdn/isdn_msg_parser.c @@ -285,6 +285,10 @@ msg_t *build_setup (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) enc_ie_redir_nr(&setup->REDIR_NR, msg, 1, 1, bc->pres, bc->screen, 0, bc->rad, nt,bc); } + { + if (bc->keypad[0]) + enc_ie_keypad(&setup->CALLED_PN, msg, bc->keypad, nt,bc); + } if (*bc->display) { -- cgit v1.2.3