Hello,

I have the Jain-Sip-Applet-Phone installed on two machines in a small LAN 
network.  These machines are connected through an Asterisk Server (Using 
Trixbox).  I run the phone as an application on both machines through Eclipse 
and I am able to log on as a user with one of the extensions that I use within 
Asterisk on each machine (extensions 201 and 202 in this case).  When I try to 
add a contact to my list (the other user machine) from one of the machines, I 
get the following message, which looks like I am having a problem with 
authentication:

ECLIPSE CONSOLE WINDOW

<![CDATA[SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
192.168.1.252:7933;branch=z9hG4bKf87a334e3afb041a4b7783d409b6c95d;received=192.168.1.252
From: <sip:[EMAIL PROTECTED]>;tag=973
To: <sip:[EMAIL PROTECTED]>;tag=as72bce758
Call-ID: [EMAIL PROTECTED]
CSeq: 1 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY
WWW-Authenticate: Digest algorithm=MD5,realm="asterisk",nonce="62a12192"
Content-Length: 0


I have defined two users in my sip.conf file as shown below:

; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui
[201]
type=friend
secret=201
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
host=dynamic
dtmfmode=rfc2833
dial=SIP/201
context=from-internal
canreinvite=no
callerid=device <201>

[202]
type=friend
secret=202
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
host=dynamic
dtmfmode=rfc2833
dial=SIP/202
context=from-internal
canreinvite=no
callerid=device <202>

Would anyone know where I am going wrong?  Is it possible to remove this 
authentication requirement?

Thanks in advance,

Denis Kutman


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to