アスタリスクデバッグ拡張品質が悪いオーディオ - rtpが壊れている

アスタリスクデバッグ拡張品質が悪いオーディオ - rtpが壊れている

FreePBX 16.0.10.34 または直接 Asterisk 11/16/18.6.0 は同じです。一部のSIP電話を使用するすべてのユーザーは、音声の音量が一方向に変化し続け、他のeccメタルサウンドが発生する奇妙なオーディオの問題を経験します。

Audio Codec: G711 or G729
Dial echo test > record pcap 
Wireshark > Voip > show call graph and get out of sequence notation


                                             ...........Receive......... .........Transmit..........
 BridgeId ChannelId ........ UpTime.. Codec.   Count    Lost Pct  Jitter   Count    Lost Pct  Jitter RTT....
 ===========================================================================================================

          105-0000013e       00:00:25 g729     1258     589K 46884   0.000   1242       0    0   0.003   0.006

携帯電話メーカーはパケットを記録して消えるだけです。これらの問題をどのようにデバッグできますか?

ptime 20を使用してコーデックG711を強制し、エコーテストコンテキストJITTERBUFFERに追加します。

[app-echo-test]
include => app-echo-test-custom
exten => *43,1,Set(CONNECTEDLINE(name-charset,i)=utf8)
exten => *43,n,Set(CONNECTEDLINE(name,i)=Test Eco)
exten => *43,n,Set(CONNECTEDLINE(num,i)=*43)
exten => *43,n,Answer
exten => *43,n,Set(JITTERBUFFER(adaptive)=default)
exten => *43,n,Macro(user-callerid,)
exten => *43,n,Wait(1)
exten => *43,n,Background(demo-echotest,,,app-echo-test-echo)
exten => *43,n,Goto(app-echo-test-echo,1,1)

;--== end of [app-echo-test] ==--;

使ったようですが結果はありません。

sing SIP RTP Video TOS bits 136 in TCLASS field.   == Using SIP RTP Video CoS mark 4
    -- Executing [*43@from-internal:1] Set("PJSIP/101-00000143", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
    -- Executing [*43@from-internal:2] Set("PJSIP/101-00000143", "CONNECTEDLINE(name,i)=Test Eco") in new stack
    -- Executing [*43@from-internal:3] Set("PJSIP/101-00000143", "CONNECTEDLINE(num,i)=*43") in new stack
    -- Executing [*43@from-internal:4] Answer("PJSIP/101-00000143", "") in new stack
       > 0x7fc0940e4a80 -- Strict RTP learning after remote address set to: 10.7.208.157:50248
       > 0x7fc0941034e0 -- Strict RTP learning after remote address set to: 10.7.208.157:50246
       > 0x7fc0940e4a80 -- Strict RTP qualifying stream type: audio
       > 0x7fc0940e4a80 -- Strict RTP switching source address to 10.168.5.201:39519
    -- Executing [*43@from-internal:5] Set("PJSIP/101-00000143", "JITTERBUFFER(adaptive)=default") in new stack
    -- Executing [*43@from-internal:6] Macro("PJSIP/101-00000143", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/101-00000143", "TOUCH_MONITOR=1636707571.457") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/101-00000143", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:3] Set("PJSIP/101-00000143", "HOTDESCKCHAN=101-00000143") in new stack
    -- Executing [s@macro-user-callerid:4] Set("PJSIP/101-00000143", "HOTDESKEXTEN=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/101-00000143", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-user-callerid:6] ExecIf("PJSIP/101-00000143", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-user-callerid:7] ExecIf("PJSIP/101-00000143", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-user-callerid:8] GotoI    sing SIP RTP Video TOS bits 136 in TCLASS field.   == Using SIP RTP Video CoS mark 4
    -- Executing [*43@from-internal:1] Set("PJSIP/101-00000143", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
    -- Executing [*43@from-internal:2] Set("PJSIP/101-00000143", "CONNECTEDLINE(name,i)=Test Eco") in new stack
    -- Executing [*43@from-internal:3] Set("PJSIP/101-00000143", "CONNECTEDLINE(num,i)=*43") in new stack
    -- Executing [*43@from-internal:4] Answer("PJSIP/101-00000143", "") in new stack
       > 0x7fc0940e4a80 -- Strict RTP learning after remote address set to: 10.7.208.157:50248
       > 0x7fc0941034e0 -- Strict RTP learning after remote address set to: 10.7.208.157:50246
       > 0x7fc0940e4a80 -- Strict RTP qualifying stream type: audio
       > 0x7fc0940e4a80 -- Strict RTP switching source address to 10.168.5.201:39519
    -- Executing [*43@from-internal:5] Set("PJSIP/101-00000143", "JITTERBUFFER(adaptive)=default") in new stack
    -- Executing [*43@from-internal:6] Macro("PJSIP/101-00000143", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/101-00000143", "TOUCH_MONITOR=1636707571.457") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/101-00000143", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:3] Set("PJSIP/101-00000143", "HOTDESCKCHAN=101-00000143") in new stack
    -- Executing [s@macro-user-callerid:4] Set("PJSIP/101-00000143", "HOTDESKEXTEN=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/101-00000143", "HOTDESKCALL=0") in new stack

PBX Asterisk 16.13.0(同じ物理電話)が変更されましたが、動作は同じです。

                                             ...........Receive......... .........Transmit..........
 BridgeId ChannelId ........ UpTime.. Codec.   Count    Lost Pct  Jitter   Count    Lost Pct  Jitter RTT....
 ===========================================================================================================

          101-00000144       00:00:34 ulaw     1744     917K 52608   0.000   1727       0    0   0.003   0.006

ベストアンサー1

すべてのデバイスでptimeが同じであることを確認してください!

おすすめ記事