[asterisk-dev] A question regarding Milliwatt() application

Kevin P. Fleming kpfleming at digium.com
Thu Mar 10 15:31:21 CST 2011


On 03/10/2011 03:15 PM, Pavel Troller wrote:
> Hi!
>    I would like to ask, why the Milliwatt generator is started like this:
>
>    res = ast_playtones_start(chan, 23255, "1004/1000", 0);
>
>    i.e. the tone description contains one fragment of 1004 Hz tone and 1000 ms
> in length without a pause, which causes the tone to be restarted every second.
>
>    I would use just
>
>    res = ast_playtones_start(chan, 23255, "1004", 0);
>
>    i.e. plain continuous tone.

I have no idea why it is that way. It doesn't seem to be beneficial.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list