Hi Gopalakrishnan ,
Its expecting a simple register handshake I guess.
REGISTER(NO authentication INFO)------->
UNAUNTHORISED<----------------------------------(contains NONSE,algorithm to
use eg Md5 etc for sending user-name, password)
REGISTER(with authentication INFO)------->
OK<-------------------------------------------------------
On Fri, Mar 4, 2011 at 3:07 PM, Gopalakrishnan A.N <[email protected]> wrote:
> Try this script for me it worked
>
> On Wed, Feb 2, 2011 at 1:21 AM, viswavardhanreddy karna <
> [email protected]> wrote:
>
>> Hi every one,
>> I am trying to register a sipp client at asterisk
>> server...
>>
>>
>> Below i am sending you my register_client.xml file when i run this file i
>> am getting this error as
>>
>> Aborting call on unexpected message for Call-Id '[email protected]':
>> while expecting '200' (index 3), received 'SIP/2.0 401 Unauthorized
>>
>> my xml file is:
>>
>> <?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]
>> Max-Forwards: 20
>> 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: 3600
>> Content-Length: 0
>> Authorization: Digest username="[field0]", realm="asterisk"
>> User-Agent: Sipp v1.1-TLS, version 20061124
>> ]]>
>> </send>
>>
>> <recv response="401" auth="true" rtd="true">
>> </recv>
>>
>> <send retrans="500">
>> <![CDATA[
>> REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
>> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>> Max-Forwards: 20
>> From: "[field0]" <sip:[field0]@[local_ip]>;tag=[call_number]
>> To: "[field0]" <sip:[field0]@[remote_ip]>
>> Call-ID: [call_id]
>> CSeq: 2 REGISTER
>> Contact: <sip:[field0]@[local_ip]:[local_port]>
>> Expires: 3600
>> Content-Length: 0
>> User-Agent: Sipp v1.1-TLS, version 20061124
>>
>> [field1]
>> ]]>
>> </send>
>>
>> <recv response="200" auth="true" rtd="true">
>> </recv>
>>
>> <ResponseTimeRepartition value="10, 20"/>
>> <CallLengthRepartition value="10"/>
>>
>>
>> </scenario>
>>
>>
>> Please help me to solve this issue..... i am using ossl support for
>> authenticating.....
>>
>>
>>
>>
>> Awaiting fro the reply as soon as possible.....
>>
>>
>>
>>
>>
>>
>> with regards,
>> viswavardhan
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Sipp-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
>
>
> --
> Thank you with regards,
> Gopalakrishnan A.N.
> VoIP call - sip:[email protected]
>
>
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
--
Regards,
SriNarayanan
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users