Hi Hao,
List of things u can do here:
1> Do a recompile without pcap and with ossl
2>check the ossl stuffs from the website
3>you can put Expires as a header instead of as a param in Contact[I am not
saying that what you have put is wrong..just a trial]
4> run the gdb on Sipp PID to capture some data..
5> are u running it on Linux box or Solaris..
If all the above points do not work for you,please check with some stable
version.
Thanks
Abinash
On 7/29/08, Hao Nguyen (haonguy) <[EMAIL PROTECTED]> wrote:
>
> Here is my problem.
>
> When sending the REGISTER msg to my call-agent (BTS10200) with
> uac_reg250.xml file below, I received a 401 msg. But SIPp does not like my
> 410 msg from call-agent. See error logs below. I cannot pass this part. I
> compile with apt-get install libpcap-dev
> make pcapplay_ossl.
>
> Please help.
>
> [EMAIL PROTECTED]:~/sbc31/sipp.svn# sipp -sf uac_reg0250.xml -trace_msg
> -trace_err -m 1 50.89.225.180
>
> [EMAIL PROTECTED]:~/sbc31/sipp.svn# cat uac_reg0250.xml
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <!-- This program is free software; you can redistribute it and/or -->
> <!-- modify it under the terms of the GNU General Public License as -->
> <!-- published by the Free Software Foundation; either version 2 of the -->
> <!-- License, or (at your option) any later version. -->
> <!-- -->
> <!-- This program is distributed in the hope that it will be useful, -->
> <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
> <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
> <!-- GNU General Public License for more details. -->
> <!-- -->
> <!-- You should have received a copy of the GNU General Public License -->
> <!-- along with this program; if not, write to the -->
> <!-- Free Software Foundation, Inc., -->
> <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
> <!-- -->
> <!-- Sipp default 'uac' scenario. -->
> <!-- -->
>
> <scenario name="Basic Sipstone UAC">
> <!-- In client mode (sipp placing calls), the Call-ID MUST be -->
> <!-- generated by sipp. To do so, use [call_id] keyword.
> -->
>
> <send retrans="500">
> <![CDATA[
> REGISTER sip:50.89.225.180:5060 SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> Call-ID: [call_id]
> CSeq: 102 REGISTER
> Max-Forwards: 70
> Contact: 209-262-0250 <sip:209-262-0250@
> [local_ip]:[local_port]>;expires=3600
> User-Agent: Linksys/PAP2T-5.1.5(LS)
> Content-Length: 0
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
> Supported: x-sipura, replaces
>
> ]]>
> </send>
>
> <recv response="401" auth="true">
> </recv>
>
>
>
> <send>
> <![CDATA[
>
> ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port]
> From: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> Call-ID: [call_id]
> CSeq: 102 ACK
> Contact: sip:[EMAIL PROTECTED]:[local_port]
> Max-Forwards: 70
> Subject: Performance Test
> Content-Length: 0
>
> ]]>
> </send>
>
> <send>
> <![CDATA[
>
> REGISTER sip:[EMAIL PROTECTED]:5060 SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: 209-262-0209 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> ;tag=b050e766703f0313o0
> To: 209-262-0209 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;
> Contact: <sip:[EMAIL PROTECTED]:[field1]>;expires=3600
> Call-ID: [call_id]
> [authentication [EMAIL PROTECTED]:[local_port]
> password=209-262-0250]
> CSeq: 103 REGISTER
> User-Agent: Linksys/PAP2T-5.1.5(LS)
> Content-Length: 0
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
> Supported: x-sipura, replaces
>
> ]]>
> </send>
>
>
> <recv response="200" crlf="true">
> </recv>
>
> <pause milliseconds="5000"/>
>
> </scenario>
>
>
> -----------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED]:~/sbc31/sipp.svn# cat uac_reg0250_27493_messages.log
> ----------------------------------------------- 2008-07-28 17:11:08
> UDP message sent:
>
> REGISTER sip:50.89.225.180:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.88.225.186:5060;branch=z9hG4bK-27493-1-0
> From: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: 209-262-0250 <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> Max-Forwards: 70
> Contact: 209-262-0250 <sip:[EMAIL PROTECTED]:5060>;expires=3600
> User-Agent: Linksys/PAP2T-5.1.5(LS)
> Content-Length: 0
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
> Supported: x-sipura, replaces
>
>
> ----------------------------------------------- 2008-07-28 17:11:08
> UDP message received [472] bytes :
>
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 10.88.225.186:5060;branch=z9hG4bK-27493-1-0;received=
> 10.88.225.186
> From: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=1_1146_t9674_0935_CtkS010E1E
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> WWW-Authenticate: Digest realm="tb09-ciscolab",
> nonce="0b46b2b1e371fa925ddbc45f54503e5b", algorithm=MD5, qop="auth"
> Content-Length: 0
>
>
> -----------------------------------------------
> Unexpected UDP message received:
>
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 10.88.225.186:5060;branch=z9hG4bK-27493-1-0;received=
> 10.88.225.186
> From: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=1_1146_t9674_0935_CtkS010E1E
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> WWW-Authenticate: Digest realm="tb09-ciscolab",
> nonce="0b46b2b1e371fa925ddbc45f54503e5b", algorithm=MD5, qop="auth"
> Content-Length: 0
>
>
> ----------------------------------------------- 2008-07-28 17:11:08
> UDP message sent:
>
> BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.88.225.186:5060;branch=z9hG4bK-27493-1--1
> From: sipp <sip:[EMAIL PROTECTED]:5060>;tag=1
> To: sut <sip:[EMAIL PROTECTED]:5060>;tag=1_1146_t9674_0935_CtkS010E1E
> Call-ID: [EMAIL PROTECTED]
> CSeq: 103 BYE
> Contact: <sip:10.88.225.186:5060;transport=UDP>
> Content-Length: 0
>
>
> -----------------------------------------------------------------------------------------------------------------------------------
> [EMAIL PROTECTED]:~/sbc31/sipp.svn# cat uac_reg0250_27493_errors.log
> sipp: The following events occured:
> 2008-07-28 17:11:08: Aborting call on unexpected message for Call-ID
> '[EMAIL PROTECTED]': while expecting '401' response, received 'SIP/2.0
> 401 Unauthorized
> Via: SIP/2.0/UDP 10.88.225.186:5060;branch=z9hG4bK-27493-1-0;received=
> 10.88.225.186
> From: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=b050e766703f0313o0
> To: "209-262-0250 "<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >;tag=1_1146_t9674_0935_CtkS010E1E
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> WWW-Authenticate: Digest realm="tb09-ciscolab",
> nonce="0b46b2b1e371fa925ddbc45f54503e5b", algorithm=MD5, qop="auth"
> Content-Length: 0
>
> ' .
> [EMAIL PROTECTED]:~/sbc31/sipp.svn#
>
> -----------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users