Regarding #1, you should be able to even put your test on a <nop>, if you
can't then that is probably a feature/misdesign that needs to be
added/fixed.
Charles
[EMAIL PROTECTED] wrote on 05/30/2007 01:36:02 PM:
> 1) Not directly, however there is nothing to stop you putting
> a test on a short pause (although I have never done it) which would
> give you a two way split every time. I have put a test both on
> reception and on a 200OK answer.
> 2) No, if you want to test a previous variable just use
> another name. If what you are wanting is the action to be done or
> not depending on the test, then you really want to add another
> option as part of the action logic.
> 3) If you setup the regexp to give a yes/no answer you can do
> this ? one of the examples matches a To: field in this way.
> 4) I don?t know (which means probably not).
>
> Peter
>
>
> From: [EMAIL PROTECTED] [mailto:sipp-users-
> [EMAIL PROTECTED] On Behalf Of Eugen
> Sent: 30 May 2007 15:14
> To: sipp-users@lists.sourceforge.net
> Subject: [Sipp-users] Conditional branching
>
> Hi,
>
> I?m trying to build a sip registrar stub with sipp. Related to this
> I have couple of questions that are related somehow:
> 1. Is it possible with this tool to jump to different labels
> depending on the variable that was set? Something like a switch
> rather than an if.
> 2. Is it possible to do the test (test=?n?) before the action is
executed?
> 3. Is it possible to respond to a message depending on its content?
> E.g. respond to a REGISTER with 2xx, 4xx, ? depending on the user
> portion of To: header.
> 4. Is it possible to perform a regexp with the content of ?inf file?
>
> Thanks,
> Eugen
>
> This communication is confidential and is intended solely for the
> addressee(s). The information contained herein should be considered
> Confidential Information for purposes of any Non-Disclosure or
> similar Agreement between Blueslice Networks and the recipient. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you believe this message has been sent to you in error, please
> notify the sender by replying to this transmission and delete the
> message without reading, printing, copying or disclosing it.
> La présente communication est confidentielle et strictement réservée
> au(x) destinataire(s). L?information ci-jointe doit être considérée
> comme Information Confidentielle aux fins de tout accord de non-
> divulgation ou autre entente entre Blueslice Networks et le
> destinataire. Tous visionnements, utilisations, divulgations ou
> distributions non autorisés sont interdits. Dans l?éventualité où ce
> message vous a été envoyé par erreur, veuillez s?il-vous-plait
> notifier l?émetteur par réponse à ce courriel et veuillez détruire
> ce message sans le lire, l?imprimer, le copier ou en divulguer le
contenu.
>
>
>
>
---------------------------------------------------------------------------------------------
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail
> in error) please
> notify the sender immediately and delete this e-mail. Any
> unauthorized copying,
> disclosure or distribution of the contents in this e-mail is
> strictly forbidden.
>
---------------------------------------------------------------------------------------------
> Newport Networks Limited is registered in England. Registration
> number 4067591.
> Registered office: 6 St. Andrew Street, London EC4A 3LX
>
---------------------------------------------------------------------------------------------
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users