[asterisk-bugs] [JIRA] (ASTERISK-27433) Cant disable Native Bridge

Oguzhan Kayhan (JIRA) noreply at issues.asterisk.org
Tue Nov 21 03:12:07 CST 2017


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

Oguzhan Kayhan commented on ASTERISK-27433:
-------------------------------------------

I think I found what was the cause..
We had a problem on using pjsua clients to call eachother with slin codec during 11.5.0

And as a workaround we were using a modification on rtp_engine.c file.
Chaning the payloads of slin
add_static_payload(10, ast_format_slin, 0); /* 2 channels */
        add_static_payload(11, ast_format_slin, 0); /* 1 channel */

as 
add_static_payload(121, ast_format_slin, 0); /* 2 channels */
add_static_payload(120, ast_format_slin, 0); /* 1 channel */

and it was working fine with 11.5.0  but during v13 upgrade this change caused instability (dont know why)


> Cant disable Native Bridge
> --------------------------
>
>                 Key: ASTERISK-27433
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27433
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.18.2
>         Environment: Ubuntu 14.04
>            Reporter: Oguzhan Kayhan
>            Assignee: Oguzhan Kayhan
>
> Hello
> I am trying to record the conversations via AMI interface.
> On my previous version (11.5.0) when i set the monitor command it was recording fine.
> My sip.conf has the following config
> {code}
> [panel_number](!)
> context=CommPanels
> type=friend
> host=dynamic
> secret=xxxx
> directmedia=no
> canreinvite=no
> callgroup=1
> pickupgroup=1
> ;disallow=all
> allow=all
> dtmfmode=auto
> nat=force_rport,comedia
> {code}
> and i have 2 users with this config.
> But when i dial eachother..
> I have the following
> {code}
>     -- Called SIP/4511
>     -- SIP/4511-00000001 is ringing
>        > 0x7f1e2c00e5c0 -- Strict RTP learning after remote address set to: 78.189.8.164:8000
>     -- SIP/4511-00000001 answered SIP/4510-00000000
>     -- Channel SIP/4511-00000001 joined 'simple_bridge' basic-bridge <ddd40dcc-439d-40b1-8637-ad0686e7b166>
>     -- Channel SIP/4510-00000000 joined 'simple_bridge' basic-bridge <ddd40dcc-439d-40b1-8637-ad0686e7b166>
>        > Bridge ddd40dcc-439d-40b1-8637-ad0686e7b166: switching from simple_bridge technology to native_rtp
>        > Locally RTP bridged 'SIP/4510-00000000' and 'SIP/4511-00000001' in stack
> {code}
> And after this, if i send ami monitor command it says success but records an 44 bytes of wav file instead of conversation.
> ps: tried with directmedia=yes same result



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



More information about the asterisk-bugs mailing list