[asterisk-users] AGI HANGUP PROBLEM

Mehdi Rahimi mrm.cisco at gmail.com
Tue Sep 18 03:41:12 CDT 2012


ِDear Sammy,

Thank you for your following ,
1- Land line i mean telco company which is calling to my server , i
use FXO VOIP CARD (ATCOM 4 port) and test on a gateway too.
2-please explain me more about "Enable SIP traces and keep an eye on
the originating BYE request"

Regards,
Mehdi

On Tue, Sep 18, 2012 at 12:01 PM, SamyGo <govoiper at gmail.com> wrote:
> Hi,
>
> Just following this thread for few days, I've some basic troubleshooting
> questions for you.
> 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.
> 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 !
>
> I suspect its a Hardware card that is not dropping the channel and
> maintaining the call with server.
>
> Regards,
> Sammy
>
>
> On Tue, Sep 18, 2012 at 12:49 PM, Hoggins! <fuckspam at wheres5.com> wrote:
>>
>> Hello,
>>
>> I experience the same problem, and I would really appreciate if someone
>> could give us a hint on that.
>>
>>     Hoggins!
>>
>> Le 17/09/2012 19:22, Mehdi Rahimi a écrit :
>> > Hi all,
>> >
>> > I need to handle a problem from AGI please guide me
>> >
>> >  in extensions_custom.conf :
>> >
>> >  exten => s,1,Answer
>> >  exten => s,n,AGI(hang.php)
>> >  exten => s,n,Hangup
>> >
>> >  in hang.php :
>> >
>> >  #!/usr/bin/php -q
>> >  <?
>> >  set_time_limit(30);
>> >  require('phpagi.php');
>> >  error_reporting(E_ALL);
>> >  $agi = new AGI();
>> >  $agi->answer();
>> >  $agi->say_number('10000');
>> >  $agi->hangup();
>> >  ?>
>> >
>> >
>> >  calling from an extension has no problem but whenever i use landline
>> >  or mobile it can not hangup the call and the caller has to hangup the
>> >  call.
>> >  if the caller does not hangup the call it becomes kind of SPY (the
>> >  caller can listen DTMF if someone call from an extension)
>> >
>> >  I am using elastix 2.3.0 which has asterisk 1.8.10.0 .
>> >
>> >  I really appreciate your sharing.
>> >
>> >  Regards,
>> >  Mehdi
>> >
>> > --
>> > _____________________________________________________________________
>> > -- 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
>
>
>
> --
> _____________________________________________________________________
> -- 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



More information about the asterisk-users mailing list