talkeasy
Joined: Dec 03, 2004
Posts: 54
Location: UK & Poland
Status: Offline
|
| Posted:
Oct 08, 2009 - 02:13 PM |
|
I have two IVR menus in my dialplan which I seem to have set up incorrectly. If the second number is dialed (2224) and a selection is made (1 or 2) the action is always routed through the first number's (2230) sequence.
So for example, when I dial 2240 and select option 2, 2232 is executed instead of 2242.
Can anyone spot the problem? Part of extensions.conf pasted below:
| Quote: |
exten => 2230,1,Answer()
exten => 2230,2,Background(FixerMakeSelection)
exten => 1,1,Goto(default,2231,1)
exten => 2,1,Goto(default,2232,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => 2231,1,Answer()
exten => 2231,n,Playback(switchingToHollyTree)
exten => 2231,n,AGI(fixer-hollytree.php)
exten => 2231,n,Playback(fixersSwitchedHollytree)
exten => 2231,n,Hangup()
exten => 2232,1,Answer()
exten => 2232,n,Playback(switchingToAndysMobile)
exten => 2232,n,AGI(fixer-andysmobile.php)
exten => 2232,n,Playback(fixersSwitchedMobile)
exten => 2232,n,Hangup()
[PSTN-Switch]
exten => 2240,1,Answer()
exten => 2240,2,Background(PSTNMakeSelection)
exten => 1,1,Goto(PSTN-Switch,2241,1)
exten => 2,1,Goto(PSTN-Switch,2242,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => 2241,1,AGI(switchPSTN-hollytree.php)
exten => 2241,n,Playback(PSTNSelectionMade)
exten => 2241,n,Hangup()
exten => 2242,1,AGI(switchPSTN-andysmobile.php)
exten => 2242,n,Playback(PSTNSelectionMade)
exten => 2242,n,Hangup()
|
Thanks for looking. |
|
|