FreePBX를 사용하고 있습니다. 로그인하는 동안 나는 장치 로그에서SIP/별표 : FROM uri의 헤더에 도메인 이름이 없습니다.
09-12 19:27:20.483 I/System.out: 19:27:20.484 pjsua_core.c .TX 645 bytes Request msg REGISTER/cseq=54664 (tdta0x78c4c36c) to UDP 35.162.177.84:5060:
09-12 19:27:20.483 I/System.out: REGISTER sip:mydomain.com SIP/2.0
09-12 19:27:20.483 I/System.out: Via: SIP/2.0/UDP 192.168.43.224:6000;rport;branch=z9hG4bKPj8a5802d4-1b9a-49f0-b3c1-b38a23e51299
09-12 19:27:20.483 I/System.out: Max-Forwards: 70
09-12 19:27:20.483 I/System.out: From: <sip:[email protected]>;tag=6390922e-056e-4421-a55f-13e76117593e
09-12 19:27:20.483 I/System.out: To: <sip:[email protected]>
09-12 19:27:20.483 I/System.out: Call-ID: 63b10417-58a5-44b5-83a3-1fc1febab86b
09-12 19:27:20.483 I/System.out: CSeq: 54664 REGISTER
09-12 19:27:20.483 I/System.out: User-Agent: Pjsua2 Android 2.6-svn
09-12 19:27:20.483 I/System.out: Contact: <sip:[email protected]:6000;ob>
09-12 19:27:20.483 I/System.out: Expires: 300
09-12 19:27:20.483 I/System.out: Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
09-12 19:27:20.483 I/System.out: Content-Length: 0
09-12 19:27:20.483 I/System.out: --end msg--
09-12 19:27:20.973 I/System.out: 19:27:20.981 pjsua_acc.c ...SIP registration failed, status=408 (Request Timeout)
09-12 19:27:20.973 I/System.out: 19:27:20.982 pjsua_acc.c ...Scheduling re-registration retry for acc 0 in 297 seconds..
내가 도메인 이름을 참조 보여 주지만, 오류 메시지가 비어 장치를 등록하는 방법에 대한
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c:
<--- SIP read from UDP:83.245.241.98:34479 --->
SUBSCRIBE sip:[email protected];transport=UDP SIP/2.0
Via: SIP/2.0/UDP 83.245.241.98:34479;branch=z9hG4bK-524287-1---e49547006939fc6c
Max-Forwards: 70
Contact: <sip:[email protected]:34479>
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=b9144d7a
Call-ID: wDigYoT9KjWu52sD4lFLTQ..
CSeq: 1 SUBSCRIBE
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 3.9.32144 r32121
Event: message-summary
Allow-Events: presence, kpml
Content-Length: 0
<------------->
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c: --- (15 headers 0 lines) ---
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c: Sending to 83.245.241.98:34479 (NAT)
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c: Creating new subscription
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c: Sending to 83.245.241.98:34479 (NAT)
[2017-09-12 12:09:03] VERBOSE[5545] sip/route.c: sip_route_dump: route/path hop: <sip:[email protected]:34479>
[2017-09-12 12:09:03] ERROR[5545] chan_sip.c: Empty domain name in FROM header
[2017-09-12 12:09:03] NOTICE[5545] chan_sip.c: Failed to authenticate device <sip:[email protected]>;tag=b9144d7a for SUBSCRIBE
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c:
<--- Transmitting (NAT) to 83.245.241.98:34479 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 83.245.241.98:34479;branch=z9hG4bK-524287-1---e49547006939fc6c;received=83.245.241.98;rport=34479
From: <sip:[email protected]>;tag=b9144d7a
To: <sip:[email protected]>;tag=as03163a1a
Call-ID: wDigYoT9KjWu52sD4lFLTQ..
CSeq: 1 SUBSCRIBE
Server: FPBX-13.0.192.16(14.6.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
[2017-09-12 12:09:03] VERBOSE[5545] chan_sip.c: Really destroying SIP dialog 'wDigYoT9KjWu52sD4lFLTQ..' Method: SUBSCRIBE
을 얻고있다. 왜 그렇게 될 수 있습니까?
등록 장치는 Android이지만, Zoiper 데스크톱을 사용해도 오류는 동일합니다.
FreePBX의 설정을 표시 할 수 있지만 표시 할 설정이 무엇인지 알 수 없습니다. 당신이 날 도와 그들 중 일부가 필요하다고 판단되는 경우, 요청 주시기 바랍니다, 나는 업데이트로 그들을 게시합니다
UPD 여기
은 새 로그 부분
<--- SIP read from UDP:83.245.241.98:34479 --->
REGISTER sip:0.0.0.0;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 83.245.241.98:34479;branch=z9hG4bK-524287-1---42d9af389a67cbe0
Max-Forwards: 70
Contact: <sip:[email protected]:34479;transport=UDP;rinstance=5ffbd839a509bdb2>;expires=0
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=99170228
Call-ID: mH4uHh2CI96Kfv9h6c1uHA..
CSeq: 3 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 3.9.32144 r32121
Allow-Events: presence, kpml
Content-Length: 0
<------------->
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: --- (13 headers 0 lines) ---
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: Sending to 83.245.241.98:34479 (NAT)
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c:
<--- Transmitting (NAT) to 83.245.241.98:34479 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 83.245.241.98:34479;branch=z9hG4bK-524287-1---42d9af389a67cbe0;received=83.245.241.98;rport=34479
From: <sip:[email protected]>;tag=99170228
To: <sip:[email protected]>;tag=as718e8353
Call-ID: mH4uHh2CI96Kfv9h6c1uHA..
CSeq: 3 REGISTER
Server: FPBX-13.0.192.16(14.6.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Expires: 0
Date: Tue, 12 Sep 2017 17:30:02 GMT
Content-Length: 0
<------------>
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: Scheduling destruction of SIP dialog 'mH4uHh2CI96Kfv9h6c1uHA..' in 32000 ms (Method: REGISTER)
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c:
<--- SIP read from UDP:83.245.241.98:34479 --->
SUBSCRIBE sip:[email protected];transport=UDP SIP/2.0
Via: SIP/2.0/UDP 83.245.241.98:34479;branch=z9hG4bK-524287-1---5d5c7b4cc8b27f1c
Max-Forwards: 70
Contact: <sip:[email protected]:34479;transport=UDP>
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=134c433d
Call-ID: 9Fo9pY2cNfL9I3ZcT_rE1w..
CSeq: 1 SUBSCRIBE
Expires: 3600
Accept: application/simple-message-summary
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 3.9.32144 r32121
Event: message-summary
Allow-Events: presence, kpml
Content-Length: 0
<------------->
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: --- (16 headers 0 lines) ---
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: Sending to 83.245.241.98:34479 (NAT)
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: Creating new subscription
[2017-09-12 13:30:02] VERBOSE[5545] chan_sip.c: Sending to 83.245.241.98:34479 (NAT)
[2017-09-12 13:30:02] VERBOSE[5545] sip/route.c: sip_route_dump: route/path hop: <sip:[email protected]:34479;transport=UDP>
[2017-09-12 13:30:02] ERROR[5545] chan_sip.c: Empty domain name in FROM header
[2017-09-12 13:30:02] NOTICE[5545] chan_sip.c: Failed to authenticate device <sip:[email protected]>;tag=134c433d for SUBSCRIBE
UPD2
클라이언트의 Wi-Fi를 다른 것으로 변경하여 작동했습니다. 그런 다음 다시 변경했고 다시 작동하지 않았습니다. Wifi의 로컬 서브넷에는 동일한 서브넷 주소와 마스크가 있습니다 (다른 서브넷 임에도 불구하고). 이유가있을 수 있습니까?
것은 클라이언트가있다 내 것이 아니라 - 그것은 Zoiper 클라이언트입니다.그것은 업데이트되지 않았고 이전 버전의 서버 (백업에 실패한)와 함께 사용되었습니다. 클라이언트 오류 일 가능성이 있는지 조사 할 것이지만 그것이 이상하다면 이상하게 보입니다. 이것이 서버 측에서 어떻게 해결 될 수 있는지 다른 아이디어가 있습니까? –
먼저 REGISTER 메시지가 서버에 도착했는지 확인합니다 (예 : 서버에서 tcpdump를 실행하여). 두 번째로 서버가 응답했는지 확인합니다. 현재 등록 실패의 원인이 무엇인지 알 수 없습니다. SUBSCRIBE 문제는 등록이 성공적 일 때 발생하지 않을 수도 있습니다. –
새 로그 부분을 추가했습니다. REGISTER가 있으며, 업데이트 된 질문을 참조하십시오. 서버에서 응답이 없습니다 –