diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-03 13:59:00 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-03 13:59:00 +0000 |
commit | 6fd147f1aea18f70358cf42d29cc1c52056d3d0f (patch) | |
tree | 097af33e7e6a6018d6c3ee4d81966e083bc46c64 /channels/misdn/isdn_msg_parser.c | |
parent | 938890b96e9d6c9c28fe531e4e5180010289f2b9 (diff) |
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
Diffstat (limited to 'channels/misdn/isdn_msg_parser.c')
-rw-r--r-- | channels/misdn/isdn_msg_parser.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |