[Sipp-users] Storing the result of an external command into an internal variable

2009-03-26 Thread Madiha Shahid
Hi,
I want to store the result of an external command into an internal variable.
Is there  a way to do that?

Example:
exec command=echo `sndfile-info [$filename] | grep Duration | awk '{print
$3}'`/

Is there a way we can extract the value returned by the above command into
an internal variable so that I can manipulate it internally in the xml
script?

Kindly respond.

Regards,
Madiha Taha
--
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] Storing the result of an external command into an internal variable

2009-03-26 Thread Charles P Wright
Not without modifying the SIPp code.

Charles




Madiha Shahid madis1...@gmail.com 
03/26/2009 08:50 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
[Sipp-users] Storing the result of an external command into an  internal 
variable






Hi,
I want to store the result of an external command into an internal 
variable. Is there  a way to do that?

Example:
exec command=echo `sndfile-info [$filename] | grep Duration | awk 
'{print $3}'`/ 

Is there a way we can extract the value returned by the above command into 
an internal variable so that I can manipulate it internally in the xml 
script?

Kindly respond.

Regards,
Madiha Taha
--
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



--
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users