On 11/07/14 19:03, Joe Schmid wrote:
> Hello,
> 
> I'm trying to have rtp_stream send a different audio file for each
> call using SIPp v3.4-beta1 (aka v3.3.990)-SCTP-PCAP-RTPSTREAM. I
> see that my variable is getting the expected filename string, but
> rtp_stream doesn't appear to be processing the variable.
> 
> The docs seem pretty clear that this should be supported, e.g.
> from: 
> http://sipp.sourceforge.net/doc1.1/reference.html#Execute+a+command
>
>  <exec rtp_stream="[filename],[loopcount],[payloadtype]" /> will 
> stream the audio contained in [filename], repeat the stream
> [loopcount] times (the default is 1, and -1 indicates it will
> repeat forever), and will treat the audio as being of [payloadtype]
> (where 8 is the default of PCMA, 0 indicates PCMU, and 18 indicates
> G729).
> 

Sorry about this - variables aren't supported here, and that's just
bad documentation style on my part. The square brackets are just meant
to show that those are placeholders, which you replace with the
filename etc. - but I realise now that it's too similar to the
variable notation.

I'll get the docs updated to remove that misleading syntax. I've also
had a look at actually allowing variables here - it's not as difficult
as allowing variables for PCAP-play filenames, but not completely
trivial. Could you maybe say more about what you're trying to do here,
and how important having this as a variable is?

Best,
Rob

------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to