ded, не кипятитесь Правила хорошего тона выполнил, на вечный music-on-hold отправил...
"Абонент не доступен"...
localasrt*CLI> sip set debug peer MTS
SIP Debugging Enabled for IP: NNN.NN.NN.NNN:5060
<--- SIP read from UDP:NNN.NN.NN.NNN:5060 --->
INVITE sip:3951@MM.MM.MM.MMM:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bK8n9mv520doi1kf4kt400.1
Max-Forwards: 68
Call-ID: 39F7EE16@83C8C191
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-8b420006-e4bc5966
To: <sip:3951@MM.MM.MM.MMM>
CSeq: 247857596 INVITE
Expires: 130000
Supported: replaces,100rel
Contact: <sip:Personeta@NNN.NN.NN.NNN:5060;transport=udp>
Allow: INVITE,ACK,CANCEL,BYE,INFO,OPTIONS,PRACK,NOTIFY,MESSAGE,REFER,REGISTER,UPDATE
Content-Length: 166
Content-Type: application/sdp
v=0
o=Personeta 123456 123456 IN IP4 NNN.NN.NN.NNN
s=Audio Session
c=IN IP4 0.0.0.0
t=0 0
m=audio 18456 RTP/AVP 8 18
a=rtpmap:8 PCMA/8000
a=fmtp:18 annexb=no
<------------->
--- (13 headers 8 lines) ---
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Sending to NNN.NN.NN.NNN : 5060 (no NAT)
Using INVITE request as basis request - 39F7EE16@83C8C191
<--- Reliably Transmitting (no NAT) to NNN.NN.NN.NNN:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bK8n9mv520doi1kf4kt400.1;received=NNN.NN.NN.NNN
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-8b420006-e4bc5966
To: <sip:3951@MM.MM.MM.MMM>;tag=as6722a70b
Call-ID: 39F7EE16@83C8C191
CSeq: 247857596 INVITE
Server: FPBX-2.8.0(1.6.2.16.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '39F7EE16@83C8C191' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:NNN.NN.NN.NNN:5060 --->
ACK sip:3951@MM.MM.MM.MMM:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bK8n9mv520doi1kf4kt400.1
CSeq: 247857596 ACK
Max-Forwards: 68
Call-ID: 39F7EE16@83C8C191
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-8b420006-e4bc5966
To: <sip:3951@MM.MM.MM.MMM>;tag=as6722a70b
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '39F7EE16@83C8C191' Method: ACK
localasrt*CLI>
<--- SIP read from UDP:NNN.NN.NN.NNN:5060 --->
INVITE sip:3951@MM.MM.MM.MMM:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bKapub5m200gh05gs6o1c1.1
Max-Forwards: 68
Call-ID: 2FC4CB9F@83C8C191
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-274c0001-23eafe06
To: <sip:3951@MM.MM.MM.MMM>
CSeq: 18623091 INVITE
Expires: 130000
Supported: replaces,100rel
Contact: <sip:Personeta@NNN.NN.NN.NNN:5060;transport=udp>
Allow: INVITE,ACK,CANCEL,BYE,INFO,OPTIONS,PRACK,NOTIFY,MESSAGE,REFER,REGISTER,UPDATE
Content-Length: 166
Content-Type: application/sdp
v=0
o=Personeta 123456 123456 IN IP4 NNN.NN.NN.NNN
s=Audio Session
c=IN IP4 0.0.0.0
t=0 0
m=audio 18468 RTP/AVP 8 18
a=rtpmap:8 PCMA/8000
a=fmtp:18 annexb=no
<------------->
--- (13 headers 8 lines) ---
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Sending to NNN.NN.NN.NNN : 5060 (no NAT)
Using INVITE request as basis request - 2FC4CB9F@83C8C191
<--- Reliably Transmitting (no NAT) to NNN.NN.NN.NNN:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bKapub5m200gh05gs6o1c1.1;received=NNN.NN.NN.NNN
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-274c0001-23eafe06
To: <sip:3951@MM.MM.MM.MMM>;tag=as5a246abd
Call-ID: 2FC4CB9F@83C8C191
CSeq: 18623091 INVITE
Server: FPBX-2.8.0(1.6.2.16.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '2FC4CB9F@83C8C191' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:NNN.NN.NN.NNN:5060 --->
ACK sip:3951@MM.MM.MM.MMM:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP NNN.NN.NN.NNN:5060;branch=z9hG4bKapub5m200gh05gs6o1c1.1
CSeq: 18623091 ACK
Max-Forwards: 68
Call-ID: 2FC4CB9F@83C8C191
From: 3951 <sip:3951@NNN.NN.NN.NNN:5060;user=phone>;tag=A-1-274c0001-23eafe06
To: <sip:3951@MM.MM.MM.MMM>;tag=as5a246abd
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '2FC4CB9F@83C8C191' Method: ACK
localasrt*CLI>
Замаркируйте покаded писал(а):Измените на нём type=peer на type=friend
Заменил, "Абонент не доступен"...ded писал(а): Замаркируйте пока
;directmedia=no
:directrtpsetup=no
Измените на
insecure=invite
Код: Выделить всё
[Oct 2 22:19:13] WARNING[1948]: chan_sip.c:13926 check_auth: username mismatch, have <10001>, digest has <OPENSIPS>
[Oct 2 22:19:13] NOTICE[1948]: chan_sip.c:21978 handle_request_invite: Failed to authenticate device sip:251775@sip.comtube.com;tag=908230303530393200750F3F
Код: Выделить всё
Authorization:Digest username="OPENSIPS",algorithm=MD5,realm="asterisk",nonce="02000fd4",uri="sip:202818@192.168.3.1",response="6c09436bf6da3fefed689ddeeb746d0e"