Anonymous
2008-Apr-15 15:52 UTC
[asterisk-users] dialed number notify at invalid dial situation
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
Mike Lynchfield
2008-Apr-15 18:37 UTC
[asterisk-users] dialed number notify at invalid dial situation
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:> > > 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
Mojo with Horan & Company, LLC
2008-Apr-16 16:33 UTC
[asterisk-users] dialed number notify at invalid dial situation
Anonymous wrote:> 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 :) [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