Fresh install of FreePBX on Centos5.2 with Plesk.
Asterisk is on a dedicated virtual at a hosting company. All SIP Extension registrations time out. The SIP Trunk registers no problem however. Here is my SIP Debug output:
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(12 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 192.168.1.3 : 51724 (no NAT)
<— Transmitting (NAT) to ip.of.ex.ten.si.on:51724 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.3:51724;branch=z9hG4bK-d8754z-a350613ac56c3b1e-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51724
From: "Rusty"sip:[email protected];tag=f30cc673
To: "Rusty"sip:[email protected]
Call-ID: NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
<— Transmitting (NAT) to ip.of.ex.ten.si.on:51724 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.3:51724;branch=z9hG4bK-d8754z-a350613ac56c3b1e-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51724
From: "Rusty"sip:[email protected];tag=f30cc673
To: "Rusty"sip:[email protected];tag=as789061a4
Call-ID: NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="34aa23f9"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ in 32000 ms (Method: REGISTER)
Really destroying SIP dialog ‘[email protected]’ Method: REGISTER
Really destroying SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ Method: REGISTER
server*CLI>
<— SIP read from ip.of.ex.ten.si.on:51725 —>
REGISTER sip:domain.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.3:51725;branch=z9hG4bK-d8754z-0a63660e6f29cb47-1—d8754z-;rport
Max-Forwards: 70
Contact: sip:[email protected]:51725;rinstance=0302475bd9075d2e
To: "Rusty"sip:[email protected]
From: "Rusty"sip:[email protected];tag=4f0ce161
Call-ID: MjRjY2U3NDE4N2NhNjFlNGFkYmZkNTRkNGNkMTVmNjA.
CSeq: 1 REGISTER
Expires: 3601
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1103k stamp 53621
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 192.168.1.3 : 51725 (no NAT)
<— Transmitting (NAT) to ip.of.ex.ten.si.on:51725 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.3:51725;branch=z9hG4bK-d8754z-0a63660e6f29cb47-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51725
From: "Rusty"sip:[email protected];tag=4f0ce161
To: "Rusty"sip:[email protected]
Call-ID: MjRjY2U3NDE4N2NhNjFlNGFkYmZkNTRkNGNkMTVmNjA.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
<— Transmitting (NAT) to ip.of.ex.ten.si.on:51725 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.3:51725;branch=z9hG4bK-d8754z-0a63660e6f29cb47-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51725
From: "Rusty"sip:[email protected];tag=4f0ce161
To: "Rusty"sip:[email protected];tag=as26982b22
Call-ID: MjRjY2U3NDE4N2NhNjFlNGFkYmZkNTRkNGNkMTVmNjA.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="04b053e2"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘MjRjY2U3NDE4N2NhNjFlNGFkYmZkNTRkNGNkMTVmNjA.’ in 32000 ms (Method: REGISTER)
Reliably Transmitting (no NAT) to 4.79.19.56:5060:
OPTIONS sip:sip.jfk.telasip.com SIP/2.0
Via: SIP/2.0/UDP ip.of.se.rv.er:5060;branch=z9hG4bK7f02253a;rport
From: “Unknown” sip:[email protected];tag=as4fd87ce0
To: sip:sip.jfk.telasip.com
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 08 Jan 2010 05:15:12 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
server*CLI>
<— SIP read from 4.79.19.56:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP ip.of.se.rv.er:5060;branch=z9hG4bK7f02253a;rport=5060
From: “Unknown” sip:[email protected];tag=as4fd87ce0
To: sip:sip.jfk.telasip.com;tag=e7c62a77345476bbf59d650383bfbec7.ac4a
Call-ID: [email protected]
CSeq: 102 OPTIONS
Accept: /
Accept-Encoding:
Accept-Language: en
Supported:
Content-Length: 0
Warning: 392 192.168.4.56:5060 “Noisy feedback tells: pid=13020 req_src_ip=ip.of.se.rv.er req_src_port=5060 in_uri=sip:sip.jfk.telasip.com out_uri=sip:sip.jfk.telasip.com via_cnt==1”
<------------->
— (12 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]’ Method: OPTIONS
Really destroying SIP dialog ‘MjRjY2U3NDE4N2NhNjFlNGFkYmZkNTRkNGNkMTVmNjA.’ Method: REGISTER
serverCLI> <— Transmitting (NAT) to ip.of.ex.ten.si.on:51724 —>
No such command ‘<— Transmitting (NAT) to ip.of.ex.ten.si.on:51724 —>’ (type ‘help <— Transmitting’ for other possible commands)
serverCLI> SIP/2.0 401 Unauthorized
serverCLI> Via: SIP/2.0/UDP 192.168.1.3:51724;branch=z9hG4bK-d8754z-a350613ac56c3b1e-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51724
No such command ‘SIP/2.0 401 Unauthorized’ (type ‘help SIP/2.0 401’ for other possible commands)
No such command ‘Via: SIP/2.0/UDP 192.168.1.3:51724;branch=z9hG4bK-d8754z-a350613ac56c3b1e-1—d8754z-;received=ip.of.ex.ten.si.on;rport=51724’ (type ‘help Via: SIP/2.0/UDP’ for other possible commands)
serverCLI> From: "Rusty"sip:[email protected];tag=f30cc673
No such command ‘From: "Rusty"sip:[email protected];tag=f30cc673’ (type ‘help From: Rustysip:[email protected];tag=f30cc673’ for other possible commands)
serverCLI> To: "Rusty"sip:[email protected];tag=as789061a4
No such command ‘To: "Rusty"sip:[email protected];tag=as789061a4’ (type ‘help To: Rustysip:[email protected];tag=as789061a4’ for other possible commands)
serverCLI> Call-ID: NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.
No such command ‘Call-ID: NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ (type ‘help Call-ID: NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ for other possible commands)
serverCLI> CSeq: 1 REGISTER
No such command ‘CSeq: 1 REGISTER’ (type ‘help CSeq: 1’ for other possible commands)
serverCLI> User-Agent: Asterisk PBX
No such command ‘User-Agent: Asterisk PBX’ (type ‘help User-Agent: Asterisk’ for other possible commands)
serverCLI> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
No such command ‘Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO’ (type ‘help Allow: INVITE,’ for other possible commands)
serverCLI> Supported: replaces
serverCLI> WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="34aa23f9"
serverCLI> Content-Length: 0
No such command ‘Supported: replaces’ (type ‘help Supported: replaces’ for other possible commands)
No such command ‘WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce=“34aa23f9”’ (type ‘help WWW-Authenticate: Digest’ for other possible commands)
No such command ‘Content-Length: 0’ (type ‘help Content-Length: 0’ for other possible commands)
serverCLI>
serverCLI>
serverCLI> <------------>
No such command ‘<------------>’ (type ‘help <------------>’ for other possible commands)
serverCLI> Scheduling destruction of SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ in 32000 ms (Method: REGISTER)
No such command ‘Scheduling destruction of SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ in 32000 ms (Method: REGISTER)’ (type ‘help Scheduling destruction’ for other possible commands)
serverCLI> Really destroying SIP dialog ‘[email protected]’ Method: REGISTER
No such command ‘Really destroying SIP dialog ‘[email protected]’ Method: REGISTER’ (type ‘help Really destroying’ for other possible commands)
serverCLI> Really destroying SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ Method: REGISTER
No such command ‘Really destroying SIP dialog ‘NjM1ZTgyOTlhMDEzZjI2YjM1YzdiYTVlYmYzNzQ3NTQ.’ Method: REGISTER’ (type ‘help Really destroying’ for other possible commands)
REGISTER 13 headers, 0 lines
Reliably Transmitting (no NAT) to 4.79.19.56:5060:
REGISTER sip:sip.jfk.telasip.com SIP/2.0
Via: SIP/2.0/UDP ip.of.se.rv.er:5060;branch=z9hG4bK44aac16f;rport
From: sip:[email protected];tag=as619a1d88
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 105 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username=“rendicott”, realm=“sip.jfk.telasip.com”, algorithm=MD5, uri=“sip:sip.jfk.telasip.com”, nonce=“4b46bfd89737cf127f75b9bb0bccf4a247f63930”, response="adbaba3a785282a5df011e732208f163"
Expires: 120
Contact: sip:[email protected]
Event: registration
Content-Length: 0
server*CLI>
<— SIP read from 4.79.19.56:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP ip.of.se.rv.er:5060;branch=z9hG4bK44aac16f;rport=5060
From: sip:[email protected];tag=as619a1d88
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 105 REGISTER
Content-Length: 0
Warning: 392 192.168.4.56:5060 “Noisy feedback tells: pid=13022 req_src_ip=ip.of.se.rv.er req_src_port=5060 in_uri=sip:sip.jfk.telasip.com out_uri=sip:sip.jfk.telasip.com via_cnt==1”
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thanks for any ideas you guys might have, I’ll be happy to answer any further quesions.