[Sipp-users] Unstable release for sipp 3.1 win32 with authentication!

2008-07-04 Thread Srivastava, Anuj Kumar
Hello,

For the benefit of users, I have put a version of sipp 3.1 for win32 compiled 
with ossl support on sourceforge.
Though all the new authentication features added after 3.0 may not yet be 
tested fully for win32, so its still unstable.

You can download it from following link:
http://sourceforge.net/project/downloading.php?group_id=104305use_mirror=osdnfilename=sipp-win32-3.1.2-ossl.exe94855486

Thanks
anuj

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] How to accept SIP calls generated by SIPp tool

2008-07-04 Thread Tomasz Radziszewski
Hi,

I'm not sure what your application is intended to do, but I think it should 
send 200 OK response to accept a call (and then be ready to receive 
subsequents requests and respond to them).

If you want just to talk between two sipp's running on two computers, run the 
calling one with uac scenario and the receiving one with uas. But, in 
this case there is no place for you application :/

Regarding documentation, you may look at section Using SIPp in the official 
doc at http://sipp.sourceforge.net/doc/reference.html

Also look at the scenarios that can be dumped with -sd option. So you will 
know what messages are actually sent and what is expected from the other 
side.


Best regards
-- 
Tomasz Radziszewski
Senior Software Engineer
Ericpol Telecom sp. z o.o.
Madalinskiego 9, 30-303 Krakow, Poland
e-mail: [EMAIL PROTECTED]
http://www.ericpol.com/

 Hi all,

  I'm using SIPp2.0 RHEL 4 version. I simulated some SIP calls (Machine 1)
 and I can see in my application (Machine 2) that calls were made. How can I
 accept those SIPp calls in my application? Do I need to install SIPp on the
 machine where my application (Machine 2) is running?  If yes, which mode I
 have to use. Please help me with some basic document about the SiPp tool
 and how to start with?


 Regards,
 Manoj kumar M S



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] AKAv1-MD5

2008-07-04 Thread Venkat Narasimhan
Consider the following scenario ... 


scenario name=AKAv1-MD5_BASIC

recv request=REGISTER
/recv

send
![CDATA[
SIP/2.0 401 Unauthorized
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Max-Forwards: 70
WWW-Authenticate: Digest 
algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost
Content-Length: 0
]]
/send

recv request=REGISTER
action
ereg check_it = true regexp=Authorization: ([[:alnum:]]*) search_in=msg 
assign_to=12/
ereg check_it = true regexp=response=([[:alnum:]]*) 
search_in=Authorization assign_to=resp/
/action
/recv


send  retrans=500
![CDATA[

SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600
Expires: 3600
Content-Length: 0

]]
/send

/scenario

Any help is appreciated

Regards
Venkat



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] AKAv1-MD5

2008-07-04 Thread Venkat Narasimhan
Sorry for my previous incomplete mail

Consider the following scenario ... 

in this scenario, how can i actually verify if the peer has sent the correct 
response in Authorization field? 
in the second REGISTER ?

scenario name=AKAv1-MD5_BASIC

recv request=REGISTER
/recv

send
![CDATA[
SIP/2.0 401 Unauthorized
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Max-Forwards: 70
WWW-Authenticate: Digest 
algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost
Content-Length: 0
]]
/send

recv request=REGISTER
action
ereg check_it = true regexp=Authorization: ([[:alnum:]]*) search_in=msg 
assign_to=12/
ereg check_it = true regexp=response=([[:alnum:]]*) 
search_in=Authorization assign_to=resp/
/action
/recv


send  retrans=500
![CDATA[

SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600
Expires: 3600
Content-Length: 0

]]
/send

/scenario

Any help is appreciated

Regards
Venkat


 Not happy with your email address? 
Get the one you  really want - millions of new email addresses available now at 
Yahoo!


  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] AKAv1-MD5

2008-07-04 Thread Charles P Wright
You'll need a recent SIPp trunk version and to use the verifyauth action.

It looks something like

recv request=REGISTER /
verifyauth assign_to=goodauth username=username 
password=password /
/recv

username and password can be any message substitution, and you can do 
branching based on the return value stored in goodauth.

Charles




Venkat Narasimhan [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/04/2008 08:05 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
Re: [Sipp-users] AKAv1-MD5






Sorry for my previous incomplete mail

Consider the following scenario ... 
in this scenario, how can i actually verify if the peer has sent the 
correct response in Authorization field? 
in the second REGISTER ?

scenario name=AKAv1-MD5_BASIC

recv request=REGISTER
/recv

send
![CDATA[
SIP/2.0 401 Unauthorized
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Max-Forwards: 70
WWW-Authenticate: Digest 
algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost
Content-Length: 0
]]
/send

recv request=REGISTER
action
ereg check_it = true regexp=Authorization: ([[:alnum:]]*) 
search_in=msg assign_to=12/
ereg check_it = true regexp=response=([[:alnum:]]*) 
search_in=Authorization assign_to=resp/
/action
/recv


send  retrans=500
![CDATA[

SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600
Expires: 3600
Content-Length: 0

]]
/send

/scenario

Any help is appreciated

Regards
Venkat

Not happy with your email address? 
Get the one you really want - millions of new email addresses available 
now at Yahoo!

Not happy with your email address? 
Get the one you really want - millions of new email addresses available 
now at Yahoo!
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] Variable $5 is referenced 1 times!

2008-07-04 Thread Sajith T S
Hi,

I'm trying to find the contact uri from a 200 OK response sent by the
UAC, but sipp apparently isn't happy about the scenario file syntax.
I keep getting this error: Variable $5 is referenced 1 times!

is this correct?

  recv response=200 rtd=true rrs=true
action
  ereg regexp=sip:.*;transport=.*SIP/2.0
search_in=hdr
header=Contact:
check_it=true
assign_to=5,6 /
/action
  /recv

Thanks,
Sajith.
-- 
the lyf so short, the craft so long to lerne.  
 -- Chaucer.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] Variable $5 is referenced 1 times!

2008-07-04 Thread Tomasz Radziszewski
Hi,

It's probably about an unused vatiable. I had this error in sipp 3.1 when I 
extracted something with ereg, but never used the variable. It is strange, 
because it should rather say that it's referenced 0 times.

The error goes away if you use every extracted variable somewhere in the 
scenario.

In sipp 3.0, I didn't get this error even if there were unused variables.

Another thing is that you should probably use parentheses () in the regular 
expression if you assign to more than one variable. The, the first variable 
will contain the whole expression and the next ones will contain the part 
that matches the content of each parentheses.

So you should probably have
ereg regexp=sip:(.*);transport=(.*)SIP/2.0
...
assign_to=1,5,6/

And then you will have
1 - the whole contact beginning with sip: and ending with SIP/2.0
(first variable always gets the whole expression)
5 - the sip uri (the part between sip: and ;transport)
6 - the transport

And last but not least - do you really have SIP/2.0 in Contact header? In 
one of my tests, it looks as follows

Contact: sip:[EMAIL PROTECTED]:16175;transport=UDP

Hope this helps
-- 
Tomasz Radziszewski
Senior Software Engineer
Ericpol Telecom sp. z o.o.
Madalinskiego 9, 30-303 Krakow, Poland
e-mail: [EMAIL PROTECTED]
http://www.ericpol.pl/

 Hi,

 I'm trying to find the contact uri from a 200 OK response sent by the
 UAC, but sipp apparently isn't happy about the scenario file syntax.
 I keep getting this error: Variable $5 is referenced 1 times!

 is this correct?

   recv response=200 rtd=true rrs=true
 action
   ereg regexp=sip:.*;transport=.*SIP/2.0
   search_in=hdr
   header=Contact:
   check_it=true
   assign_to=5,6 /
 /action
   /recv

 Thanks,
 Sajith.



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] Variable $5 is referenced 1 times!

2008-07-04 Thread Charles P Wright
The only referenced once check is there to prevent typos and other similar 
errors that would have SIPp load a scenario with a variable only used once 
(the theory being why do you need to read or write to a variable if you 
never read or write from it again, basically like an unused variable 
warning from your compiler).  If you don't need $5, you can use it for 
something unneeded like:
assign assign_to=5 value=0 /

I would rename 5 to something like dummy (you can use string names not 
just numeric names, which makes the scenario much more readable).

A better long term solution would be to modify the SIPp source code to 
make the whole match variable optional so that you don't need to jump 
through hoops like this.

Charles




Sajith T S [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/04/2008 09:28 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
[Sipp-users] Variable $5 is referenced 1 times!






Hi,

I'm trying to find the contact uri from a 200 OK response sent by the
UAC, but sipp apparently isn't happy about the scenario file syntax.
I keep getting this error: Variable $5 is referenced 1 times!

is this correct?

  recv response=200 rtd=true rrs=true
action
  ereg regexp=sip:.*;transport=.*SIP/2.0
 search_in=hdr
 header=Contact:
 check_it=true
 assign_to=5,6 /
/action
  /recv

Thanks,
Sajith.
-- 
the lyf so short, the craft so long to lerne. 
  -- Chaucer.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users