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
> >
>

-------------------------------------------------------------------------
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

Reply via email to