Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2013-05-01 09:56:00 +0400

CorsarWish Gravatar CorsarWish

Проблема с входящими звонками

Добрый день. Есть астериск 1.8.7.0. Тестируем с провайдером новый sip транк. Есть проблемы с входящими звонками(отбой). Включил дебаг, и посмотрел лог одного звонка. В чем может быть проблема?

[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: <--- SIP read from UDP:195.158.10.102:5060 ---> INVITE sip:s@10.0.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1 Accept: application/sdp Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 Contact: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;transport=udp> CSeq: 55 INVITE Expires: 3600 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone> Organization: Iskratel Supported: 100rel User-Agent: SI3000 Max-Forwards: 69 Subject: Call from SI3000 P-Asserted-Identity: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary> Privacy: none Content-Length: 189 Content-Type: application/sdp Content-Disposition: session;handling=required

v=0 o=- 5851044 2646778 IN IP4 195.158.10.102 s=- c=IN IP4 195.158.10.102 b=AS:64 t=0 0 m=audio 16076 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 a=sendrecv <-------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: --- (20 headers 11 lines) --- [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL TOS bits 184 [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL CoS mark 5 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Sending to 195.158.10.102:5060 (no NAT) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Using INVITE request as basis request - SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Found peer 'sip-2020707' for '712547696' from 195.158.10.102:5060 [Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: <--- Reliably Transmitting (no NAT) to 195.158.10.102:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1;received=195.158.10.102 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 CSeq: 55 INVITE Server: FPBX-2.8.1(1.8.7.0) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4588f494" Content-Length: 0

<------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Scheduling destruction of SIP dialog 'SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1' in 32000 ms (Method: INVITE) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: <--- SIP read from UDP:195.158.10.102:5060 ---> ACK sip:s@10.0.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1 CSeq: 55 ACK Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Max-Forwards: 69 Content-Length: 0

<-------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: --- (8 headers 0 lines) --- [Apr 30 23:31:23] VERBOSE[3652] chansip.c: REGISTER 10 headers, 0 lines [Apr 30 23:31:23] VERBOSE[3652] chan_sip.c: Reliably Transmitting (no NAT) to 172.15.210.2:5060: REGISTER sip:172.15.210.2 SIP/2.0 Via: SIP/2.0/UDP 172.15.210.1:5060;branch=z9hG4bK59c67ebe Max-Forwards: 70 From: <sip:2306023@172.15.210.2>;tag=as7aaf5243 To: <sip:2306023@172.15.210.2> Call-ID: 789185d564706de23a43e1e24cebcc86@127.0.0.1 CSeq: 192 REGISTER User-Agent: FPBX-2.8.1(1.8.7.0) Expires: 120 Contact: <sip:s@172.15.210.1:5060> Content-Length: 0


[Apr 30 23:31:23] NOTICE[3652] chansip.c: -- Registration for '2306023@172.15.210.2' timed out, trying again (Attempt #91) [Apr 30 23:31:23] VERBOSE[3652] chansip.c: <--- SIP read from UDP:172.15.210.2:5060 ---> SIP/2.0 400 Bad Request Via: SIP/2.0/UDP 172.15.210.1:5060;branch=z9hG4bK59c67ebe;rport=5060 Call-ID: 789185d564706de23a43e1e24cebcc86@127.0.0.1 From: <sip:2306023@172.15.210.2>;tag=as7aaf5243 To: <sip:2306023@172.15.210.2>;tag=823b9da1 CSeq: 192 REGISTER Content-Length: 0

<-------------> [Apr 30 23:31:23] VERBOSE[3652] chansip.c: --- (7 headers 0 lines) --- [Apr 30 23:31:23] VERBOSE[3652] chansip.c: -- Got SIP response 400 "Bad Request" back from 172.15.210.2:5060 [Apr 30 23:31:23] VERBOSE[3652] chan_sip.c: Really destroying SIP dialog '789185d564706de23a43e1e24cebcc86@127.0.0.1' Method: REGISTER

Проблема с входящими звонками

Добрый день. Есть астериск 1.8.7.0. Тестируем с провайдером новый sip транк. Есть проблемы с входящими звонками(отбой). Включил дебаг, и посмотрел лог одного звонка. В чем может быть проблема?

[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: <--- SIP read from UDP:195.158.10.102:5060 ---> INVITE sip:s@10.0.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1 Accept: application/sdp Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 Contact: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;transport=udp> CSeq: 55 INVITE Expires: 3600 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone> Organization: Iskratel Supported: 100rel User-Agent: SI3000 Max-Forwards: 69 Subject: Call from SI3000 P-Asserted-Identity: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary> Privacy: none Content-Length: 189 Content-Type: application/sdp Content-Disposition: session;handling=required

v=0 o=- 5851044 2646778 IN IP4 195.158.10.102 s=- c=IN IP4 195.158.10.102 b=AS:64 t=0 0 m=audio 16076 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 a=sendrecv <-------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: --- (20 headers 11 lines) --- [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL TOS bits 184 [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL CoS mark 5 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Sending to 195.158.10.102:5060 (no NAT) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Using INVITE request as basis request - SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Found peer 'sip-2020707' for '712547696' from 195.158.10.102:5060 [Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: <--- Reliably Transmitting (no NAT) to 195.158.10.102:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1;received=195.158.10.102 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 CSeq: 55 INVITE Server: FPBX-2.8.1(1.8.7.0) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4588f494" Content-Length: 0

<------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: Scheduling destruction of SIP dialog 'SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1' in 32000 ms (Method: INVITE) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: <--- SIP read from UDP:195.158.10.102:5060 ---> ACK sip:s@10.0.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1 CSeq: 55 ACK Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Max-Forwards: 69 Content-Length: 0

<-------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: --- (8 headers 0 lines) --- [Apr 30 23:31:23] VERBOSE[3652] chansip.c: REGISTER 10 headers, 0 lines [Apr 30 23:31:23] VERBOSE[3652] chan_sip.c: Reliably Transmitting (no NAT) to 172.15.210.2:5060: REGISTER sip:172.15.210.2 SIP/2.0 Via: SIP/2.0/UDP 172.15.210.1:5060;branch=z9hG4bK59c67ebe Max-Forwards: 70 From: <sip:2306023@172.15.210.2>;tag=as7aaf5243 To: <sip:2306023@172.15.210.2> Call-ID: 789185d564706de23a43e1e24cebcc86@127.0.0.1 CSeq: 192 REGISTER User-Agent: FPBX-2.8.1(1.8.7.0) Expires: 120 Contact: <sip:s@172.15.210.1:5060> Content-Length: 0


[Apr 30 23:31:23] NOTICE[3652] chansip.c: -- Registration for '2306023@172.15.210.2' timed out, trying again (Attempt #91) [Apr 30 23:31:23] VERBOSE[3652] chansip.c: <--- SIP read from UDP:172.15.210.2:5060 ---> SIP/2.0 400 Bad Request Via: SIP/2.0/UDP 172.15.210.1:5060;branch=z9hG4bK59c67ebe;rport=5060 Call-ID: 789185d564706de23a43e1e24cebcc86@127.0.0.1 From: <sip:2306023@172.15.210.2>;tag=as7aaf5243 To: <sip:2306023@172.15.210.2>;tag=823b9da1 CSeq: 192 REGISTER Content-Length: 0

<-------------> [Apr 30 23:31:23] VERBOSE[3652] chansip.c: --- (7 headers 0 lines) --- [Apr 30 23:31:23] VERBOSE[3652] chansip.c: -- Got SIP response 400 "Bad Request" back from 172.15.210.2:5060 [Apr 30 23:31:23] VERBOSE[3652] chan_sip.c: Really destroying SIP dialog '789185d564706de23a43e1e24cebcc86@127.0.0.1' Method: REGISTER ---

Проблема с входящими звонками

Добрый день. Есть астериск 1.8.7.0. 1.8.7.0. Тестируем с провайдером новый sip транк. Есть проблемы с входящими звонками(отбой). Включил дебаг, и посмотрел лог одного звонка. В чем может быть проблема?

[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- SIP read from UDP:195.158.10.102:5060 --->
INVITE sip:s@10.0.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
Contact: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;transport=udp>
CSeq: 55 INVITE
Expires: 3600
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>
Organization: Iskratel
Supported: 100rel
User-Agent: SI3000
Max-Forwards: 69
Subject: Call from SI3000
P-Asserted-Identity: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>
Privacy: none
Content-Length: 189
Content-Type: application/sdp
Content-Disposition: session;handling=required

session;handling=required v=0 o=- 5851044 2646778 IN IP4 195.158.10.102 s=- c=IN IP4 195.158.10.102 b=AS:64 t=0 0 m=audio 16076 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 a=sendrecv <-------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: --- (20 headers 11 lines) --- [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL TOS bits 184 [Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL CoS mark 5 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: Sending to 195.158.10.102:5060 (no NAT) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: Using INVITE request as basis request - SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: Found peer 'sip-2020707' for '712547696' from 195.158.10.102:5060 [Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: <--- Reliably Transmitting (no NAT) to 195.158.10.102:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1;received=195.158.10.102 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 CSeq: 55 INVITE Server: FPBX-2.8.1(1.8.7.0) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4588f494" Content-Length: 0

0 <------------> [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: Scheduling destruction of SIP dialog 'SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1' in 32000 ms (Method: INVITE) [Apr 30 23:31:21] VERBOSE[3652] chansip.c: chan_sip.c: <--- SIP read from UDP:195.158.10.102:5060 ---> ACK sip:s@10.0.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1 CSeq: 55 ACK Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1 From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95 Max-Forwards: 69 Content-Length: 0

0 <-------------> [Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: --- (8 headers 0 lines) ---

---

Проблема с входящими звонками

Добрый день. Есть астериск 1.8.7.0. Тестируем с провайдером новый sip транк. Есть проблемы с входящими звонками(отбой). Включил дебаг, и посмотрел лог одного звонка. В чем может быть проблема?

[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- SIP read from UDP:195.158.10.102:5060 --->
INVITE sip:s@10.0.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
Contact: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;transport=udp>
CSeq: 55 INVITE
Expires: 3600
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>
Organization: Iskratel
Supported: 100rel
User-Agent: SI3000
Max-Forwards: 69
Subject: Call from SI3000
P-Asserted-Identity: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>
Privacy: none
Content-Length: 189
Content-Type: application/sdp
Content-Disposition: session;handling=required

v=0
o=- 5851044 2646778 IN IP4 195.158.10.102
s=-
c=IN IP4 195.158.10.102
b=AS:64
t=0 0
m=audio 16076 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
<------------->
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: --- (20 headers 11 lines) ---
[Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL TOS bits 184
[Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL CoS mark 5
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Sending to 195.158.10.102:5060 (no NAT)
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Using INVITE request as basis request - SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Found peer 'sip-2020707' for '712547696' from 195.158.10.102:5060
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- Reliably Transmitting (no NAT) to 195.158.10.102:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1;received=195.158.10.102
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
CSeq: 55 INVITE
Server: FPBX-2.8.1(1.8.7.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4588f494"
Content-Length: 0


<------------>
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Scheduling destruction of SIP dialog 'SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1' in 32000 ms (Method: INVITE)
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- SIP read from UDP:195.158.10.102:5060 --->
ACK sip:s@10.0.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1
CSeq: 55 ACK
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95
Max-Forwards: 69
Content-Length: 0

<------------->
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: --- (8 headers 0 lines) ---

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.