日志描述

在接通后,如果收到rtp的地址与sdp协商的地址不一致,freeswitch会有一次调整的机会。

日志内容

  1. 2021-01-27 15:44:54.510486 [DEBUG] sofia.c:7325 Channel sofia/internal1/1004@180.96.7.100 entering state [received][100]
  2. 2021-01-27 15:44:54.510486 [DEBUG] sofia.c:7335 Remote SDP:
  3. v=0
  4. o=1004 175 1310 IN IP4 192.168.43.230
  5. s=Talk
  6. c=IN IP4 192.168.43.230
  7. t=0 0
  8. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
  9. m=audio 7078 RTP/AVP 0 8 101
  10. a=rtpmap:101 telephone-event/8000
  11. a=rtcp-fb:* trr-int 1000
  12. a=rtcp-fb:* ccm tmmbr
  13. m=video 9078 RTP/AVP 96 97
  14. a=rtpmap:96 VP8/90000
  15. a=rtpmap:97 H264/90000
  16. a=fmtp:97 profile-level-id=42801F
  17. a=rtcp-fb:* trr-int 1000
  18. a=rtcp-fb:* ccm tmmbr
  19. a=rtcp-fb:96 nack pli
  20. a=rtcp-fb:96 nack sli
  21. a=rtcp-fb:96 ack rpsi
  22. a=rtcp-fb:96 ccm fir
  23. a=rtcp-fb:97 nack pli
  24. a=rtcp-fb:97 ccm fir
  25. 2021-01-27 15:44:54.570518 [NOTICE] mod_dptools.c:1406 Channel [sofia/internal1/1004@180.96.7.100] has been answered
  26. 2021-01-27 15:44:54.690486 [DEBUG] switch_core_io.c:474 Setting BUG Codec PCMU:0
  27. 2021-01-27 15:44:54.730487 [DEBUG] sofia.c:7325 Channel sofia/internal1/1004@180.96.7.100 entering state [ready][200]
  28. 2021-01-27 15:44:54.730487 [DEBUG] switch_rtp.c:1917 rtcp_stats_init: video ssrc[3007987787] base_seq[0]
  29. 2021-01-27 15:44:54.730487 [INFO] switch_rtp.c:7099 Auto Changing video RTCP port from 192.168.43.230:9079 to 122.96.45.111:28502
  30. 2021-01-27 15:44:54.730487 [DEBUG] switch_rtp.c:2632 Setting RTCP remote addr to 122.96.45.111:28502 2
  31. 2021-01-27 15:44:54.990463 [INFO] switch_rtp.c:7682 Auto Changing audio port from 192.168.43.230:7078 to 122.96.45.111:6676
  32. 2021-01-27 15:44:55.270490 [INFO] switch_rtp.c:7682 Auto Changing video port from 192.168.43.230:9078 to 122.96.45.111:28501

初始对端给的sdp地址是 192.168.43.230,后面自动被调整为122.96.45.111

如果要关闭的话,通过下面的参数来关闭:

或者仅针对个别的呼叫来禁用自动调整,在呼叫时设置通道变量”rtp_auto_adjust=false”来禁止。