Hello all,

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?

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?

Below is a snippet of my dialplan:

- - - < s n i p > - - -

[aa_menu]

exten => 0,1,Answer()
exten => 0,2,Background(greetings)
exten => 0,n,WaitExten()

exten => i,1,Playback(pbx-invalid)
exten => i,2,Goto(aa_menu,0,2)
exten => i,n,Hangup(3)

exten => t,1,Goto(analog-ext,11,1)
exten => t,n,Hangup(3)

[incoming]
...
...
[analog-ext]
...
...
[sip-ext]
...
...
[other-ext]
...
...

- - - < s n i p > - - -

Please advice.

Thank you in advance.

Regards,

GNUbie
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to