A similar way that should work is to use a command line parameter - it will
also be substituted without further processing.

Peter

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Einat Avikser
Sent: 08 June 2007 15:59
To: Stephen McVarnock
Cc: [EMAIL PROTECTED];
[email protected]
Subject: Re: [Sipp-users] Escape character

Hi,

I run into similar problem and found the following solution:
1. Create a .txt file that includes:
SEQUENTIAL
[0.1.70]
2. Inside the message write: User-Agent: IP Phone [field0]
3. In SIPp command add: -inf <fileName>.txt

SIPp will read the parameter from the .txt file and accept the "[]"
You can also add more parameters like that by adding ";" to the .txt
For example:
SEQUENTIAL
[0.1.70];[0.1.71]
And [field1], [field2]..... in the script.

Hope that help..

Einat



                                                                           
             Stephen McVarnock                                             
             <stephen.mcvarnoc                                             
             [EMAIL PROTECTED]>                                              To 
             Sent by:                  [email protected]    
             sipp-users-bounce                                          cc 
             [EMAIL PROTECTED]                                             
             ge.net                                                Subject 
                                       [Sipp-users] Escape character       
                                                                           
             06/08/2007 12:09                                              
             PM                                                            
                                                                           
                                                                           
                                                                           




folks,
   I want to put the following in to a SIPP script

User-Agent: IP Phone [0.1.70]

SIPp obviously does not like the [] round the text as it tries to treat
it as a variable.

Tried using \ and \\ as the escape character but no joy - what can I use
to ensure SIPp
treats [0.1.70] as a string only.

Steve.



-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users





---------------------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to