Tones.conf Examples

From FreeSWITCH Wiki
Jump to: navigation, search

This evidently belongs in the root of your configs /conf/tones.conf or /etc/freeswitch/tones.conf You can find the complete file in freeswitch/libs/freetdm/conf/tones.conf of the git download.

tones.conf

[in]
generate-dial => v=-7;%(1000,0,375,425) 
detect-dial => 375,425
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-attn => v=0;%(100,100,1400,2060,2450,2600)
detect-attn => 1400,2060,2450,2600
generate-callwaiting-sas => v=0;%(300,0,440)
detect-callwaiting-sas => 440
generate-callwaiting-cas => v=0;%(80,0,2750,2130)
detect-callwaiting-cas => 2750,2130
detect-fail1 => 913.8
detect-fail2 => 1370.6
detect-fail3 => 776.7


 
<!-- Dial tone for Thailand -->
[th] 
generate-dial => v=-7;%(1000,0,400,400)
detect-dial => 400,400                 
generate-ring => v=-7;%(2000,4000,400,400)
detect-ring => 400,400                    
generate-busy => v=-7;%(500,500,480,620)
detect-busy => 480,620                  
generate-attn => v=0;%(100,100,1400,2060,2450,2600)
detect-attn => 1400,2060,2450,2600                 
generate-callwaiting-sas => v=0;%(300,0,440)
detect-callwaiting-sas => 440               
generate-callwaiting-cas => v=0;%(80,0,2750,2130)
detect-callwaiting-cas => 2750,2130
detect-fail1 => 913.8
detect-fail2 => 1370.6
detect-fail3 => 1776.7
<!-- Dial tone for Australia -->
[au]
generate-dial => v=-7;%(1000,0,413,438)
detect-dial => 413,438
generate-ring => v=-7;%(400,200,413,438);%(400,2000,413,438)
detect-ring => 413,438
generate-busy => v=-7;%(375,375,425)
detect-busy => 425
generate-attn => v=0;%(100,100,1400,2060,2450,2600)
detect-attn => 1400,2060,2450,2600
generate-callwaiting-sas => v=0;%(300,0,440)
detect-callwaiting-sas => 440
generate-callwaiting-cas => v=0;%(80,0,2750,2130)
detect-callwaiting-cas => 2750,2130
detect-fail1 => 913.8
detect-fail2 => 1370.6
detect-fail3 => 776.7