prefixkit Ask an engineerAsk Support RU

Error reference · FreeSWITCH

FreeSWITCH: Hangup sofia/internal/101@pbx.example [CS_EXCHANGE_MEDIA] [MEDIA_TIMEOUT]

Hangup sofia/internal/101@pbx.example [CS_EXCHANGE_MEDIA] [MEDIA_TIMEOUT]

What it means

FreeSWITCH stopped receiving RTP from the other side for longer than rtp-timeout-sec and hung up.

Why it happens

  • NAT: audio from the other side never reaches you (one-way audio that ends in a drop).
  • The other side put the call on hold without sendonly/inactive in SDP.
  • Network outage on the way.

How to fix it

  1. Check ext-rtp-ip / ext-sip-ip on the profile and the RTP port range on the firewall.
  2. Raise rtp-hold-timeout-sec for hold, or rtp-timeout-sec if the network is flaky.
  3. Look at loss in the RTP stats analyzer.

Useful tools

RTP stats analyzer · NAT type test

Other FreeSWITCH errors

Idea?