Hi,<div><br></div><div>Just following this thread for few days, I've some basic troubleshooting questions for you. </div><div>1- What do you mean by calling from landline? How is your Landline /mobile reaching your asterisk box ? is there a Hardware card ! or a VoIP provider.</div>
<div>2- Enable SIP traces and keep an eye on the originating BYE request when the agi->hangup() is called. See if that BYE reaches to the caller !</div><div><br></div><div>I suspect its a Hardware card that is not dropping the channel and maintaining the call with server.</div>
<div><br></div><div>Regards,</div><div>Sammy</div><div><br><br><div class="gmail_quote">On Tue, Sep 18, 2012 at 12:49 PM, Hoggins! <span dir="ltr"><<a href="mailto:fuckspam@wheres5.com" target="_blank">fuckspam@wheres5.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I experience the same problem, and I would really appreciate if someone<br>
could give us a hint on that.<br>
<br>
Hoggins!<br>
<br>
Le 17/09/2012 19:22, Mehdi Rahimi a écrit :<br>
<div class="HOEnZb"><div class="h5">> Hi all,<br>
><br>
> I need to handle a problem from AGI please guide me<br>
><br>
> in extensions_custom.conf :<br>
><br>
> exten => s,1,Answer<br>
> exten => s,n,AGI(hang.php)<br>
> exten => s,n,Hangup<br>
><br>
> in hang.php :<br>
><br>
> #!/usr/bin/php -q<br>
> <?<br>
> set_time_limit(30);<br>
> require('phpagi.php');<br>
> error_reporting(E_ALL);<br>
> $agi = new AGI();<br>
> $agi->answer();<br>
> $agi->say_number('10000');<br>
> $agi->hangup();<br>
> ?><br>
><br>
><br>
> calling from an extension has no problem but whenever i use landline<br>
> or mobile it can not hangup the call and the caller has to hangup the<br>
> call.<br>
> if the caller does not hangup the call it becomes kind of SPY (the<br>
> caller can listen DTMF if someone call from an extension)<br>
><br>
> I am using elastix 2.3.0 which has asterisk 1.8.10.0 .<br>
><br>
> I really appreciate your sharing.<br>
><br>
> Regards,<br>
> Mehdi<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>
<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>
</div></div></blockquote></div><br></div>