Look into the Authenticate application https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate
exten => 600,1,Ringing(2) exten => 600,n,Answer exten => 600,n,Authenticate(1234) exten => 600,n,Goto(home,s,1) On Thu, Dec 5, 2013 at 3:49 AM, Salaheddine Elharit < [email protected]> wrote: > hello list > > i have one question related to the IVR below > > exten => 600,1,Ringing() > exten => 600,n,Wait(2) > exten => 600,n,Goto(home,s,1) > > how can i ask the customer to enter a password before to go to (home,s,1) > > and where i must to store a password for example password 1234 > > if the customer enter 1234 he can Goto(home,s,1) and if the password is > wrong i playback an error message > > exten => 600,1,Ringing() > exten => 600,n,Wait(2) > the customer must enter 1234 if yes go to (home,s,1) if no go to error > exten => 600,n,Goto(home,s,1) > > [error] > > exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) > exten => s,n,Background(${sounds_path}error > > > any example would be appreciated > > > 2013/11/29 Mitul Limbani <[email protected]> > >> Sounds cool, I suspected the echo cancel situation, these are usually >> issue even for FAX communication on dahdi. >> >> Mitul >> >> >> On Friday, November 29, 2013, Salaheddine Elharit wrote: >> >>> hello >>> >>> i add the following in chan_dahdi and the issue has been solved thanks >>> a lot for your help and support now ican stop the speech and go to my >>> context >>> >>> i really appreciate your help and support >>> >>> immediate = yes >>> echocancel = no >>> dtmfmode = auto >>> >>> ---------- Forwarded message ---------- >>> From: Salaheddine Elharit <[email protected]> >>> Date: 2013/11/29 >>> Subject: Re: [asterisk-users] issue with speech in IVR >>> To: Asterisk Users Mailing List - Non-Commercial Discussion < >>> [email protected]> >>> >>> >>> hello >>> >>> i add the following in chan_dahdi and the issue has been solved thanks >>> a lot for your help and support now ican stop the speech and go to my >>> context >>> >>> i really appreciate your help and support >>> >>> >>> 2013/11/29 Mitul Limbani <[email protected]> >>> >>>> Try following in chan_dahdi >>>> >>>> immediate = yes >>>> echocancel = no >>>> dtmfmode = auto >>>> >>>> Mitul >>>> On Nov 29, 2013 1:42 PM, <[email protected]> wrote: >>>> >>>>> Are you using a mp3 file? >>>>> I have noticed that using control playback with a mp3 file I cannot >>>>> use the keypad to control the playback >>>>> >>>>> -----Original Message----- >>>>> From: Salaheddine Elharit <[email protected]> >>>>> Sender: [email protected]: Fri, 29 Nov 2013 >>>>> 08:05:16 >>>>> To: Asterisk Users Mailing List - Non-Commercial Discussion< >>>>> [email protected]> >>>>> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion >>>>> <[email protected]> >>>>> Subject: Re: [asterisk-users] issue with speech in IVR >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> >> >> -- >> Regards, >> Mitul Limbani, >> Chief Architech & Founder, >> Enterux Solutions Pvt. Ltd. >> 110 Reena Complex, Opp. Nathani Steel, >> Vidyavihar (W), Mumbai - 400 086. India >> http://www.enterux.com/ >> http://www.entvoice.com/ >> email: [email protected] >> DID: +91-22-71967196 >> Cell: +91-9820332422 >> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. ---Heinlein
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
