[Asterisk-Users] Asterisk & X-Lite

Aaron Martin listasterisk at comtek.co.nz
Wed Jul 23 16:39:25 MST 2003


I am trying to setup X-Lite with asterisk using the settings I found in the
archives:

http://lists.digium.com/pipermail/asterisk-users/2003-June/013597.html


My sip.conf has the following in it:

[general]
port = 5060                     ; Port to bind to
bindaddr = 0.0.0.0              ; Address to bind to
context = default               ; Default for incoming calls

[aaronpc]
type=friend
host=192.168.0.10

And in X-Lite I have the following settings:
Display name : Aaron
user name : aaronpc
authorization user : aaronpc
Password :
Domain/Realme : 192.168.0.10
SIP Proxy : 192.168.0.1:5060
Send Internal IP: Yes

However, as soon as I start X-Lite, sip debug on the asterisk server gives
me this:

10 headers, 0 lines
Using latest request as basis request
Sending to 192.168.0.10 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.10:5060
From: <sip:aaronpc at 192.168.0.10>
To: <sip:aaronpc at 192.168.0.10>;tag=as40a80ff9
Call-ID: 5CF879B8A9AE46C1A0B20B2C26ED342F at 192.168.0.10
CSeq: 14021 REGISTER
User-Agent: Asterisk PBX
Contact: <sip:aaronpc at 192.168.0.1>
Content-Length: 0

Any ideas what I am doing wrong??





More information about the asterisk-users mailing list