[asterisk-bugs] [JIRA] (ASTERISK-29907) app_confbridge: Video call through ConfBridge with normal endpoints causes infinite loop/crash

N A (JIRA) noreply at issues.asterisk.org
Wed Feb 9 12:42:06 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258035#comment-258035 ] 

N A commented on ASTERISK-29907:
--------------------------------

Hmm, is there a temporary fix that could be achieved by commenting out the AST_CONTROL_VIDUPDATE branch, or is that necessary to cause something to happen for video to work?

Video only seems to work if endpoint A has sent an INVITE with H264 and endpoint B has received an INVITE with H264, so I think they'll be sending/receiving video regardless of this branch here.

Video itself on the call seems to work fine for a few seconds, at least until Asterisk becomes so backlogged with the infinite barrage of updates and queue length that all calls just stop.

> app_confbridge: Video call through ConfBridge with normal endpoints causes infinite loop/crash
> ----------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29907
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29907
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 18.9.0
>         Environment: Debian 10
>            Reporter: N A
>            Assignee: Unassigned
>
> Something seems to be very wrong with the bridging logic for handing video calls.
> When making a direct call between two endpoints, including going through local channels, all seems well.
> However, when a call is made and originated into a ConfBridge with video, Asterisk enters an infinite loop processing video updates (or something) and crashes within 5-10 seconds. Sometimes if it takes longer to crash, you'll start seeing "Extremely long queue length queueing to..." messages before it actually crashes.
> Softphone used for testing is MicroSIP on both ends.
> Call is made between two PJSIP endpoints on the same system.
> Issue replicates 100% of the time, even with just two endpoints involved on an otherwise idle system. Infinite loop of media updates, followed by a crash.
> No issues when not using ConfBridge. No issues when failing to specify the h264 codec in Originate, which causes video call to fail and use audio only. No issues when using audio only, no video.
> It almost *seems* like somehow the conf bridge is not handling something right and is causing something to bounce around and go back and forth forever.
> Culprit seems to be hundreds/thousands of these bouncing around: Content-Type: application/media_control+xml
> Debug attached, providing an example of the infinite loop: https://paste.interlinked.us/xsr1mtgc6r.txt
> Additionally, here is a SIP debug from the perspective of the called line during all of this (different call but same thing): https://paste.interlinked.us/hky3ws7o3w.txt



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list