[asterisk-bugs] [JIRA] (ASTERISK-26457) [patch] force_rport, auto_comedia: No NAT detection triggered.

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:14:11 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26457:
-------------------------------------

    Target Release Version/s: 15.0.0

> [patch] force_rport,auto_comedia: No NAT detection triggered.
> -------------------------------------------------------------
>
>                 Key: ASTERISK-26457
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26457
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.23.1, 13.11.2, 14.0.2
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>      Target Release: 11.25.0, 13.13.0, 14.2.0, 15.0.0
>
>         Attachments: just_auto_comedia.patch
>
>
> *Steps to Reproduce*
> # Asterisk with {{nat=force_rport,auto_comedia}}
> # first VoIP/SIP client (caller) uses public IP addresses in its SDP
>   for example not within a NAT, like IPv6
> # second VoIP/SIP client (callee) uses private IP addresses in its SDP
>   for example within a NAT, for example IPv4 without STUN
> # call is established = signaling via SIP is OK
> *Expected Results*
> Media (RTP) should flow, because comedia is enabled as Asterisk detected a NAT towards the callee. Asterisk is sending RTP to public IP addresses.
> *Actual Results*
> Media is one way (from callee to caller). Asterisk sends the media of the caller to the address mentioned in the SDP message of the callee. That was a private IP address. Therefore media does not reach the callee. Therefore one-way media.
> *Workaround*
> {{nat=auto_force_rport,auto_comedia}} fixed the issue for me, because the related code tests for a NAT in that case.
> Asterisk should test for NAT, whether {{auto_force_rport}} or {{auto_comedia}} is set. This is done in other calling scenarios within Asterisk already. The attached patch does this for this scenario here as well.



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



More information about the asterisk-bugs mailing list