2015-12-14 28 views
0

我設置了用戶「100」和「200」,我試圖使用項目sipml5。錯誤「SIP/2.0 488在這裏不可接受」

服務器記錄這個在線Linphone上的兩個用戶,用戶「100」。

用戶在sipml5「200」的記錄,但撥打電話就說明這個錯誤:

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | acquiring local media` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | acquired local media streams` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:3879386089 1 udp 2122260223 172.16.1.209 60702 typ host generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:3879386089 2 udp 2122260222 172.16.1.209 45410 typ host generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:2847491865 1 tcp 1518280447 172.16.1.209 0 typ host tcptype active generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:2847491865 2 tcp 1518280446 172.16.1.209 0 typ host tcptype active generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:288014909 2 udp 1686052606 189.35.140.74 62060 typ srflx raddr 172.16.1.209 rport 45410 generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | ICE candidate received: candidate:288014909 1 udp 1686052607 189.35.140.74 56282 typ srflx raddr 172.16.1.209 rport 60702 generation 0` 

`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | sending WebSocket message:` 

`INVITE sip:[email protected] SIP/2.0<br> 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK7117302 
Max-Forwards: 70 
To: <sip:[email protected]> 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
Call-ID: 4pk6rpr5p1mhfts149uk 
CSeq: 7760 INVITE 
Contact: <sip:[email protected];transport=ws;ob> 
Allow: ACK,CANCEL,BYE,OPTIONS,INFO,NOTIFY,INVITE 
Content-Type: application/sdp 
Supported: outbound 
User-Agent: SIP.js/0.7.2 
Content-Length: 1777 
` 

`v=0 
o=- 6908994037829104915 2 IN IP4 127.0.0.1 
s=- 
t=0 0 
a=group:BUNDLE audio 
a=msid-semantic: WMS Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N 
m=audio 56282 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 
c=IN IP4 189.35.140.74 
a=rtcp:62060 IN IP4 189.35.140.74 
a=candidate:3879386089 1 udp 2122260223 172.16.1.209 60702 typ host generation 0 
a=candidate:3879386089 2 udp 2122260222 172.16.1.209 45410 typ host generation 0 
a=candidate:2847491865 1 tcp 1518280447 172.16.1.209 0 typ host tcptype active generation 0 
a=candidate:2847491865 2 tcp 1518280446 172.16.1.209 0 typ host tcptype active generation 0 
a=candidate:288014909 2 udp 1686052606 189.35.140.74 62060 typ srflx raddr 172.16.1.209 rport 45410 generation 0 
a=candidate:288014909 1 udp 1686052607 189.35.140.74 56282 typ srflx raddr 172.16.1.209 rport 60702 generation 0 
a=ice-ufrag:FK6gzTOP0l95UM39 
a=ice-pwd:1ehRZElxNwmCq6mQpetD78w+ 
a=fingerprint:sha-256 2C:93:D5:54:53:96:34:18:DA:A6:3C:1A:59:5A:32:6B:3E:70:79:78:85:AC:AA:26:8F:D6:0B:5E:9C:DB:4A:8C 
a=setup:actpass 
a=mid:audio 
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level 
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time 
a=sendrecv 
a=rtcp-mux 
a=rtpmap:111 opus/48000/2 
a=fmtp:111 minptime=10; useinbandfec=1 
a=rtpmap:103 ISAC/16000 
a=rtpmap:104 ISAC/32000 
a=rtpmap:9 G722/8000 
a=rtpmap:0 PCMU/8000 
a=rtpmap:8 PCMA/8000 
a=rtpmap:106 CN/32000 
a=rtpmap:105 CN/16000 
a=rtpmap:13 CN/8000 
a=rtpmap:126 telephone-event/8000 
a=maxptime:60 
a=ssrc:2011742822 cname:/+L6wPj8ErBqYw3L 
a=ssrc:2011742822 msid:Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N dce80b6d-4fed-4409-af6c-275e470a0d73 
a=ssrc:2011742822 mslabel:Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N 
a=ssrc:2011742822 label:dce80b6d-4fed-4409-af6c-275e470a0d73` 


`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | received WebSocket text message:` 

`SIP/2.0 401 Unauthorized 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK7117302;received=172.16.1.209 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
To: <sip:[email protected]>;tag=as5f539d65 
Call-ID: 4pk6rpr5p1mhfts149uk 
CSeq: 7760 INVITE 
Server: Asterisk PBX 13.6.0 
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE 
Supported: replaces, timer 
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="26be674c" 
Content-Length: 0` 



`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | sending WebSocket message:` 

`ACK sip:[email protected] SIP/2.0 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK7117302 
To: <sip:[email protected]>;tag=as5f539d65 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
Call-ID: 4pk6rpr5p1mhfts149uk 
Content-Length: 0 
CSeq: 7760 ACK` 



`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | sending WebSocket message:` 

`INVITE sip:[email protected] SIP/2.0 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK4757152 
Max-Forwards: 70 
To: <sip:[email protected]> 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
Call-ID: 4pk6rpr5p1mhfts149uk 
CSeq: 7761 INVITE 
Authorization: Digest algorithm=MD5, username="200", realm="asterisk", nonce="26be674c", uri="sip:[email protected]", response="7c400e75f1605a4893b99438a18b9560" 
Contact: <sip:[email protected];transport=ws;ob> 
Allow: ACK,CANCEL,BYE,OPTIONS,INFO,NOTIFY,INVITE 
Content-Type: application/sdp 
Supported: outbound 
User-Agent: SIP.js/0.7.2 
Content-Length: 1777` 

`v=0 
o=- 6908994037829104915 2 IN IP4 127.0.0.1 
s=- 
t=0 0 
a=group:BUNDLE audio 
a=msid-semantic: WMS Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N 
m=audio 56282 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 
c=IN IP4 189.35.140.74 
a=rtcp:62060 IN IP4 189.35.140.74 
a=candidate:3879386089 1 udp 2122260223 172.16.1.209 60702 typ host generation 0 
a=candidate:3879386089 2 udp 2122260222 172.16.1.209 45410 typ host generation 0 
a=candidate:2847491865 1 tcp 1518280447 172.16.1.209 0 typ host tcptype active generation 0 
a=candidate:2847491865 2 tcp 1518280446 172.16.1.209 0 typ host tcptype active generation 0 
a=candidate:288014909 2 udp 1686052606 189.35.140.74 62060 typ srflx raddr 172.16.1.209 rport 45410 generation 0 
a=candidate:288014909 1 udp 1686052607 189.35.140.74 56282 typ srflx raddr 172.16.1.209 rport 60702 generation 0 
a=ice-ufrag:FK6gzTOP0l95UM39 
a=ice-pwd:1ehRZElxNwmCq6mQpetD78w+ 
a=fingerprint:sha-256 2C:93:D5:54:53:96:34:18:DA:A6:3C:1A:59:5A:32:6B:3E:70:79:78:85:AC:AA:26:8F:D6:0B:5E:9C:DB:4A:8C 
a=setup:actpass 
a=mid:audio 
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level 
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time 
a=sendrecv 
a=rtcp-mux 
a=rtpmap:111 opus/48000/2 
a=fmtp:111 minptime=10; useinbandfec=1 
a=rtpmap:103 ISAC/16000 
a=rtpmap:104 ISAC/32000 
a=rtpmap:9 G722/8000 
a=rtpmap:0 PCMU/8000 
a=rtpmap:8 PCMA/8000 
a=rtpmap:106 CN/32000 
a=rtpmap:105 CN/16000 
a=rtpmap:13 CN/8000 
a=rtpmap:126 telephone-event/8000 
a=maxptime:60 
a=ssrc:2011742822 cname:/+L6wPj8ErBqYw3L 
a=ssrc:2011742822 msid:Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N dce80b6d-4fed-4409-af6c-275e470a0d73 
a=ssrc:2011742822 mslabel:Mdtr3XiGc3ZYftGDwxeYDfspP9DqQwSRd17N 
a=ssrc:2011742822 label:dce80b6d-4fed-4409-af6c-275e470a0d73` 


`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transaction.ict | z9hG4bK7117302 | Timer D expired for INVITE client transaction z9hG4bK7117302 
Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | received WebSocket text message:` 

`SIP/2.0 488 Not acceptable here 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK4757152;received=172.16.1.209 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
To: <sip:[email protected]>;tag=as5f539d65 
Call-ID: 4pk6rpr5p1mhfts149uk 
CSeq: 7761 INVITE 
Server: Asterisk PBX 13.6.0 
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE 
Supported: replaces, timer 
Content-Length: 0` 



`Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transport | sending WebSocket message:` 

`ACK sip:[email protected] SIP/2.0 
Via: SIP/2.0/WS cam6bslroe6a.invalid;branch=z9hG4bK4757152 
To: <sip:[email protected]>;tag=as5f539d65 
From: "200" <sip:[email protected]>;tag=ur4c0oov9u 
Call-ID: 4pk6rpr5p1mhfts149uk 
Content-Length: 0 
CSeq: 7761 ACK` 



    `Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.inviteclientcontext | closing INVITE session 4pk6rpr5p1mhfts149uk9t8l09v01c` 

    `Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.invitecontext.mediahandler | 4pk6rpr5p1mhfts149uk9t8l09v01c | closing PeerConnection` 

    `Mon Dec 14 2015 19:18:51 GMT-0200 (BRST) | sip.transaction.ict | z9hG4bK4757152 | Timer D expired for INVITE client transaction z9hG4bK4757152` 
+3

Offtopic。不是一個編程問題。我們不是一般的服務器/軟件技術支持。 –

回答

3

488應該是指沒有介質兼容性。

獲得488有幾個原因:最常見的是你沒有通用的編解碼器。首先檢查您的星號是否支持並配置了opus。

支持WebRTC的兼容性,這個問題常常與使用有關的:的

UDP/TLS/RTP/SAVPF 

代替

RTP/SAVPF 

即:對的WebRTC/IETF標準尚未完全確定,還在動。

您可以檢查可能重複的問題/答案在這裏:Freeswitch and webRTC: media rejected with 488

+0

那麼安裝Opus的幫助?我處於相同的情況,我已經安裝了Opus。 – Sergey