Hi Satish, Thank you Satish. I did the same before your e-mail i saw. But i got another issue in such case. DTMF is passed to that channels but in case I will make the complete IVR system for calling server end. and which become so complected to do it.
Is there any alternate way by which I get the response and send DTMF only. So that complete IVR flow willn't be required to implement at originator server. On Wed, Dec 28, 2011 at 2:50 PM, Satish Barot <satish4aster...@gmail.com>wrote: > Create a callfile with local channel and once first call leg is answered, > use wait() and senddtmf() application on second call leg. > > > CALLFILE sample: > > Channel: LOCAL/1234\@test_ivr > Context: senddtmf > Extension: s > Priority: 1 > > > Extensions.conf sample: > > ;-- FIRST LEG CALL --; > [test_ivr] > > exten => 1234,1,Answer() > same => n,Read(value,pleasePress1forSupportPress2forHelp,1,,10) > same => n,NoOp(${value}) > same => n,ExecIf($[${value}=1]?Goto(suppot,1)) > same => n,ExecIf($[${value}=2]?Goto(help,1)) > same => n,Hangup() > > exten=> support,1,Answer() > same => n,NoOp(you are at support section) > same => n,Hangup() > > exten=> help,1,Answer() > same => n,NoOp(you are at help section) > same => n,Hangup() > > ;--SECOND LEG CALL --; > [senddtmf] > exten => s,1,Noop(############# TEST:IVR ##############################) > > ; We should wait atleast 'n' of seconds. Where n is length of IVR file in > seconds. > same => n,Wait(10) > same => n,SendDTMF(1) > > > > > --SATISH BAROT > > On Wed, Dec 28, 2011 at 1:55 PM, virendra bhati <virbh...@gmail.com>wrote: > >> Hi list, >> >> Is there any way in asterisk by which I make a call from server and then >> dialplan(IVR system) gets DTMF from it. I mean to say that automatically >> DTMF is sended by channels as per user defined, >> >> I read there is an application sendDTMF but I don't know how we can used >> it? >> >> like A script make the call by using localdail, .call file or any method. >> And after landing the call we send dtmf to IVR system automatically as per >> my script.. >> >> >> *extensions.conf:-* >> >> exten => 1234,1,Answer() >> same => >> n,Read(value,pleasePress1forSupportPress2forHelp,1,,10) >> same => n,NoOp(${value}) >> same => n,ExecIf($[${value}=1]?Goto(suppot,1)) >> same => n,ExecIf($[${value}=2]?Goto(help,1)) >> same => n,Hangup() >> >> exten=> support,1,Answer() >> same => n,NoOp(you are at support section) >> same => n,Hangup() >> >> exten=> help,1,Answer() >> same => n,NoOp(you are at help section) >> same => n,Hangup() >> >> >> -- >> >> Thanks and regards >> >> Virendra Bhati >> +91-8885268942 >> Software Engineer >> >> >> -- >> _____________________________________________________________________ >> -- 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 > -- Thanks and regards Virendra Bhati +91-8885268942 Software Engineer
-- _____________________________________________________________________ -- 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