Re: [Sipp-users] Play rtp_stream from file

2016-03-30 Thread sindelka
Hi Octavio, this is what I had in mind, but there is still a catch you have to address. If the contents of variable 99 is "10", both regexp="1" and regexp="10" match so both output variables become defined, because regular expressions operate on strings, not numbers, and "1" is a substring of

Re: [Sipp-users] Play rtp_stream from file

2016-03-30 Thread Octavio Duarte
Solved i did this Thanks for your help! Sent with MailTrack 2016-

Re: [Sipp-users] Play rtp_stream from file

2016-03-30 Thread Octavio Duarte
I tried something like this But all variables were set, Sent with MailTrack 2016-0

Re: [Sipp-users] Play rtp_stream from file

2016-03-30 Thread Octavio Duarte
Thanks Pavel actually the audios.csv file is like this RANDOM audio0.wav audio1.wav audio2.wav audio3.wav audio4.wav audioN.wav i just want to play audio randomly as you say i have to do something like this but i don't know how to set just one variabl

Re: [Sipp-users] Play rtp_stream from file

2016-03-30 Thread sindelka
Hi Octavio, not this direct way. sipp needs to pre-cache the files to be played before actually starting to execute the scenario, so you'd have to prepare a sequence of rtp_stream.../> statements, and use a set of before to set exactly one of variable_name_N depending on the contents of the

[Sipp-users] Play rtp_stream from file

2016-03-30 Thread Octavio Duarte
Hello everyone i am wondering if there is a way to play a wav audio from a file, something like this when i try to test this i get this error 2016-03-30 14:04:45.887580 1459368285.887580: Cannot read/cache rtpstream file /root/sipp/talago/[field0 file= Thanks in advanc