regarding authentication with out challenge.

Home » Asterisk Users » regarding authentication with out challenge.
Asterisk Users No Comments

Hi every one,
I am trying to register a client with out
challenge.. but i havent get i am trying since from 2 days can any one help
me plz……

i am using xml file as:


REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: “[field0]” ;tag=[call_number]
To: “[field0]”
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact:
Expires: 300
Content-Length: 0
]]>



and sip.conf as

[general]
register =>bob:secret@127.0.0.1
bindport=5061
canreinvite=no
context=bob
disallow=all
qualify=yes

[bob]
type=friend
fromuser=bob
secret=secret
host=dynamic
nat=no
bindaddr=127.0.0.1
realm=127.0.0.1

Please anyone help me with the correct xml file and sip.conf as of i am
struck in the middle……

Thanks a lot

br,
viswa