Re: [Sipp-users] Sending messages in a loop
Hello Shamik, I just sent the response for this in your other thread. On Fri, Nov 14, 2008 at 12:37 PM, Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) <[EMAIL PROTECTED]> wrote: > Yes, Thanks Takeshi. > > Is there a way to increment integer value of a variable using sipp version > 3.1 ? > > Thanks, > > Shamik > -- > *From:* mayamatakeshi [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, November 13, 2008 7:31 PM > *To:* Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) > *Cc:* sipp-users@lists.sourceforge.net > *Subject:* Re: [Sipp-users] Sending messages in a loop > > Hello Shamik, > > You can do this: > > > [Actions to be repeated goes here] > > > > > On Fri, Nov 14, 2008 at 8:23 AM, Shamik Mukhopadhyay -X (shmukhop - WIPRO > at Cisco) <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> Once the call is established, I need to send INFO message at regular >> intervals. I'm using SIPP 3.1. Is there a way to loop to a label ? >> >> TIA, >> >> Shamik >> >> - >> 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 >> Sipp-users@lists.sourceforge.net >> 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Variables as integer
On Fri, Nov 14, 2008 at 12:25 PM, Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) <[EMAIL PROTECTED]> wrote: > Hi Charles, > > Does that mean that using 3.1 - we can not increment an integer value in > sipp script ? If not, please provide me pointer. Hi, v. 3.1 will work but it must be the version from the svn repo. Do the following (or the equivalent to your distro): Ensure OpenSSL development headers and libs are installed: yum install openssl-devel.i386 Pick source from svn repo: svn co https://sipp.svn.sourceforge.net/svnroot/sipp sipp Go to source folder: cd sipp/sipp/trunk Build: make pcapplay_ossl To increment the CSeq, I use this (sorry, maybe it could be shorter, but that's what I was able to come up with): ... Extra things go here and then loop > Thanks, > > Shamik > > -Original Message- > From: Charles P Wright [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2008 6:44 PM > To: Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) > Cc: mayamatakeshi; sipp-users@lists.sourceforge.net > Subject: RE: [Sipp-users] Variables as integer > > You need to get a recent subversion trunk version, 3.1 does not have > this support. > > Charles > > > > > "Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco)" > <[EMAIL PROTECTED]> > 11/13/2008 07:07 PM > > To > "mayamatakeshi" <[EMAIL PROTECTED]>, Charles P > Wright/Watson/[EMAIL PROTECTED] cc > Subject > RE: [Sipp-users] Variables as integer > > > > > > > Hi Charles and Takeshi, > > I don't see 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: > > > > 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] > 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 > 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: > > > > > > > and try to use it like this ... > CSeq: [$1] REGISTER > > ...the header will be sent as : > CSeq: 1.00 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 > Sipp-users@lists.sourceforge.net > 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Sending messages in a loop
Yes, Thanks Takeshi. Is there a way to increment integer value of a variable using sipp version 3.1 ? Thanks, Shamik From: mayamatakeshi [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 7:31 PM To: Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) Cc: sipp-users@lists.sourceforge.net Subject: Re: [Sipp-users] Sending messages in a loop Hello Shamik, You can do this: [Actions to be repeated goes here] On Fri, Nov 14, 2008 at 8:23 AM, Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) <[EMAIL PROTECTED]> wrote: Hi, Once the call is established, I need to send INFO message at regular intervals. I'm using SIPP 3.1. Is there a way to loop to a label ? TIA, Shamik - 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 Sipp-users@lists.sourceforge.net 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Sending messages in a loop
Hello Shamik, You can do this: [Actions to be repeated goes here] On Fri, Nov 14, 2008 at 8:23 AM, Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) <[EMAIL PROTECTED]> wrote: > Hi, > > Once the call is established, I need to send INFO message at regular > intervals. I'm using SIPP 3.1. Is there a way to loop to a label ? > > TIA, > > Shamik > > - > 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 > Sipp-users@lists.sourceforge.net > 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Variables as integer
Hi Charles, Does that mean that using 3.1 - we can not increment an integer value in sipp script ? If not, please provide me pointer. Thanks, Shamik -Original Message- From: Charles P Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 6:44 PM To: Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco) Cc: mayamatakeshi; sipp-users@lists.sourceforge.net Subject: RE: [Sipp-users] Variables as integer You need to get a recent subversion trunk version, 3.1 does not have this support. Charles "Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco)" <[EMAIL PROTECTED]> 11/13/2008 07:07 PM To "mayamatakeshi" <[EMAIL PROTECTED]>, Charles P Wright/Watson/[EMAIL PROTECTED] cc Subject RE: [Sipp-users] Variables as integer Hi Charles and Takeshi, I don't see 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: 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] 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 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: and try to use it like this ... CSeq: [$1] REGISTER ...the header will be sent as : CSeq: 1.00 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 Sipp-users@lists.sourceforge.net 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Variables as integer
You need to get a recent subversion trunk version, 3.1 does not have this support. Charles "Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco)" <[EMAIL PROTECTED]> 11/13/2008 07:07 PM To "mayamatakeshi" <[EMAIL PROTECTED]>, Charles P Wright/Watson/[EMAIL PROTECTED] cc Subject RE: [Sipp-users] Variables as integer Hi Charles and Takeshi, I don't see 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: 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] 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 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: and try to use it like this ... CSeq: [$1] REGISTER ...the header will be sent as : CSeq: 1.00 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 Sipp-users@lists.sourceforge.net 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Variables as integer
Hi Charles and Takeshi, I don't see 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: 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] 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 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: and try to use it like this ... CSeq: [$1] REGISTER ...the header will be sent as : CSeq: 1.00 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 Sipp-users@lists.sourceforge.net 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Sending messages in a loop
Hi, Once the call is established, I need to send INFO message at regular intervals. I'm using SIPP 3.1. Is there a way to loop to a label ? TIA, Shamik - 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users