Asterisk and Nextone MSX

Anybody got Asterisk to work with Nextone MSX 4.3?

No luck with 1.2.25 here.

I have the output from sip debug but I can’t understand it.

[code]<-- SIP read from 172.28.252.27:5060:
REGISTER sip:172.28.252.61:5060 SIP/2.0
Max-Forwards: 69
To: sip:4444@172.28.252.61
From: sip:4444@172.28.252.61;tag=3406296770-909595
Call-ID: 32834-3406296770-909578@some.host
CSeq: 1 REGISTER
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bKb0f99f95660e6b0dae6a9bdd55dea01e
Contact: sip:4444@172.28.252.27:5060;expires=3600
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 0

— (11 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 172.28.252.27 : 5060 (NAT)
Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bKb0f99f95660e6b0dae6a9bdd55dea01e;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61
Call-ID: 32834-3406296770-909578@some.host
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:4444@172.28.252.61
Content-Length: 0


Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bKb0f99f95660e6b0dae6a9bdd55dea01e;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61;tag=as07408167
Call-ID: 32834-3406296770-909578@some.host
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="0e33bb1a"
Content-Length: 0


Scheduling destruction of call ‘32834-3406296770-909578@some.host’ in 15000 ms
asterisk2*CLI>
<-- SIP read from 172.28.252.27:5060:
REGISTER sip:172.28.252.61:5060 SIP/2.0
Max-Forwards: 69
To: sip:4444@172.28.252.61
From: sip:4444@172.28.252.61;tag=3406296770-909595
Call-ID: 32834-3406296770-909578@some.host
CSeq: 2 REGISTER
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK23a13c612a21d5552afda4accd72aec6
Contact: sip:4444@172.28.252.27:5060;expires=3600
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 0

— (11 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 172.28.252.27 : 5060 (NAT)
Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK23a13c612a21d5552afda4accd72aec6;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61
Call-ID: 32834-3406296770-909578@some.host
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:4444@172.28.252.61
Content-Length: 0


Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK23a13c612a21d5552afda4accd72aec6;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61;tag=as07408167
Call-ID: 32834-3406296770-909578@some.host
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="79a5d1c5"
Content-Length: 0


Scheduling destruction of call ‘32834-3406296770-909578@some.host’ in 15000 ms
asterisk2*CLI>
<-- SIP read from 172.28.252.27:5060:
REGISTER sip:172.28.252.61:5060 SIP/2.0
Max-Forwards: 69
To: sip:4444@172.28.252.61
From: sip:4444@172.28.252.61;tag=3406296770-909595
Call-ID: 32834-3406296770-909578@some.host
CSeq: 3 REGISTER
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK548d9212f596af67e7bb31134b2d91f9
Contact: sip:4444@172.28.252.27:5060;expires=3600
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 0

— (11 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 172.28.252.27 : 5060 (NAT)
Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK548d9212f596af67e7bb31134b2d91f9;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61
Call-ID: 32834-3406296770-909578@some.host
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:4444@172.28.252.61
Content-Length: 0


Transmitting (NAT) to 172.28.252.27:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.28.252.27:5060;branch=z9hG4bK548d9212f596af67e7bb31134b2d91f9;received=172.28.252.27
From: sip:4444@172.28.252.61;tag=3406296770-909595
To: sip:4444@172.28.252.61;tag=as07408167
Call-ID: 32834-3406296770-909578@some.host
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="700d91d9"
Content-Length: 0[/code]

All I see is a LInksys device trying to register. The issue with it not registering is either due to the Linksys not sending authentication credentials or the Linksys is not getting the messages sent by Asterisk and therefor never sends the credentials.

Thanks! This is what I have in sip.conf:

[4444] type=peer username=4444 secret=4444 host=dynamic dtmfmode=auto context=from-internal nat=yes

From what I understand is that MSX has 2 IPs one that the phones authenticate with and another that authenticates with Asterisk as a peer. I’m not really sure where the problem is.