별표 디버그 확장 품질이 좋지 않은 오디오 - 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이 동일한지 확인하세요!

관련 정보