-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 3:25 PM
To: [email protected]
Subject: Sipp-users Digest, Vol 15, Issue 25
Send Sipp-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/sipp-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Sipp-users digest..."
Today's Topics:
1. Re: recv or recv and then a 200 OK (Simon Flannery)
2. Re: recv or recv and then a 200 OK
(Boulkroune, Olivier (Non-HP:Atos Origin))
3. Re: recv or recv and then a 200 OK (Simon Flannery)
4. Re: recv or recv and then a 200 OK
(Boulkroune, Olivier (Non-HP:Atos Origin))
5. Re: recv or recv and then a 200 OK (Simon Flannery)
6. Re: SIP Re-Registration with AUTH information (Bj?rn Korall)
----------------------------------------------------------------------
Message: 1
Date: Fri, 24 Aug 2007 15:30:28 +0200
From: "Simon Flannery" <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] recv or recv and then a 200 OK
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Nevermind! I looked at the doco's and found you can do PUBLISH |
SUBSCRIBE etc...
Simon
On 8/24/07, Simon Flannery <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> Does anyone know if it is possible (and more importantly how) to write
> a scenario that is able to receive one of two messages, then respond
> with a single response?
>
> For example, a scenario file which would receive a PUBLISH *or*
> SUBSCRIBE message and reply with a simple 200 OK message?
>
> It is possible to do something silly like?:
>
> <recv request="PUBLISH, SUBSCRIBE" rrs="true" crlf="true" />
>
> or
>
> <recv request="PUBLISH or SUBSCRIBE" rrs="true" crlf="true" />
>
> ???
>
> How would I achieve this using SIPp?
>
> Thanks in advance,
>
> Simon
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <scenario name="UAS Basic responder">
>
> <recv request="PUBLISH" rrs="true" crlf="true" />
>
> OR ?????????????????????????????????
>
> <recv request="SUBSCRIBE" rrs="true" crlf="true" />
>
> <send>
> <![CDATA[
>
> SIP/2.0 200 OK
> [last_From:]
> [last_CSeq:]
> [last_To:]
> [last_Call-ID:]
> [last_Via:]
> Content-Length: 0
>
> ]]>
> </send>
>
> <pause milliseconds="1000" />
>
> </scenario>
>
------------------------------
Message: 2
Date: Fri, 24 Aug 2007 15:38:03 +0200
From: "Boulkroune, Olivier (Non-HP:Atos Origin)"
<[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] recv or recv and then a 200 OK
To: "Simon Flannery" <[EMAIL PROTECTED]>,
<[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Try something like
<recv request="PUBLISH" optional="true" next="3"/>
<recv request="SUBSCRIBE"/>
<label id="3">
<send 200 OK >
Regards,
Olivier Boulkroune
-----Message d'origine-----
De?: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Simon
Flannery
Envoy??: vendredi 24 ao?t 2007 15:04
??: [email protected]
Objet?: [Sipp-users] recv or recv and then a 200 OK
Hi list,
Does anyone know if it is possible (and more importantly how) to write
a scenario that is able to receive one of two messages, then respond
with a single response?
For example, a scenario file which would receive a PUBLISH *or*
SUBSCRIBE message and reply with a simple 200 OK message?
It is possible to do something silly like?:
<recv request="PUBLISH, SUBSCRIBE" rrs="true" crlf="true" />
or
<recv request="PUBLISH or SUBSCRIBE" rrs="true" crlf="true" />
???
How would I achieve this using SIPp?
Thanks in advance,
Simon
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="UAS Basic responder">
<recv request="PUBLISH" rrs="true" crlf="true" />
OR ?????????????????????????????????
<recv request="SUBSCRIBE" rrs="true" crlf="true" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_CSeq:]
[last_To:]
[last_Call-ID:]
[last_Via:]
Content-Length: 0
]]>
</send>
<pause milliseconds="1000" />
</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------
Message: 3
Date: Fri, 24 Aug 2007 15:43:16 +0200
From: "Simon Flannery" <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] recv or recv and then a 200 OK
To: "Boulkroune, Olivier (Non-HP:Atos Origin)"
<[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Thanks, I just tried what it says in the documentation, but it didn't
seem to work.
I tried the following scenario:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="UAS Basic responder">
<recv request="PUBLISH|SUBSCRIBE" rrs="true" crlf="true" regexp="true" />
<send>
<![CDATA[
SIP/2.0 403 User Not Authorized
[last_From:]
[last_CSeq:]
[last_To:]
[last_Call-ID:]
[last_Via:]
Content-Length: 0
]]>
</send>
<pause milliseconds="1000" />
</scenario>
However, SIPp reports an un-expected message whenever it receives a
PUBLISH message. What's the deal? A bug? Is it fixed in the trunk?
Simon
On 8/24/07, Boulkroune, Olivier (Non-HP:Atos Origin)
<[EMAIL PROTECTED]> wrote:
> Try something like
>
> <recv request="PUBLISH" optional="true" next="3"/>
>
> <recv request="SUBSCRIBE"/>
>
> <label id="3">
> <send 200 OK >
>
> Regards,
>
> Olivier Boulkroune
>
>
> -----Message d'origine-----
> De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Simon
Flannery
> Envoy?: vendredi 24 ao?t 2007 15:04
> ?: [email protected]
> Objet: [Sipp-users] recv or recv and then a 200 OK
>
> Hi list,
>
> Does anyone know if it is possible (and more importantly how) to write
> a scenario that is able to receive one of two messages, then respond
> with a single response?
>
> For example, a scenario file which would receive a PUBLISH *or*
> SUBSCRIBE message and reply with a simple 200 OK message?
>
> It is possible to do something silly like?:
>
> <recv request="PUBLISH, SUBSCRIBE" rrs="true" crlf="true" />
>
> or
>
> <recv request="PUBLISH or SUBSCRIBE" rrs="true" crlf="true" />
>
> ???
>
> How would I achieve this using SIPp?
>
> Thanks in advance,
>
> Simon
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <scenario name="UAS Basic responder">
>
> <recv request="PUBLISH" rrs="true" crlf="true" />
>
> OR ?????????????????????????????????
>
> <recv request="SUBSCRIBE" rrs="true" crlf="true" />
>
> <send>
> <![CDATA[
>
> SIP/2.0 200 OK
> [last_From:]
> [last_CSeq:]
> [last_To:]
> [last_Call-ID:]
> [last_Via:]
> Content-Length: 0
>
> ]]>
> </send>
>
> <pause milliseconds="1000" />
>
> </scenario>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
------------------------------
Message: 4
Date: Fri, 24 Aug 2007 15:55:12 +0200
From: "Boulkroune, Olivier (Non-HP:Atos Origin)"
<[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] recv or recv and then a 200 OK
To: "Simon Flannery" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Indeed, you can also use this feature, but with a regexp_match attribute
instead of regexp. I just tried it successfully with the latest trunk
version.
Regards,
Olivier Boulkroune
-----Message d'origine-----
De?: Simon Flannery [mailto:[EMAIL PROTECTED]
Envoy??: vendredi 24 ao?t 2007 15:43
??: Boulkroune, Olivier (Non-HP:Atos Origin)
Cc?: [email protected]
Objet?: Re: [Sipp-users] recv or recv and then a 200 OK
Thanks, I just tried what it says in the documentation, but it didn't
seem to work.
I tried the following scenario:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="UAS Basic responder">
<recv request="PUBLISH|SUBSCRIBE" rrs="true" crlf="true" regexp="true" />
<send>
<![CDATA[
SIP/2.0 403 User Not Authorized
[last_From:]
[last_CSeq:]
[last_To:]
[last_Call-ID:]
[last_Via:]
Content-Length: 0
]]>
</send>
<pause milliseconds="1000" />
</scenario>
However, SIPp reports an un-expected message whenever it receives a
PUBLISH message. What's the deal? A bug? Is it fixed in the trunk?
Simon
On 8/24/07, Boulkroune, Olivier (Non-HP:Atos Origin)
<[EMAIL PROTECTED]> wrote:
> Try something like
>
> <recv request="PUBLISH" optional="true" next="3"/>
>
> <recv request="SUBSCRIBE"/>
>
> <label id="3">
> <send 200 OK >
>
> Regards,
>
> Olivier Boulkroune
>
>
> -----Message d'origine-----
> De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Simon
Flannery
> Envoy?: vendredi 24 ao?t 2007 15:04
> ?: [email protected]
> Objet: [Sipp-users] recv or recv and then a 200 OK
>
> Hi list,
>
> Does anyone know if it is possible (and more importantly how) to write
> a scenario that is able to receive one of two messages, then respond
> with a single response?
>
> For example, a scenario file which would receive a PUBLISH *or*
> SUBSCRIBE message and reply with a simple 200 OK message?
>
> It is possible to do something silly like?:
>
> <recv request="PUBLISH, SUBSCRIBE" rrs="true" crlf="true" />
>
> or
>
> <recv request="PUBLISH or SUBSCRIBE" rrs="true" crlf="true" />
>
> ???
>
> How would I achieve this using SIPp?
>
> Thanks in advance,
>
> Simon
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <scenario name="UAS Basic responder">
>
> <recv request="PUBLISH" rrs="true" crlf="true" />
>
> OR ?????????????????????????????????
>
> <recv request="SUBSCRIBE" rrs="true" crlf="true" />
>
> <send>
> <![CDATA[
>
> SIP/2.0 200 OK
> [last_From:]
> [last_CSeq:]
> [last_To:]
> [last_Call-ID:]
> [last_Via:]
> Content-Length: 0
>
> ]]>
> </send>
>
> <pause milliseconds="1000" />
>
> </scenario>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
------------------------------
Message: 5
Date: Fri, 24 Aug 2007 16:00:50 +0200
From: "Simon Flannery" <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] recv or recv and then a 200 OK
To: "Boulkroune, Olivier (Non-HP:Atos Origin)"
<[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Ohhh, I see my typo. Thanks!
On 8/24/07, Simon Flannery <[EMAIL PROTECTED]> wrote:
> Thanks, I just tried what it says in the documentation, but it didn't
> seem to work.
>
> I tried the following scenario:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <scenario name="UAS Basic responder">
>
> <recv request="PUBLISH|SUBSCRIBE" rrs="true" crlf="true" regexp="true" />
>
> <send>
> <![CDATA[
>
> SIP/2.0 403 User Not Authorized
> [last_From:]
> [last_CSeq:]
> [last_To:]
> [last_Call-ID:]
> [last_Via:]
> Content-Length: 0
>
> ]]>
> </send>
>
> <pause milliseconds="1000" />
>
> </scenario>
>
> However, SIPp reports an un-expected message whenever it receives a
> PUBLISH message. What's the deal? A bug? Is it fixed in the trunk?
>
> Simon
>
> On 8/24/07, Boulkroune, Olivier (Non-HP:Atos Origin)
> <[EMAIL PROTECTED]> wrote:
> > Try something like
> >
> > <recv request="PUBLISH" optional="true" next="3"/>
> >
> > <recv request="SUBSCRIBE"/>
> >
> > <label id="3">
> > <send 200 OK >
> >
> > Regards,
> >
> > Olivier Boulkroune
> >
> >
> > -----Message d'origine-----
> > De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Simon
Flannery
> > Envoy?: vendredi 24 ao?t 2007 15:04
> > ?: [email protected]
> > Objet: [Sipp-users] recv or recv and then a 200 OK
> >
> > Hi list,
> >
> > Does anyone know if it is possible (and more importantly how) to write
> > a scenario that is able to receive one of two messages, then respond
> > with a single response?
> >
> > For example, a scenario file which would receive a PUBLISH *or*
> > SUBSCRIBE message and reply with a simple 200 OK message?
> >
> > It is possible to do something silly like?:
> >
> > <recv request="PUBLISH, SUBSCRIBE" rrs="true" crlf="true" />
> >
> > or
> >
> > <recv request="PUBLISH or SUBSCRIBE" rrs="true" crlf="true" />
> >
> > ???
> >
> > How would I achieve this using SIPp?
> >
> > Thanks in advance,
> >
> > Simon
> >
> > <?xml version="1.0" encoding="ISO-8859-1" ?>
> > <!DOCTYPE scenario SYSTEM "sipp.dtd">
> >
> > <scenario name="UAS Basic responder">
> >
> > <recv request="PUBLISH" rrs="true" crlf="true" />
> >
> > OR ?????????????????????????????????
> >
> > <recv request="SUBSCRIBE" rrs="true" crlf="true" />
> >
> > <send>
> > <![CDATA[
> >
> > SIP/2.0 200 OK
> > [last_From:]
> > [last_CSeq:]
> > [last_To:]
> > [last_Call-ID:]
> > [last_Via:]
> > Content-Length: 0
> >
> > ]]>
> > </send>
> >
> > <pause milliseconds="1000" />
> >
> > </scenario>
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Sipp-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sipp-users
> >
>
------------------------------
Message: 6
Date: Mon, 27 Aug 2007 11:54:42 +0200
From: Bj?rn Korall <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] SIP Re-Registration with AUTH information
To: "Simon Flannery" <[EMAIL PROTECTED]>,
<[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1
Dear Simon,
Unfortunately, SIPp does always use the same auth values, when no explicit
auth-infos are send by the core. Do you (or anyone else) have any ideas how
to calculate new values with an increasing counce counter?
Best,
Bjoern
-----Urspr?ngliche Nachricht-----
Von: Simon Flannery [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 22. August 2007 19:52
An: Bj?rn Korall
Cc: [email protected]
Betreff: Re: [Sipp-users] SIP Re-Registration with AUTH information
Hej Bjorn,
Your IMS core should generate the nounce for each and every challenge.
This assumes that you are you are using deist mode (or even Single Sign On)
in your IMS core.
This is just a guess, but I would change the following line:
<pause milliseconds="60000" auth="true" next ="2"/>
to
<pause milliseconds="60000" next ="2"/>
I am thinking that this will stop SIPp from using the OLD auth nounce value.
HTH,
Simon
On 8/22/07, Bj?rn Korall <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following problem. I want to do a registration and continuous
re-registrations of a user after a specific time. The Re-Registrations
should contain the correct authentication information. However, the nounce
count is not incremented and thus, I receive 401s, when re-registering :-(
Is there a way in incrementing the nounce counter in SIPp? I am using latest
stable release 2.0.1.
> Thanks a lot in advance!
>
> Best,
> Bjoern
>
> PS.: Below, you find the scenario I am using. I am injecting all the
information needed from an external file with field2 containing the
Auth-Information (MD5). After first (successfull) registration, it pauses
for some time and sends the Registration with Auth-Information again
(implemented as a loop, jumping to label 2).
>
>
>
> <?xml version="1.0" encoding="ISO-88519-1" ?> <!DOCTYPE scenario
> SYSTEM "sipp.dtd">
>
> <scenario name="Register_Reregister">
>
>
> <send retrans="500">
> <![CDATA[
>
> REGISTER sip:mydomain.org SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> Max-Forwards: 70
> Contact: <sip:[EMAIL PROTECTED]:[local_port]>
> To: [field0] <sip:[EMAIL PROTECTED]>
> From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
> Call-ID: [call_id]
> CSeq: [cseq] REGISTER
> Expires: 600
> User-Agent: SIPp/Linux
> Content-Length: 0
>
> ]]>
> </send>
>
> <recv response="200" optional="true" next="1"> </recv> <recv
> response="401" auth="true"> </recv>
>
> <label id="2"/>
>
> <send retrans="500">
> <![CDATA[
>
> REGISTER sip:mydomain.org SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> Max-Forwards: 70
> To: [field0] <sip:[EMAIL PROTECTED]>
> From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
> Call-ID: [call_id]
> CSeq: [cseq] REGISTER
> Contact: <sip:[EMAIL PROTECTED]:[local_port]>
> [field2]
> Expires: 600
> User-Agent: SIPp/Linux
> Content-Length: 0
>
> ]]>
> </send>
>
> <recv response="200" >
> </recv>
>
>
>
>
> <label id="1"/>
>
>
> <pause milliseconds="60000" auth="true" next ="2"/>
>
> <!-- Definition of the response time values -->
> <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
>
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
End of Sipp-users Digest, Vol 15, Issue 25
******************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users