I'm trying to setup an AA script as follows:
0 - Operator (ext 115)
1 - Goto submenu DialExtension
2 - Goto PBX-Voicemail on extension 115
DialExtension Form does the following:
15 - Dial Extension 115
16 - Dial Extension 116
...
33 - Dial Extension 133
The routing table contains an entry for 70??? which sends the call to PBX-Mailbox for the extension provided.
If I pickup a phone and dial 70115 I get the voice mail for extension 115.
The problem I am having is that when I push option 2 in my script I lose the connection.
I am using the following to trap the user input:
<link dtmf="2" next="#voicemail" />
The voicemail object looks like this:
<object name="voicemail" classid="dial">
<param name="pattern" expr="'70115'" />
</object>
I have also tried:
<object name="voicemail" classid="connect">
<param name="extension" expr="'70115'" />
</object>
I get disconnected using either mechanism above.