Iperf UDP 正在监听使用的端口

Iperf UDP 正在监听使用的端口

我收到警告 [9157] chan_sip.c: 星号上的传输错误导致重传超时,并尝试解决该问题。

现在 asterisk 正在监听 5060 端口:

udp 0 0 0.0.0.0:10766 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:10767 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:10000 0.0.0.0:* 2203/perl
udp 0 0 0.0.0.0:18970 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:18971 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:16562 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:16563 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:14400 0.0.0.0:* 48991/星号
udp 0 0 0.0.0.0:14401 0.0.0.0:* 48991/星号 udp
0 0 0.0.0.0:5060 0.0.0.0:* 48991/星号

现在如果我这样做:

[root@tekium ~]# iperf -s -u -i 1 -p 5060
------------------------------------------------------------
Server listening on UDP port 5060
Receiving 1470 byte datagrams
UDP buffer size:  122 KByte (default)
------------------------------------------------------------
[  3] local [ip removed] port 5060 connected with [ip removed] port 5060
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec  0.00 Bytes  0.00 bits/sec   0.000 ms    0/    0 (-nan%)
[  3]  1.0- 2.0 sec   740 Bytes  5.92 Kbits/sec   0.000 ms 1229870664/1229870665 (1e+02%)
[  3]  2.0- 3.0 sec   740 Bytes  5.92 Kbits/sec  62.560 ms    0/    0 (-nan%)
[  3]  2.0- 3.0 sec  1 datagrams received out-of-order
[  3]  3.0- 4.0 sec   740 Bytes  5.92 Kbits/sec  121.212 ms    0/    0 (-nan%)
[  3]  3.0- 4.0 sec  1 datagrams received out-of-order
[  4] local [ip removed] port 5060 connected with [ip removed] port 25910
[  5] local [ip removed] port 5060 connected with [ip removed] port 61443
[  3]  4.0- 5.0 sec   331 Bytes  2.65 Kbits/sec  15699968176.192 ms    0/    0 (-nan%)
[  3]  4.0- 5.0 sec  1 datagrams received out-of-order
[  3]  5.0- 6.0 sec  0.00 Bytes  0.00 bits/sec  15699968176.192 ms    0/    0 (-nan%)
[  3]  6.0- 7.0 sec  0.00 Bytes  0.00 bits/sec  15699968176.192 ms    0/    0 (-nan%)
[  5]  0.0- 1.0 sec  1.20 KBytes  9.81 Kbits/sec   0.000 ms 1229870664/1229870665 (1e+02%)
[  5]  1.0- 2.0 sec  0.00 Bytes  0.00 bits/sec   0.000 ms    0/    0 (-nan%)

那么如果 Aterisk 在端口 5060 上监听,iperf 如何接收这些消息?

这有道理吗?

更新:

 netstat -su 
IcmpMsg:
    InType3: 17
    InType8: 40
    OutType0: 40
    OutType3: 1016
Udp:
    477 packets received
    1072 packets to unknown port received.
    51242 packet receive errors
    728 packets sent

我使用 iperf udp 流量测试,丢失率为 0%,那么如何解决这个问题呢?

相关内容