aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-03 15:39:21 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-03 15:39:21 +0000
commit050d974c979252f555969be4f6e740f2940b7266 (patch)
treee8d7b5970d422bc49cb46e706b6829a8fef744e1 /channels/misdn
parent6fd147f1aea18f70358cf42d29cc1c52056d3d0f (diff)
when we're in state WAITING4DIGS, we use the asterisk tone-generator which prods us, so we can't just return -1 in misdn_write in this case. Added a MISDN_KEYPAD channel variable, and fixed the sending of keypad. this enables us to modify the call forward parameters in the switch.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@62945 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn')
-rw-r--r--channels/misdn/isdn_msg_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/misdn/isdn_msg_parser.c b/channels/misdn/isdn_msg_parser.c
index 305b6c895..0c49acddd 100644
--- a/channels/misdn/isdn_msg_parser.c
+++ b/channels/misdn/isdn_msg_parser.c
@@ -287,7 +287,7 @@ msg_t *build_setup (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt)
{
if (bc->keypad[0])
- enc_ie_keypad(&setup->CALLED_PN, msg, bc->keypad, nt,bc);
+ enc_ie_keypad(&setup->KEYPAD, msg, bc->keypad, nt,bc);
}