Hi Charles and Takeshi,
I don't see <ereg ... search_in="var" variable="foo" /> happening in
SIPp version 3.1. If you can provide me a pointer for the version where
it works, it will be helpful.
I need to increase Cseq:, which I'm not able to do in a loop.
Thanks,
Shamik
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
mayamatakeshi
Sent: Wednesday, September 17, 2008 10:38 AM
To: Charles P Wright
Cc: [EMAIL PROTECTED]; sipp-users
Subject: Re: [Sipp-users] Variables as integer
On Thu, Sep 18, 2008 at 2:31 AM, Charles P Wright <[EMAIL PROTECTED]>
wrote:
With recent trunk versions you can do:
<ereg ... search_in="var" variable="foo" />
Oh! That's neat.
Thanks a lot.
mayamatakeshi <[EMAIL PROTECTED]>
09/17/2008 01:25 PM
To
Charles P Wright/Watson/[EMAIL PROTECTED]
cc
sipp-users <[email protected]>,
[EMAIL PROTECTED]
Subject
Re: [Sipp-users] Variables as integer
On Thu, Sep 18, 2008 at 1:59 AM, Charles P Wright
<[EMAIL PROTECTED]>
wrote:
The only way right now is to use a regular expression to parse
it out as a
string.
Hi Charles,
but is it possible to pass a variable to the ereg action?
It seems search_in will only accept "msg" or "hdr".
I need a variable because I'll have to increment it.
mayamatakeshi <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/17/2008 12:37 PM
To
sipp-users <[email protected]>
cc
Subject
[Sipp-users] Variables as integer
Hello,
how can I insert a variable in a message but as an integer
instead of a
floating point number?
For example, if I do:
<nop>
<action>
<assign assign_to="1" value="1" />
</action>
</nop>
and try to use it like this ...
CSeq: [$1] REGISTER
...the header will be sent as :
CSeq: 1.000000 REGISTER
How can I make it to be sent as :
CSeq: 1 REGISTER
?
regards,
takeshi
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great
prizes
Grand prize is a trip for two to an Open Source event anywhere
in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users