You can not use a variables for most of the XML parameters, including 
play_pcap_audio.

To make this work you would need to modify SIPp itself as described in the 
message you cited.

Charles

[EMAIL PROTECTED] wrote on 07/31/2007 09:35:46 AM:

> 
> Hi ,
> 
> I've been watching the thread on this issue, and I'm not sure if the
> ending was that , this kind of 
> variable assignment only works for double, I believe this is whats 
stated in 
> 
http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg01495.html
> this is the most recent thread I can find related to this issue.
> 
> The section I'm having the problem with :
> 
> "
>  <nop>
>         <action>
>                 <assignstr assign_to="1" value="[field0]" />
>                 <log message="ONE: [$1]  FIELD0:[field0]" />
>                 <exec play_pcap_audio=[$1]/>
>         </action>
>  </nop>
> "
> 
> 
> The output is 
> 
> 
> "
> 2007-07-31      15:12:04:084    1185891124.084705: Can't open PCAP file 
'$1]/>
>         </action>
>         </nop>
> 
> 
>   <pause milliseconds='.
> "
> 
> if I comment out the "exec" line , the senario works fine, and the 
> logging reveals that the assignment to "1" does happen.
> 
> I;ve tried every variation of "[$1]" , "$1" , etc.....
> 
> 
> Will there be changes needed to the sipp build to cope with strings 
> in this senario?
> 
> And does anyone have a work around...
> 
> Please not, I don't have much xml experience.
> 
> 
> looking forwardt o getting this working
> 
> thanks
> Noel Nesbitt
> Avaya
> 
> 
> 
> 
> 
> 
> 
> 
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to