This is possible with my DTMF patch. See http://sourceforge.net/tracker/?func=detail&aid=3175395&group_id=104305&atid =637566
-----Original Message----- From: Ingemar Nilsson [mailto:ingemar.nils...@confy.se] Sent: Friday, September 16, 2011 6:09 PM To: sipp-users@lists.sourceforge.net Subject: [Sipp-users] Play PCAP file depending on values from injection file Hi, I'm trying to send DTMF digits using RTP according to a CSV injection file, but I don't understand how to get it right. First, I tried this: <nop> <action> <exec play_pcap_audio="/usr/share/sipp/pcap/dtmf_2833_[field4].pcap"/> </action> </nop> But SIPp claims it cannot find the file "/usr/share/sipp/pcap/dtmf_2833_[field4].pcap", because it did not expand [field4] from the injection file. I read some thread on sipp-users from 2007 that said that you should assign the value to a variable first, like this: <nop> <action> <assignstr assign_to="2" value="[field4]" /> <exec play_pcap_audio="/usr/share/sipp/pcap/dtmf_2833_$2.pcap"/> </action> </nop> But that didn't work either, since $2 was not expanded to the value of [field4] in pcap_play_audio. Is there any way to do this? I have a working scenario that uses SIP INFO and reads DTMF digits from an injection file, and I also have a working scenario with a hard-coded pcap_play_audio sequence. But I would like the pcap_play_audio sequence to be determined by the injection file, just like in my SIP INFO scenario, and I cannot figure out how to do that. I'm using SIPp 3.1.9 (from the EPEL repo) on CentOS 5. Regards Ingemar ---------------------------------------------------------------------------- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users