I want to match specific contexts to menus. <br>If users dial a number (example: 17034444444) then start with context big10-IVR<br>If users dial a number (example: 15674442222) then start with context cleveland-IVR<br>It is not working. I have played with the include statements and am close but no cigar.<br>
<br>Here is a part of my config. Please send comments. Thank you<br><br><br>[default]<br>;include => stdexten<br>include => big10-IVR<br>include => cleveland-IVR<br>exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1)<br>
exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1)<br><br><br>[big10-IVR]<br>exten => s,1,Answer()<br>exten => s,n,Background(dir-welcome)<br>;exten => s,n,WaitExten(1)<br>;exten => s,n,Background(astcc-please-enter-your)<br>
;exten => s,n,Background(zip-code)<br>;exten => s,n,Wait(7)<br>exten => s,n,Background(washington-dc)<br>;exten => s,n,Authenticate(2222,a)<br>;exten => s,n,Background(pin-number-accepted)<br>exten => s,n,Playback(queue-thankyou)<br>
exten => s,n,Background(ginger110109)<br><br>[cleveland-IVR]<br>exten => s,1,Answer()<br>exten => s,n,Background(dir-welcome)<br>exten => s,n,WaitExten(1)<br>exten => s,n,Background(astcc-please-enter-your)<br>
exten => s,n,Background(zip-code)<br>exten => s,n,Wait(7)<br>exten => s,n,Background(washington-dc)<br>exten => s,n,Authenticate(2222,a)<br>exten => s,n,Background(pin-number-accepted)<br>exten => s,n,Playback(queue-thankyou)<br>
exten => s,n,Background(ginger110109)<br>exten => s,n,Hangup()<br><br>