[asterisk-bugs] [JIRA] (ASTERISK-28528) Local channel video stream broken with ConfBridge and first_marked=yes

Yuuki Hogo (JIRA) noreply at issues.asterisk.org
Wed Sep 11 02:02:47 CDT 2019


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

Yuuki Hogo commented on ASTERISK-28528:
---------------------------------------

Example in the bug report is for ease to describe. If you replace Record() with Dial(SIP/...) you will notice same issue although there is a video stream in an outbound SIP channel and a video description in outbound SIP INVITE SDP is there and it is correct.

> Local channel video stream broken with ConfBridge and first_marked=yes
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-28528
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28528
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_local
>    Affects Versions: 16.2.1
>         Environment: Debian10 at amd64
>            Reporter: Yuuki Hogo
>            Assignee: Unassigned
>              Labels: pjsip
>
> It was working on 13.14.1, do not on 16.2.1
> Tried using chan_pjsip and chan_sip. Video support enabled in sip.conf.
> confbridge.conf:
> {noformat}
> [user_marked]
> type=user
> marked=yes
> startmuted=no
> quiet=yes
> [default_user]
> type=user
> marked=no
> quiet=yes
> wait_marked=yes
> end_marked=yes
> [default_bridge]
> type=bridge
> video_mode=first_marked
> {noformat}
> extensions.conf:
> {noformat}
> [recorder]
> exten => _X.,1,Record(/tmp/ast.wav,,10,qkxu)
> [local]
> exten => _0X.,1,Originate(Local/${CALLERID(num)}-${EXTEN}@recorder/n,app,ConfBridge,${CALLERID(num)},,180,a)
> same => n,ConfBridge(${CALLERID(num)},,user_marked)
> {noformat}
> asterisk -r:
> {noformat}
> > core show channel SIP/12323924-00000002 
>  -- General --
>            Name: SIP/12323924-00000002
>            Type: SIP
>        UniqueID: 1567783023.16
>        LinkedID: 1567783023.16
>       Caller ID: 12323924
>  Caller ID Name: P-1-1-1
> Connected Line ID: (N/A)
> Connected Line ID Name: (N/A)
> Eff. Connected Line ID: (N/A)
> Eff. Connected Line ID Name: (N/A)
>     DNID Digits: 049035
>        Language: ru
>           State: Up (6)
>   NativeFormats: (h264|ulaw)
>     WriteFormat: slin
>      ReadFormat: slin
>  WriteTranscode: Yes (slin at 8000)->(ulaw at 8000)
>   ReadTranscode: Yes (ulaw at 8000)->(slin at 8000)
>  Time to Hangup: 1567783203
>    Elapsed Time: 0h0m2s
>       Bridge ID: 5eb24dbf-5f03-43de-a010-5b2559820df5
>  --   PBX   --
>         Context: local
>       Extension: 049035
>        Priority: 7
>      Call Group: 0
>    Pickup Group: 0
>     Application: ConfBridge
>            Data: "12323924",,user_marked
>  Call Identifer: [C-00000003]
>       Variables:
> BRIDGEPEER=CBAnn/12323924-00000005;2,Local/12323924-049035 at recorder-00000004;1
> ORIGINATE_STATUS=SUCCESS
> CONFBRIDGE_ID=12323924
> SIPCALLID=23776843
> SIPDOMAIN=asterisk
> SIPURI=sip:12323924 at 172.19.89.68:5060
>   CDR Variables:
> level 1: dnid=049035
> level 1: clid="P-1-1-1" <12323924>
> level 1: src=12323924
> level 1: dst=049035
> level 1: dcontext=local
> level 1: channel=SIP/12323924-00000002
> level 1: dstchannel=Local/12323924-049035 at recorder-00000004;1
> level 1: lastapp=ConfBridge
> level 1: lastdata="12323924",,user_marked
> level 1: start=1567783023.242143
> level 1: answer=1567783023.242750
> level 1: end=0.000000
> level 1: duration=2
> level 1: billsec=2
> level 1: disposition=1
> level 1: amaflags=3
> level 1: uniqueid=1567783023.16
> level 1: linkedid=1567783023.16
> level 1: sequence=6
>  -- Streams --
> Name: audio
>     Type: audio
>     State: sendrecv
>     Group: -1
>     Formats: (ulaw)
>     Metadata:
> Name: video
>     Type: video
>     State: sendrecv
>     Group: -1
>     Formats: (h264)
>     Metadata:
> {noformat}
> {noformat}
> *CLI> core show channel Local/12323924-049035 at recorder-00000004;1
>  -- General --
>            Name: Local/12323924-049035 at recorder-00000004;1
>            Type: Local
>        UniqueID: 1567783023.17
>        LinkedID: 1567783023.17
>       Caller ID: (N/A)
>  Caller ID Name: (N/A)
> Connected Line ID: (N/A)
> Connected Line ID Name: (N/A)
> Eff. Connected Line ID: (N/A)
> Eff. Connected Line ID Name: (N/A)
>     DNID Digits: (N/A)
>        Language: en
>           State: Up (6)
>   NativeFormats: (slin192)
>     WriteFormat: slin
>      ReadFormat: slin
>  WriteTranscode: Yes (slin at 8000)->(slin at 192000)
>   ReadTranscode: Yes (slin at 192000)->(slin at 8000)
>  Time to Hangup: 0
>    Elapsed Time: 0h0m7s
>       Bridge ID: 5eb24dbf-5f03-43de-a010-5b2559820df5
>  --   PBX   --
>         Context: recorder
>       Extension: 12323924-049035
>        Priority: 1
>      Call Group: 0
>    Pickup Group: 0
>     Application: ConfBridge
>            Data: 12323924
>  Call Identifer: [C-00000003]
>       Variables:
> BRIDGEPEER=CBAnn/12323924-00000005;2,SIP/12323924-00000002
>   CDR Variables:
> level 1: clid="" <>
> level 1: dst=12323924-049035
> level 1: dcontext=recorder
> level 1: channel=Local/12323924-049035 at recorder-00000004;1
> level 1: lastapp=ConfBridge
> level 1: lastdata=12323924
> level 1: start=1567783023.276959
> level 1: answer=1567783023.277470
> level 1: end=1567783023.278203
> level 1: duration=0
> level 1: billsec=0
> level 1: disposition=8
> level 1: amaflags=3
> level 1: uniqueid=1567783023.17
> level 1: linkedid=1567783023.17
> level 1: sequence=7
>  -- Streams --
> Name: audio
>     Type: audio
>     State: sendrecv
>     Group: -1
>     Formats: (slin192)
>     Metadata:
> {noformat}
> {noformat}
> *CLI> core show channel Local/12323924-049035 at recorder-00000004;2
>  -- General --
>            Name: Local/12323924-049035 at recorder-00000004;2
>            Type: Local
>        UniqueID: 1567783023.18
>        LinkedID: 1567783023.17
>       Caller ID: 12323924
>  Caller ID Name: (N/A)
> Connected Line ID: (N/A)
> Connected Line ID Name: (N/A)
> Eff. Connected Line ID: (N/A)
> Eff. Connected Line ID Name: (N/A)
>     DNID Digits: (N/A)
>        Language: en
>           State: Up (6)
>   NativeFormats: (slin192)
>     WriteFormat: slin192
>      ReadFormat: slin192
>  WriteTranscode: No 
>   ReadTranscode: No 
>  Time to Hangup: 0
>    Elapsed Time: 0h0m8s
>       Bridge ID: (Not bridged)
>  --   PBX   --
>         Context: recorder
>       Extension: 12323924-049035
>        Priority: 7
>      Call Group: 0
>    Pickup Group: 0
>     Application: Record
>            Data: /tmp/ast.wav,,10,qkxu
>  Call Identifer: [C-00000003]
>       Variables:
> RECORDED_FILE=/tmp/ast
> SYSTEMSTATUS=SUCCESS
> dest=049035
> cid=12323924
>   CDR Variables:
> level 1: clid="" <12323924>
> level 1: src=12323924
> level 1: dst=12323924-049035
> level 1: dcontext=recorder
> level 1: channel=Local/12323924-049035 at recorder-00000004;2
> level 1: lastapp=Record
> level 1: lastdata=/tmp/ast.wav,,10,qkxu
> level 1: start=1567783023.277021
> level 1: answer=1567783023.277449
> level 1: end=0.000000
> level 1: duration=8
> level 1: billsec=8
> level 1: disposition=1
> level 1: amaflags=3
> level 1: uniqueid=1567783023.18
> level 1: linkedid=1567783023.17
> level 1: sequence=8
>  -- Streams --
> Name: audio
>     Type: audio
>     State: sendrecv
>     Group: -1
>     Formats: (slin192)
>     Metadata:
> *CLI> 
> {noformat}



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



More information about the asterisk-bugs mailing list