[Sipp-users] Variable in recv timeout

2008-07-24 Thread Ricardo Fernandes
Hello,

How can i put a variable in the timeout field of recv.
Ex:

nop
action
  assignstr assign_to=MillisToWaitTemp value=[field2]/
  todouble assign_to=MillisToWait variable=MillisToWaitTemp/
   /action
nop

recv request=BYE  timeout=[$MillisToWait] ontimeout=Label1
next=LabelBye/

This gives me an error:
message timeout 'timeout' parameter, [$MillisToWait] is not a valid integer!

Is there a way to make this work, or is this a illegal instruction?


TIA
Ricardo Fernandes

-
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=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] Variable in recv timeout

2008-07-24 Thread Charles P Wright
The timeout field does not accept a variable as input.

Charles




Ricardo Fernandes [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/24/2008 06:14 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
[Sipp-users] Variable in recv timeout






Hello,

How can i put a variable in the timeout field of recv.
Ex:

nop
 action
  assignstr assign_to=MillisToWaitTemp value=[field2]/
  todouble assign_to=MillisToWait 
variable=MillisToWaitTemp/
   /action
nop

recv request=BYE  timeout=[$MillisToWait] ontimeout=Label1
next=LabelBye/

This gives me an error:
message timeout 'timeout' parameter, [$MillisToWait] is not a valid 
integer!

Is there a way to make this work, or is this a illegal instruction?


TIA
Ricardo Fernandes

-
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=100url=/
___
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=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users