[asterisk-bugs] [JIRA] (ASTERISK-29512) ARI. add channels to a bridge with video source

Aydar Kamalov (JIRA) noreply at issues.asterisk.org
Thu Jul 8 08:49:33 CDT 2021


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

Aydar Kamalov commented on ASTERISK-29512:
------------------------------------------

1. get the latest asterisk (Asterisk 18.5.0 in my case)
2. setup ARI
3. create a simple ARI application, that just answers calls and connect application to asterisk
4. setup 3 pjsip users (1111,2222,3333 in my case) with context that going to stasis application
5. 1111 call with a video camera
6. 2222 and 3333 call without a camera
7. go to swagger http://ari.asterisk.org and create a bridge
8. move 1111's channel to the created bridge
9. move 2222's channel to the created bridge - after this you can see in sip trace - asterisk send reinvite to 2222 with video sdp
10.move 3333's channel to the created bridge - after this you can see in sip trace - asterisk DON'T send reinvite to 3333 with video sdp
11.there are 3 channels in the bridge now
12.if you second time add 2222's channel to the bridge AGAIN - after this you can see in sip trace - asterisk send reinvite to 3333 with video sdp


> ARI. add channels to a bridge with video source
> -----------------------------------------------
>
>                 Key: ASTERISK-29512
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29512
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_stasis
>    Affects Versions: 18.5.0
>            Reporter: Aydar Kamalov
>            Assignee: Unassigned
>         Attachments: add_to_bridge.pcap, add_to_bridge_second_time.pcap, messages
>
>
> I believe it is a bug, what do you think? 
> I have an asterisk ARI and one sip client with a camera and two without a camera. Camera client calling (with video params in SDP) to asterisk and call goes to a stasis application. Stasis adds a channel to the existing bridge.
> After this stasis application originates a call (INVITE without video params in sdp) to the first client without a camera and adds created channels to the same bridge. Because of there is a video source in the bridge - asterisk makes a reinvite with video params in SDP to the first client. So the first client is able to see video from the camera client.
> Next stasis application originates a call (INVITE without video params in sdp) to the second client without a camera and adds created channels to the same bridge. But there is no reinvite from asterisk to the second client. So, the second client is not able to see video from the camera client.
> There is the bridge with three channels now. And only one client can see video from the camera client.
> The question is why asterisk sends reinvite only to the first client?
> PS. When I am adding in ari swagger the first client (who already can see video) to the same bridge again - asterisk immediately send reinvite with video sdp to the second client, and both clients now can see video from camera client.



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



More information about the asterisk-bugs mailing list