Hi All,<br><br>   I have two asterisk(A1,A2) servers in Different sub-net, Here i am sending call to A1 to A2 with using of .call file and sending to some extension. on that extension i am using my Perl AGI for my custom Program here i am sending DTMF from A1 to A2,   A2 is not taking DTMF wicth i am sending from A2.<br>
<br>Please Help me on this<br>****************************************************************************************************************************<br>#!/usr/bin/perl<br>$call=&quot;5050&quot;;<br>$mobno1 = 5312;<br>
$mobno  = $mobno1.&quot;\@Hrad-rock&quot;;<br>print &quot;\n Mobno = $mobno\n&quot;;<br>print  &quot;\n Dialing $mobno\n&quot;;<br><br>    if($mobno&gt;0)<br>                        {<br>                                    open F, &quot;&gt;/tmp/bulk_call.$mobno&quot; or die &quot;Could not open \n&quot;;<br>
                                    print F &quot;Channel: SIP/$mobno\n&quot;;<br>                                    print F &quot;Context:jagan\n&quot;;<br>                                    print F &quot;Callerid:$mobno\n&quot;;<br>
                                    print F &quot;Extension:$mobno\n&quot;;<br>                                    print F &quot;Set:CALLERID=$mobno1\n&quot;;<br>                                    print F &quot;Set:MSISDN=$mobno1\n&quot;;<br>
                                    print F &quot;Set:WAV=$mess\n&quot;;<br>                                    print F &quot;priority:1\n&quot;;<br>                                    print F &quot;WaitTime:205\n&quot;;<br>
<br><br>                                    system( &quot;/bin/mv /tmp/bulk_call.$mobno /var/spool/asterisk/outgoing&quot; );<br><br>                                }<br>*********************************************************************************************************************************<br>
exten = _X.,1,Answer<br>exten = _X.,n,Set(CallerID=${CALLERID})<br>exten = _X.,n,AGI(jagan.agi)<br>exten = _X.,n,Hangup<br>**********************************************************************************************************************************<br>
#!/usr/bin/perl<br>use Asterisk::AGI;<br><br>$AGI = new Asterisk::AGI;<br><br>$AGI-&gt;exec(WAIT,5);<br><br>$AGI-&gt;exec(SENDDTMF,&#39;2&#39;);<br><br>*************************************************************************************************************************************<br>
<br><br><br><br>Thanks <br>Jagan       <br>