signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.49k stars 1.4k forks source link

FreeSWITCH had not send any RTP packet to callee in IPv6 calls. #1157

Open twfx1207 opened 3 years ago

twfx1207 commented 3 years ago

Describe the bug The calls under IPv6-only network works not properly. Callee couldn't hear any voice while caller works normally. Tcpdump showed freeswitch hadn't send any RTP packages to callee (see below). image

[2001::14] is FreeSWITCH, [240d::a80] is caller, and [240d::e24f] is callee. Same test produced in IPv4, which worked properly.

To Reproduce Steps to reproduce the behavior:

  1. Using the default configure and internal-ipv6 profile.
  2. Dial [1003] from 1004 under ipv6-only network.
  3. The call established with lack of RTP Stream and no voice on callee.

Expected behavior Callee should hear caller's voice normally, and RTP Stream should be 4.

Package version or git hash

FreeSWITCH Version 1.10.6-release+git~20210325T131609Z~1ff9d0a60e~64bit (git 1ff9d0a 2021-03-25 13:16:09Z 64bit)
FreeSWITCH Version 1.10.7-dev+git~20210411T220315Z~fd27504a7d~64bit (git fd27504 2021-04-11 22:03:15Z 64bit)

Both verified.

Trace logs Debug log with siptrace had pasted in pastebin, sensitive information removed: https://pastebin.com/5uQ0RDKk

dragos-oancea commented 3 years ago

is it possible that you removed some real error lines together with the sensitive information ? Do you see "Remote Address Error!" in the log ? (switch_rtp_set_remote_address())