Hello all,<br><br>I'm planning to create a simple Auto-Attendant (IVR Menu) for my home PBX yet all callers from incoming (trunk) calls must only press the extension numbers from the [analog-ext] else will play the "pbx-invalid". How do you do that using the GotoIf() (or probably using the other applications) but will check if the numbers entered belongs to a specific context?<br>
<br>Also, how do you implement a condition in your AA context when you want that the 3rd time a caller presses an invalid extension number, it will play a "vm-goodbye" and hangup?<br> <br>Below is a snippet of my dialplan:<br>
<br>- - - < s n i p > - - -<br><br>[aa_menu]<br><br>exten => 0,1,Answer()<br>exten => 0,2,Background(greetings)<br>exten => 0,n,WaitExten()<br><br>exten => i,1,Playback(pbx-invalid)<br>exten => i,2,Goto(aa_menu,0,2)<br>
exten => i,n,Hangup(3)<br><br>exten => t,1,Goto(analog-ext,11,1)<br>exten => t,n,Hangup(3)<br><br>
[incoming]<br>
...<br>
...<br>[analog-ext]<br>...<br>...<br>[sip-ext]<br>...<br>...<br>[other-ext]<br>...<br>...<br><br>- - - < s n i p > - - -<br><br>Please advice.<br><br>Thank you in advance.<br><br>Regards,<br><br>GNUbie<br>