[asterisk-users] regarding authentication with out challenge.
viswavardhanreddy karna
viswavardhanreddy at gmail.com
Thu Mar 10 19:37:27 CST 2011
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:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="registration">
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: "[field0]" <sip:[field0]@[local_ip]:[local_port]>;tag=[call_number]
To: "[field0]" <sip:[field0]@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: <sip:[field0]@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
]]>
</send>
<recv response="200" auth="true" rtd="true">
</recv>
<ResponseTimeRepartition value="10, 20"/>
<CallLengthRepartition value="10"/>
</scenario>
and sip.conf as
[general]
register =>bob:secret at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110311/6c4ff695/attachment.htm>
More information about the asterisk-users
mailing list