<div>o in that case you need to observer the call flow in Server-B, i.e what is the length of sound file playing. what DTMF it requires etc etc and once you detect the call flow for a successful IVR traversal then mimic the behaviour of the call from Server-A. </div>
<div>Thats all you can do.</div><div>Think of it exactly the same as Answering Machine Detection Algorithm, but in your case its like Server-B Detection Algorithm :)</div><div><br></div><div>--<br><div>Regards,</div><div>
Sammy<br><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 2:15 PM, virendra bhati <span dir="ltr">&lt;<a href="mailto:virbhati@gmail.com">virbhati@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">In server B if I use SendDTMF then it means I am changing programming at server B. Actually I don&#39;t have right or permission to change programming in server B.<br><br>otherwise your suggestion is best for channel base communication.<div>
<div class="h5"><br>
<br><br><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 2:33 PM, Sammy Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Easy, use Read() to capture the incoming DTMF from Server-B<div><br></div><div>Server-A &lt;============&gt; Server-B</div><div>Initiate-Call ---------------------&gt; AnswerCall()</div><div>SendDTMF(5)------------------&gt; Read()</div>


<div>Read()&lt;-----------------------------SendDTMF(4)</div><div><div>SendDTMF(3)------------------&gt; Read()</div><div>Read()&lt;-----------------------------SendDTMF(2)</div><div><div>SendDTMF(1)------------------&gt; Read()</div>


<div><br></div></div><div><br></div><div>Put proper GOTOIFs after reads if you like.</div><div><br></div><font color="#888888"><div>--</div><div>Regards,</div><div>Sammy</div></font><div><div></div><div><div><br>
</div><div class="gmail_quote">On Thu, Dec 29, 2011 at 12:34 PM, virendra bhati <span dir="ltr">&lt;<a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I originate calls from .call file and 1 channel I have at A server A and another channel at B server.<br>


<br><b>A server code is below:-</b><br clear="all"><br>exten =&gt; 43689956,1,Answer()<br>        same =&gt; n,Wait(5)<br>
        same =&gt; n,SendDTMF(1)<br>        same =&gt; n,NoOp(==   ${CHANNEL(state)}==&gt; state)<br>        same =&gt; n,wait(2)<br>        same =&gt; n,SendDTMF(123456789012345#)<br>        same =&gt; n,NoOp(==   ${CHANNEL(state)}==&gt; state)<br>



        same =&gt; n,Hangup()<br><br> _________                                                  _________<br>
|  A server  |  _______DTMF Send_____=&gt;     | B server   |<br>
|_________|  &lt;=------- Responce ---------           |_________|<br><br><b>B server code is below:-</b><br>At B server call come to 201 extension which is mention here..<br><br>exten =&gt; _20[1-6],1,Answer()<br>        same =&gt; n,Ringing()<br>



        same =&gt; n,wait(2)<br>        same =&gt; n,ExecIf($[$[${EXTEN}=201] || $[${EXTEN}=203]] ?<b>AGI(/home/applications/ivr/nono2ivr/ivr/index_mvl.php))</b><br>       
 same =&gt; n,ExecIf($[${EXTEN}=202 || $[${EXTEN}=204] || 
$[${EXTEN}=205] || 
$[${EXTEN}=206]]?AGI(/home/applications/ivr/nono2ivr/ivr/index.php))<br>        same =&gt; n,Hangup()<br><br>Now
 I can send the DTMF from A to B. But How I will get the responce at 
server A. I checked all the channels variable but they didn&#39;t reply 
status of B server channel. All information I will get of server A. Main
 problem is that control reach to AGI and then I don&#39;t have any rights 
to do any update or modification on AGI. So if I can work on request and
 responce then it will be the last solution as per my knowledge. <br>
<br>
Is this possible with the dialplan or I am just westing time?<div><div><br>
<br><br>On Wed, Dec 28, 2011 at 10:29 PM, Paul Belanger <span dir="ltr">&lt;<a href="mailto:pabelanger@digium.com" target="_blank">pabelanger@digium.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>On 11-12-28 03:25 AM, virendra bhati wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Hi list,<br>
<br>
Is there any way in asterisk by which I make a call from server and then<br>
dialplan(IVR system) gets DTMF from it. I mean to say that automatically<br>
DTMF is sended by channels as per user defined,<br>
<br>
I read there is an application sendDTMF but I don&#39;t know how we can used it?<br>
<br>
like A script make the call by using localdail, .call file or any method.<br>
And after landing the call we send dtmf to IVR system automatically as per<br>
my script..<br>
<br>
<br></div>
*extensions.conf:-*<div><br>
<br>
exten =&gt;  1234,1,Answer()<br>
              same =&gt;  n,Read(value,<u></u>pleasePress1forSupportPress2fo<u></u>rHelp,1,,10)<br>
              same =&gt;  n,NoOp(${value})<br>
              same =&gt;  n,ExecIf($[${value}=1]?Goto(<u></u>suppot,1))<br>
              same =&gt;  n,ExecIf($[${value}=2]?Goto(<u></u>help,1))<br>
              same =&gt;  n,Hangup()<br>
<br>
exten=&gt;  support,1,Answer()<br>
              same =&gt;  n,NoOp(you are at support section)<br>
              same =&gt;  n,Hangup()<br>
<br>
exten=&gt;  help,1,Answer()<br>
              same =&gt;  n,NoOp(you are at help section)<br>
              same =&gt;  n,Hangup()<br>
<br>
</div></blockquote>
We have DTMF based tests for the testsuite[1] that you could use.<br>
<br>
[1] <a href="http://svn.asterisk.org/svn/testsuite/asterisk/trunk/" target="_blank">http://svn.asterisk.org/svn/<u></u>testsuite/asterisk/trunk/</a><br><font color="#888888">
-- <br>
Paul Belanger<br>
Digium, Inc. | Software Developer<br>
twitter: pabelanger | IRC: pabelanger (Freenode)<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> &amp; <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></font><div><div></div><div><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<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/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div>-- <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>
</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></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><br clear="all"><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>
</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></div></div>