Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] dialed number notify at invalid dial situation


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jthompsonic at gmail.com
Guest





PostPosted: Tue Apr 15, 2008 10:52 am    Post subject: [asterisk-users] dialed number notify at invalid dial situat Reply with quote

Originally posted by: mailto:

Hi all

Now I'm making IVR sequance that is customised [mainmanu].

I wish to notify invaid command like a following

exten => i,1,playback('your command is ...')
exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
exten => i,3,playback(' is incorrect! please again ')

# This exten lines are figure for instruction.
# I know to use with gsm filename.

but ${EXTEN} meaning 'i' that isn't dialed number.

Does anyone have good idea?

please help

---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com:81/modules/news/
powered by xoops at http://www.xoops.org

_______________________________________________
Asterisk-Users mailing list
mailto:Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
theclubvoip at gmail.com
Guest





PostPosted: Tue Apr 15, 2008 1:37 pm    Post subject: [asterisk-users] dialed number notify at invalid dial situat Reply with quote

you could try to set a var to the exten maybe.. and then use that var ..
since when in exten => i , well i will be the exten..

On Tue, Apr 15, 2008 at 11:52 AM, Anonymous <jthompsonic at gmail.com> wrote:

Quote:


Originally posted by: mailto:

Hi all

Now I'm making IVR sequance that is customised [mainmanu].

I wish to notify invaid command like a following

exten => i,1,playback('your command is ...')
exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
exten => i,3,playback(' is incorrect! please again ')

# This exten lines are figure for instruction.
# I know to use with gsm filename.

but ${EXTEN} meaning 'i' that isn't dialed number.

Does anyone have good idea?

please help

---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com:81/modules/news/
powered by xoops at http://www.xoops.org

_______________________________________________
Asterisk-Users mailing list
mailto:Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- 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


--
Mike
Sales Manager
http://www.voicemeup.com
Making it happen
1.877.807.VOIP (8647)
1.514.312.7030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080415/ec0b0020/attachment.htm
Back to top
Guest






PostPosted: Wed Apr 16, 2008 11:33 am    Post subject: [asterisk-users] dialed number notify at invalid dial situat Reply with quote

Anonymous wrote:
Quote:
Originally posted by: mailto:

Hi all

Now I'm making IVR sequance that is customised [mainmanu].

I wish to notify invaid command like a following

exten => i,1,playback('your command is ...')
exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
exten => i,3,playback(' is incorrect! please again ')

# This exten lines are figure for instruction.
# I know to use with gsm filename.

but ${EXTEN} meaning 'i' that isn't dialed number.

Does anyone have good idea?

please help

---
Masakazu Nakano.
Dairiten.com - an open source VoIP and Ubiquitus Portal site in Japan.
http://www.dairiten.com:81/modules/news/
powered by xoops at http://www.xoops.org

_______________________________________________
Asterisk-Users mailing list
mailto:Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- 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

If you were to use Read to in your IVR instead of Background or
WaitExten, you could then reuse later the variable you read. I haven't
tested this to see if Goto *sends* you to the i extension when you try
to go to a non-existent extension... but *you* could Smile

[mainmanu]
exten => s,1,Answer()
exten => s,n,Playback(Press 1, 2, or 3)
exten => s,n,Read(pressedbutton|Press one,two,or three|1)
exten => s,n,Goto(mainmanu,${pressedbutton},1)

exten => 1,1,blah
exten => 2,1,blah
exten => 3,1,blah

exten => i,1,NoOP(${pressedbutton})
--

*Mojo Wentworth*
HORAN & COMPANY, LLC
403 Lincoln Street, Suite 210
Sitka, AK 99835
(907) 747-6666
(907) 747-7417 - Fax
mojo at horanappraisals.com
Back to top
Guest






PostPosted: Wed Apr 16, 2008 1:46 pm    Post subject: [asterisk-users] dialed number notify at invalid dial situat Reply with quote

Mojo with Horan & Company, LLC wrote:
Quote:
[mainmanu]
exten => s,1,Answer()
exten => s,n,Playback(Press 1, 2, or 3)
exten => s,n,Read(pressedbutton|Press one,two,or three|1)
exten => s,n,Goto(mainmanu,${pressedbutton},1)

Oops,
shouldn't have that second priority in there. Because Read is playing
the prompt, Playback is unnecessary.

Moj
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services