日志描述
在接通后,如果收到rtp的地址与sdp协商的地址不一致,freeswitch会有一次调整的机会。
日志内容
2021-01-27 15:44:54.510486 [DEBUG] sofia.c:7325 Channel sofia/internal1/1004@180.96.7.100 entering state [received][100]
2021-01-27 15:44:54.510486 [DEBUG] sofia.c:7335 Remote SDP:
v=0
o=1004 175 1310 IN IP4 192.168.43.230
s=Talk
c=IN IP4 192.168.43.230
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7078 RTP/AVP 0 8 101
a=rtpmap:101 telephone-event/8000
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
m=video 9078 RTP/AVP 96 97
a=rtpmap:96 VP8/90000
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42801F
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 nack sli
a=rtcp-fb:96 ack rpsi
a=rtcp-fb:96 ccm fir
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
2021-01-27 15:44:54.570518 [NOTICE] mod_dptools.c:1406 Channel [sofia/internal1/1004@180.96.7.100] has been answered
2021-01-27 15:44:54.690486 [DEBUG] switch_core_io.c:474 Setting BUG Codec PCMU:0
2021-01-27 15:44:54.730487 [DEBUG] sofia.c:7325 Channel sofia/internal1/1004@180.96.7.100 entering state [ready][200]
2021-01-27 15:44:54.730487 [DEBUG] switch_rtp.c:1917 rtcp_stats_init: video ssrc[3007987787] base_seq[0]
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
2021-01-27 15:44:54.730487 [DEBUG] switch_rtp.c:2632 Setting RTCP remote addr to 122.96.45.111:28502 2
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
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”来禁止。