%(60000,0,300) means to generate a 60 second long 300hz tone
%(5,0,300) means a 5 ms long 300hz tone

if you are just trying to send a tone you are better off with
<action application="gentones" data="%(1000,0,300)|60"/>

which only generates 1 second of audio then buffers and loops it via the application
rather than allocating enough room for 60 seconds of signed linear audio and generating
the whole 60 seconds into memory for no reason vs 1 second sample looped 60 times.

No matter what you do it will not effect the bandwidth used, it's a factor of what codec you are using.


On Mon, Oct 6, 2008 at 4:15 AM, Jon Bruel <jbr@consiglia.dk> wrote:
Resolved: I have made further tests, and my final conclusion is that the
previous stated test results were screwed by the application 'gentones'.
This application does in some cases send more rtp than expected. If I
used:
<action application="gentones" data="%(5,0,300)"/>
<action application="gentones" data="%(5,0,300)"/>
<action application="gentones" data="%(60000,0,300)"/>
the expected rtp of 8600 kB/s was transmitted. If I used
<action application="gentones" data="%(60000,0,300)"/>
<action application="gentones" data="%(5,0,300)"/>
<action application="gentones" data="%(5,0,300)"/>.
the rtp was 34600 kB/s, and the memory is heavily consumed. The only
difference being the sequence of the gentones commands. I don't know if
this is the expected behaviour of 'gentones' or not, but it certainly
screwed up the results previously posted. /Jon



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400