[asterisk-bugs] [JIRA] (ASTERISK-27218) With pjsip, Asterisk tries to send RTP packets from IPv6 address to IPv4 endpoints

Paul Guyot (JIRA) noreply at issues.asterisk.org
Fri Aug 25 03:36:08 CDT 2017


Paul Guyot created ASTERISK-27218:
-------------------------------------

             Summary: With pjsip, Asterisk tries to send RTP packets from IPv6 address to IPv4 endpoints
                 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