[asterisk-bugs] [JIRA] (ASTERISK-27218) res_pjsip_sdp_rtp: Can't send packets to IPv4 address on IPv6 socket on some OSes

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Aug 29 17:23:08 CDT 2017


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

Rusty Newton updated ASTERISK-27218:
------------------------------------

    Status: Open  (was: Triage)

> res_pjsip_sdp_rtp: Can't send packets to IPv4 address on IPv6 socket on some OSes
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27218
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27218
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_sdp_rtp
>    Affects Versions: 13.17.0
>         Environment: FreeBSD and any OS where an IPv6 socket cannot reach IPv4 hosts by default.
>            Reporter: Paul Guyot
>
> This issue is similar to ASTERISK-16545 but with pjsip.
> When creating an RTP socket, create_rtp function in res_pjsip_sdp_rtp.c uses to determine the IPv4/IPv6 family, by default, address_rtp, which is an IPv6 socket if IPv6 is enabled on the host.
> Yet, the endpoint might be an IPv4 host and therefore not reachable with IPv6.
> Additionally, Asterisk does not log that send_to failed.



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



More information about the asterisk-bugs mailing list