mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.2@62945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user