Go here and look at 'i'...
http://www.voip-info.org/wiki-Asterisk+standard+extensions
Thanks,
Wiely
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Paul
Hewlett
Sent: Thursday, April 07, 2005 7:35 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] IVR - newbie question
This is such a simple question but I cannot see what is wrong.
Is there anything wrong with the following IVR dial plan ?
I am using extension 222 to test it...
[default]
extens => 222,1,Macro(ivr)
[macro-ivr]
exten => s,1,Wait(1)
exten => s,2,Background(welcome-and-menu) exten => s,3,Wait(4) exten =>
s,4,Goto(2) exten => 1,1,Macro(int_extens,${SALES},20,${SALES})
exten => 1,2,Hangup
exten => 2,1,Macro(int_extens,${RECEPT},20,${RECEPT})
exten => 2,2,Hangup
exten => i,1,Playback(invalid)
exten => i,2,Goto(s|2)
If I test this and enter '3' (i.e. an invalid extension) an error is
generated that '3' is an invalid extension and there is no 'i'
rule in
the 'default'
context. * then hangs up instead of replaying the welcome-and-menu
message.
PaulHe
--
Paul Hewlett (Linux #359543)
Tel: +27 21 852 8812 Cel: +27 72 719 2725 Fax: +27 86 672 0563
--
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users