[asterisk-users] HELP! AGI AUTOHANGUP does not seem to hangup the channel.

Joshua C. Colp jcolp at sangoma.com
Wed May 26 11:59:59 CDT 2021


On Wed, May 26, 2021 at 1:58 PM Jonathan H <lardconcepts at gmail.com> wrote:

> I have also tried configuring pjsip wizard like this.
>
> endpoint/rtp_timeout=5
>
> And I see this shortly after the "hangup" command has been sent, so
> that part is working:
>
> [May 26 17:36:37] NOTICE[1276]: res_pjsip_sdp_rtp.c:150
> rtp_check_timeout: Disconnecting channel
> 'PJSIP/fromvoipfone-206-0000000b' for lack of audio RTP activity in 5
> seconds
>
> But, again, it doesn't disconnect. The line stays open. And yes, my
> fallthrough after agi is
>
> same => n, Hangup()
>
> Also, apparently I now have a load of channels, which won't even hangup
> with
>
> channel request hangup all
>
> Requested Hangup on channel 'PJSIP/fromvoipfone-206-0000000b'
> Requested Hangup on channel 'PJSIP/fromvoipfone-206-0000000a'
> Requested Hangup on channel 'PJSIP/fromvoipfone-206-00000009'
>
> ...and wait.. and then...
>
> Channel              Location             State   Application(Data)
> PJSIP/fromvoipfone-2 s at test:2             Up
> AGI(agi://localhost:3456)
> PJSIP/fromvoipfone-2 s at test:2             Up
> AGI(agi://localhost:3456)
> PJSIP/fromvoipfone-2 s at test:2             Up
> AGI(agi://localhost:3456)
> 3 active channels
> 3 active calls
>
> So they just won't die.
>
> Asterisk 18.4.0 - worth filing a bug?
>

Is your AGI closing the connection or are you expecting Asterisk to drop
it? (I'm not that familiar with FastAGI or AGI these days, just wondering
what happens if you drop the connection)

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210526/b5a9a406/attachment.html>


More information about the asterisk-users mailing list