Hi, can anyone help me with this issue, I set the Asterisk server up on a local network, where it has been on test, all was working fine until I connected the server directly to the internet, now ALL extenions (hard or soft coded) get 401 ?
II’ve checked and update sip.conf, I’ve disablled the firewall, still no joy,
can anyone suggest a place to start?
Thanks
<-- SIP read from 87.81.189.65:5060:
REGISTER sip:dwt4.co.uk SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bKiBdzzNed96oBX3Yw;rport
Max-Forwards: 70
User-Agent: DexWeb Telecom V1.54.004 CFG0
From: “721020” sip:721020@dwt4.co.uk;tag=8mBSSnsSzb2YT1ln
To: “721020” sip:721020@dwt4.co.uk
Call-ID: cYXq6znLxXky0fdj@192.168.0.2
CSeq: 8502 REGISTER
Contact: sip:721020@192.168.0.2:5060
Expires: 110
Content-Length: 0
— (11 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 192.168.0.2 : 5060 (NAT)
Transmitting (NAT) to 87.81.189.65:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bKiBdzzNed96oBX3Yw;received=87.81.189.65;rport=5060
From: “721020” sip:721020@dwt4.co.uk;tag=8mBSSnsSzb2YT1ln
To: “721020” sip:721020@dwt4.co.uk
Call-ID: cYXq6znLxXky0fdj@192.168.0.2
CSeq: 8502 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:721020@87.117.208.70
Content-Length: 0
Transmitting (NAT) to 87.81.189.65:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bKiBdzzNed96oBX3Yw;received=87.81.189.65;rport=5060
From: “721020” sip:721020@dwt4.co.uk;tag=8mBSSnsSzb2YT1ln
To: “721020” sip:721020@dwt4.co.uk;tag=as65da2e1b
Call-ID: cYXq6znLxXky0fdj@192.168.0.2
CSeq: 8502 REGISTER
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=“dwt4.co.uk”, nonce="49468c34"
Content-Length: 0