What I understand from your reply is, you also like to have multiple Read() in 'support' and 'help' extensions as well.<br><br>In that case you can have something like this in [senddtmf]<br>exten => s,1,Noop(############# TEST:IVR ##############################)<br>
<br>; We should wait atleast 'n' of seconds. Where n is length of IVR file in<br>seconds.<br>same => n,Wait(10)<br>same => n,SendDTMF(1)<br>;- Wait for message in second Read --;<br>same => n,Wait(5) <br>
same => n,SendDTMF(2)<br>;- Wait for message in third Read --;<br>same => n,Wait(15)<br>same => n,SendDTMF(1)<br>...<br>...<br>same => n,Wait(10)<br>same => n,SendDTMF(3)<br><br><br>Hope this helps you,<br>
<br>--SATISH BAROT<br><br><br><div class="gmail_quote">On Wed, Dec 28, 2011 at 3:02 PM, virendra bhati <span dir="ltr"><<a href="mailto:virbhati@gmail.com">virbhati@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Satish,<br><br>Thank you Satish. I did the same before your e-mail i saw. But i got another issue in such case.<br>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.<br>
<br>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.<div><div class="h5"><br><br><div class="gmail_quote">On Wed, Dec 28, 2011 at 2:50 PM, Satish Barot <span dir="ltr"><<a href="mailto:satish4asterisk@gmail.com" target="_blank">satish4asterisk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Create a callfile with local channel and once first call leg is answered, use wait() and senddtmf() application on second call leg.<br>
<br> <br>CALLFILE sample:<br><br>Channel: LOCAL/1234\@test_ivr<br>Context: senddtmf <br>
Extension: s<br>Priority: 1 <br><br><br>Extensions.conf sample:<br><br>;-- FIRST LEG CALL --;<br>[test_ivr]<div><br>exten => 1234,1,Answer()<br> same => n,Read(value,pleasePress1forSupportPress2forHelp,1,,10)<br>
same => n,NoOp(${value})<br> same => n,ExecIf($[${value}=1]?Goto(suppot,1))<br> same => n,ExecIf($[${value}=2]?Goto(help,1))<br> same => n,Hangup()<br><br>exten=> support,1,Answer()<br>
same => n,NoOp(you are at support section)<br> same => n,Hangup()<br><br>exten=> help,1,Answer()<br> same => n,NoOp(you are at help section)<br> same => n,Hangup()<br>
<br></div>;--SECOND LEG CALL --;<br>[senddtmf]<br>exten => s,1,Noop(############# TEST:IVR ##############################)<br><br>; We should wait atleast 'n' of seconds. Where n is length of IVR file in seconds.<br>
same => n,Wait(10)<br>same => n,SendDTMF(1) <br><br><br><br><br>--SATISH BAROT<br><br><div class="gmail_quote"><div><div>On Wed, Dec 28, 2011 at 1:55 PM, virendra bhati <span dir="ltr"><<a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi list,<br><br clear="all">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,<br>
<br>I read there is an application sendDTMF but I don't know how we can used it?<br><br>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..<br>
<br><br><b>extensions.conf:-</b><br><br>exten => 1234,1,Answer()<br> same => n,Read(value,pleasePress1forSupportPress2forHelp,1,,10)<br> same => n,NoOp(${value})<br> same => n,ExecIf($[${value}=1]?Goto(suppot,1))<br>
same => n,ExecIf($[${value}=2]?Goto(help,1))<br> same => n,Hangup()<br><br>exten=> support,1,Answer()<br> same => n,NoOp(you are at support section)<br> same => n,Hangup()<br>
<br>exten=> help,1,Answer()<br>
same => n,NoOp(you are at help section)<br>
same => n,Hangup()<span><font color="#888888"><br><br><br>-- <br><div dir="ltr"><br>Thanks and regards<br><br> Virendra Bhati<br><a href="tel:%2B91-8885268942" value="+918885268942" target="_blank">+91-8885268942</a><br>
Software Engineer<br></div><br>
</font></span></div>
<br></div></div>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br>Thanks and regards<br>
<br> Virendra Bhati<br>+91-8885268942<br>Software Engineer<br></div><br>
</div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>