[Freeswitch-users] tones.conf parameters?
Michael Collins
msc at freeswitch.org
Tue Mar 8 02:58:58 MSK 2011
On Mon, Mar 7, 2011 at 10:01 AM, Johan Helsingius <julf at julf.com> wrote:
> Hi, guru,
>
> > Another way would be to use the tone_detect application.
> > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect
>
> The problem is that I don't seem to get my DECT phone
> to generate anything before it gets a dial tone.
>
> > I found this handy as well
> > http://www.3amsystems.com/wireline/tone-search.htm
>
> That is helpful - but is the tones.conf format documented anywhere?
>
The format is not "documented" per se, but the format can be inferred by
looking at the existing entries:
generate-dial => v=-7;%(1000,0,350,440)
detect-dial => 350,440
generate-ring => v=-7;%(2000,4000,440,480)
detect-ring => 440,480
generate-busy => v=-7;%(500,500,480,620)
detect-busy => 480,620
"generate-dial" means "generate dial tone" and uses the TGML. (Look up TGML
on the wiki)
"detect-dial" means the frequenc(y|ies) to detect a dial tone.
If I read the interwebs correct then NL uses 150Hz + 450Hz for dialtone,
425Hz (.5 sec on, .5 sec off) for busy, and 425Hz (1 sec on, 4 secs off) for
ringing.
Try these values:
[nl]
generate-dial => v=-7;%(1000,0,150,450)
detect-dial => 150,450
generate-ring => v=-7;%(1000,4000,425)
detect-ring => 425
generate-busy => v=-7;%(500,500,425)
detect-busy => 425
If they work then let us know and we'll add them to the tones.conf file.
FYI, I'll let you research the "attn" "call-waiting" and "detect-failX"
tones for your country. :)
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110307/65be2712/attachment.html
More information about the FreeSWITCH-users
mailing list