Dočasná změna nastavení v dialplánu:
Set(CHANNEL(tonezone)=[cz])
[general] country=cz ; default location [cz] description = Czech Republic ; Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf ringcadence = 1000,4000 dial = 425/330,0/330,425/660,0/660 busy = 425/330,0/330 ring = 425/1000,0/4000 congestion = 425/165,0/165 callwaiting = 425/330,0/9000 ; DIALRECALL - not specified dialrecall = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425/330,0/330,425/660,0/660 ; RECORDTONE - not specified record = 1400/500,0/14000 info = 950/330,0/30,1400/330,0/30,1800/330,0/1000 ; STUTTER - not specified stutter = 425/450,0/50
; [example] ; description = string ; The full name of your country, in English. ; alias = iso[,iso]* ; List of other countries 2-letter iso codes, which have the same ; tone indications. ; ringcadence = num[,num]* ; List of durations the physical bell rings. ; dial = tonelist ; Set of tones to be played when one picks up the hook. ; busy = tonelist ; Set of tones played when the receiving end is busy. ; congestion = tonelist ; Set of tones played when there is some congestion (on the network?) ; callwaiting = tonelist ; Set of tones played when there is a call waiting in the background. ; dialrecall = tonelist ; Not well defined; many phone systems play a recall dial tone after hook ; flash. ; record = tonelist ; Set of tones played when call recording is in progress. ; info = tonelist ; Set of tones played with special information messages (e.g., "number is ; out of service") ; 'name' = tonelist ; Every other variable will be available as a shortcut for the "PlayList" command ; but will not be used automatically by Asterisk. ; ; ; The tonelist itself is defined by a comma-separated sequence of elements. ; Each element consist of a frequency (f) with an optional duration (in ms) ; attached to it (f/duration). The frequency component may be a mixture of two ; frequencies (f1+f2) or a frequency modulated by another frequency (f1*f2). ; The implicit modulation depth is fixed at 90%, though. ; If the list element starts with a !, that element is NOT repeated, ; therefore, only if all elements start with !, the tonelist is time-limited, ; all others will repeat indefinitely. ; ; concisely: ; element = [!]freq[+|*freq2][/duration] ; tonelist = element[,element]* ; ; Please note that SPACES ARE NOT ALLOWED in tone lists!