To use assignstr, you must upgrade to 3.0.

Charles

[EMAIL PROTECTED] wrote on 01/18/2008 04:11:12 PM:

> I have SIPp v2.0-TLS-PCAP, version 20070426 on FreeBSD and am having
> problems writing variables.  Here is the snippet:
> 
>   <recv request="BYE">
>     <action>
>           <assignstr assign_to="1" value="3334445555"/>
>     </action>
>   </recv>
> 
>   <nop>
>     <action>
>           <exec command="echo 'TN-[$1]-received' > TNs.log"/>
>     </action>
>   </nop>
> 
> 
> But what is getting written to TNs.log is "TN--received" and not 
> 3334445555 in between the dashes.   Also, the filename that is being
> written is getting a ^M appended as the last character in the 
> filename.  It shows up with a ls command as "TNs.log?" I dont know 
> why that question mark is there.  From the example posted on sipp's 
> docs this should work.  Iave also tried it on a FC3 system with SIPp
> V2.0.1-TLS-PCAP and the results are the same.  What am I doing wrong?
> 
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to