Skip to content
Snippets Groups Projects
indications.conf.sample 14.7 KiB
Newer Older
  • Learn to ignore specific revisions
  • ; indications.conf
    ; Configuration file for location specific tone indications
    ; used by the pbx_indications module.
    
    Mark Spencer's avatar
    Mark Spencer committed
    ;
    
    ; The [general] category is for certain global variables.
    ; All other categories are interpreted as location specific indications
    
    Mark Spencer's avatar
    Mark Spencer committed
    ;
    ;
    [general]
    
    country=us		; default location
    
    
    Mark Spencer's avatar
    Mark Spencer committed
    
    ; [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.
    ; ringcadance = 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?)
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; callwaiting = tonelist
    
    ;      Set of tones played when there is a call waiting in the background.
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; dialrecall = tonelist
    
    ;      Not well defined, many phone systems play a recall dial tone after hook flash
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; record = tonelist
    
    ;      Set of tones played when call recording is in progress
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; 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 automaticly be used by Asterisk.
    ;
    
    Mark Spencer's avatar
    Mark Spencer committed
    ;
    
    ; 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.
    
    Mark Spencer's avatar
    Mark Spencer committed
    ;
    
    ; concisely:
    ;   element = [!]freq[+|*freq2][/duration]
    
    Mark Spencer's avatar
    Mark Spencer committed
    ;   tonelist = element[,element]*
    
    ;
    ; Please note that SPACES ARE NOT ALLOWED in tone lists!
    ;
    
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; Tone definitions for Chile
    ; According to specs from Telefonica CTC Chile
    [cl]
    description = Chile
    ringcadance = 1000,3000
    dial = 400
    busy = 400/500,0/500
    ring = 400/1000,0/3000
    congestion = 400/200,0/200
    callwaiting = 400/250,0/8750
    dialrecall = !400/100,!0/100,!400/100,!0/100,!400/100,!0/100,400
    record = 1400/500,0/15000
    info = 950/333,1400/333,1800/333,0/1000
    
    
    [tw]
    ; http://nemesis.lonestar.org/reference/telecom/signaling/dialtone.html
    ; http://nemesis.lonestar.org/reference/telecom/signaling/busy.html
    ; http://www.iproducts.com.tw/ee/kylink/06ky-1000a.htm
    ; http://www.pbx-manufacturer.com/ky120dx.htm
    ; http://www.nettwerked.net/tones.txt
    ; http://www.cisco.com/univercd/cc/td/doc/product/tel_pswt/vco_prod/taiw_sup/taiw2.htm
    ;
    ; busy tone 480+620Hz 0.5 sec. on ,0.5 sec. off
    ; reorder tone 480+620Hz 0.25 sec. on,0.25 sec. off
    ; ringing tone 440+480Hz 1 sec. on ,2 sec. off
    ;
    description = Taiwan
    ringcadance = 1000,4000
    dial = 350+440
    busy = 480+620/500,0/500
    ring = 440+480/1000,0/2000
    congestion = 480+620/250,0/250
    callwaiting = 350+440/250,0/250,350+440/250,0/3250
    dialrecall = 300/1500,0/500
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330,0
    
    
    Mark Spencer's avatar
    Mark Spencer committed
    [us]
    description = United States / North America
    ringcadance = 2000,4000
    dial = 350+440
    busy = 480+620/500,0/500
    ring = 440+480/2000,0/4000
    congestion = 480+620/250,0/250
    callwaiting = 440/300,0/10000
    dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330,0
    
    [au]
    description = Australia
    
    ;
    ; Benjamin Wakefield - April 9, 2004
    ; Tone definition source for AU was:
    ; Australian Communications Industry Forum/Standards Australia
    ; http://www.acif.org.au/__data/page/3303/S002_2001.pdf
    ;
    ; Normal Ring
    
    Mark Spencer's avatar
    Mark Spencer committed
    ringcadance = 400,200,400,2000
    
    ; Distinctive Ring 1 - Forwarded Calls
    ; 400,400,200,200,400,1400
    ; Distinctive Ring 2 - Selective Ring 2 + Operator + Recall
    ; 400,400,200,2000
    ; Distinctive Ring 3 - Multiple Subscriber Number 1
    ; 200,200,400,2200
    ; Distinctive Ring 4 - Selective Ring 1 + Centrex
    ; 400,2600
    ; Distinctive Ring 5 - Selective Ring 3
    ; 400,400,200,400,200,1400
    ; Distinctive Ring 6 - Multiple Subscriber Number 2
    ; 200,400,200,200,400,1600
    ; Distinctive Ring 7 - Multiple Subscriber Number 3 + Data Privacy
    ; 200,400,200,400,200,1600
    ; Tones
    dial = 413+438
    busy = 425/375,0/375
    ring = 413+438/400,0/200,413+438/400,0/2000
    
    Mark Spencer's avatar
    Mark Spencer committed
    ; XXX Congestion: Should reduce by 10 db every other cadence XXX
    
    congestion = 425/375,0/375,420/375,0/375
    callwaiting = 425/200,0/200,425/200,0/4400
    dialrecall = 413+438
    ; Record tone used for Call Intrusion/Recording or Conference
    record = !425/1000,!0/15000,425/360,0/15000
    info = 425/2500,0/500
    ; Other Australian Tones
    ; The STD "pips" indicate the call is not an untimed local call
    std = !525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100
    ; Facility confirmation tone (eg. Call Forward Activated)
    facility = 425
    ; Message Waiting "stutter" dialtone
    stutter = 413+438/100,0/40
    ; Ringtone for calls to Telstra mobiles
    ringmobile = 400+450/400,0/200,400+450/400,0/2000
    
    Mark Spencer's avatar
    Mark Spencer committed
    
    [fr]
    description = France
    ringcadance = 1500,3500
    ; Dialtone can also be 440+330
    dial = 440
    busy = 440/500,0/500
    ring = 440/1500,0/3500
    ; XXX I'm making up the congestion tone XXX
    congestion = 440/250,0/250
    ; XXX I'm making up the call wait tone too XXX
    callwait = 440/300,0/10000
    ; XXX I'm making up dial recall XXX
    dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
    ; XXX I'm making up the record tone XXX
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330
    
    [nl]
    alias = de
    description = Netherlands
    ringcadance = 1000,4000
    ; Most of these 425's can also be 450's
    dial = 425
    busy = 425/500,0/500
    ring = 425/1000,0/4000
    congestion = 425/250,0/250
    ; XXX I'm making up the call wait tone XXX
    callwaiting = 440/300,0/10000
    ; XXX Assuming this is "Special Dial Tone" XXX
    dialrecall = 425/500,0/50
    ; XXX I'm making up the record tone XXX
    record = 1400/500,0/15000
    info = 950/330,1400/330,1800/330,0/1000
    
    [uk]
    description = United Kingdom
    ringcadance = 400,200,400,2000
    
    ; These are the official tones taken from BT SIN350. The actual tones
    ; used by BT include some volume differences so sound slightly different
    ; from Asterisk-generated ones.
    
    Mark Spencer's avatar
    Mark Spencer committed
    dial = 350+440
    
    ; Special dial is the intermittent dial tone heard when, for example,
    ; you have a divert active on the line
    specialdial = 350+440/750,440/750
    ; Busy is also called "Engaged"
    
    Mark Spencer's avatar
    Mark Spencer committed
    busy = 400/375,0/375
    
    ; "Congestion" is the Beep-bip engaged tone
    
    Mark Spencer's avatar
    Mark Spencer committed
    congestion = 400/400,0/350,400/225,0/525
    
    ; "Special Congestion" is not used by BT very often if at all
    specialcongestion = 400/200,1004/300
    unobtainable = 400
    ring = 400+450/400,0/200,400+450/400,0/2000
    callwaiting = 400/100,0/4000
    ; BT seem to use "Special Call Waiting" rather than just "Call Waiting" tones
    specialcallwaiting = 400/250,0/250,400/250,0/250,400/250,0/5000
    ; "Pips" used by BT on payphones. (Souds wrong, but this is what BT claim it
    ; is and I've not used a payphone for years)
    creditexpired = 400/125,0/125
    ; These two are used to confirm/reject service requests on exchanges that
    ; don't do voice announcements.
    confirm = 1400
    switching = 400/200,0/400,400/2000,0/400
    ; This is the three rising tones Doo-dah-dee "Special Information Tone",
    ; usually followed by the BT woman saying an appropriate message.
    info = 950/330,0/15,1400/330,0/15,1800/330,0/1000
    ; Not listed in SIN350
    record = 1400/500,0/60000
    
    
    [fi]
    description = Finland
    ringcadance = 1000,4000
    dial = 425
    busy = 425/300,0/300
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 425/150,0/150,425/150,0/8000
    dialrecall = 425/650,0/25
    record = 1400/500,0/15000
    info = 950/650,0/325,950/325,0/30,1400/1300,0/2600
    
    
    [no]
    description = Norway
    ringcadence = 1000,4000
    dial = 425
    busy = 425/500,0/500
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 425/200,0/600,425/200,0/10000
    dialrecall = 470/400,425/400
    record = 1400/400,0/15000
    
    Mark Spencer's avatar
    Mark Spencer committed
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0
    
    Martin Pycko's avatar
    Martin Pycko committed
    [br]
    description = Brazil
    ringcadance = 1000,4000
    dial = 425
    busy = 425/250,0/250
    ring = 425/1000,0/4000
    congestion = 425/250,0/250,425/750,0/250
    callwaiting = 425/50,0/1000
    ; Dialrecall not used in Brazil standard (using UK standard)
    dialrecall = 350+440
    ; Record tone is not used in Brazil, use busy tone
    record = 425/250,0/250
    ; Info not used in Brazil standard (using UK standard)
    info = 950/330,1400/330,1800/330
    
    
    ; Steve Davies
    ; Tone definition source for za was
    ; http://www.cisco.com/univercd/cc/td/doc/product/tel_pswt/vco_prod/safr_sup/saf02.htm
    ; (definitions for other countries can also be found there)
    ; Note, though, that South Africa uses two switch types in their network - Alcatel
    ; switches - mainly in the Western Cape, and Siemens elsewhere.
    ; The former use 383+417 in dial, ringback etc.  The latter use 400*33
    ; I've provided both, uncomment the ones you prefer
    [za]
    description = South Africa
    ringcadance = 400,200,400,2000
    ; dial/ring/callwaiting for the Siemens switches:
    dial = 400*33
    ring = 400*33/400,0/200,400*33/400,0/2000
    callwaiting = 400*33/250,0/250,400*33/250,0/250,400*33/250,0/250,400*33/250,0/250
    ; dial/ring/callwaiting for the Alcatel switches:
    ; dial = 383+417
    ; ring = 383+417/400,0/200,383+417/400,0/2000
    ; callwaiting = 383+417/250,0/250,383+417/250,0/250,383+417/250,0/250,383+417/250,0/250
    congestion = 400/250,0/250
    busy = 400/500,0/500
    dialrecall = 350+440
    ; XXX Not sure about the RECORDTONE
    record = 1400/500,0/10000
    info = 950/330,1400/330,1800/330,0/330
    
    
    Mark Spencer's avatar
    Mark Spencer committed
    [it]
    description = Italy
    ringcadence = 1000,4000
    dial = 425/600,0/1000,425/200,0/200
    busy = 425/500,0/500
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 425/200,0/600,425/200,0/10000
    dialrecall = 470/400,425/400
    record = 1400/400,0/15000
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0
    
    
    [us-old]
    description = United States Circa 1950/ North America
    ringcadance = 2000,4000
    dial = 600*120
    busy = 500*100/500,0/500
    ring = 420*40/2000,0/4000
    congestion = 500*100/250,0/250
    callwaiting = 440/300,0/10000
    dialrecall = !600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,600*120
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330,0
    
    
    [gr]
    description = Greece
    ringcadance = 1000,4000
    dial = 425/200,0/300,425/700,0/800
    busy = 425/300,0/300
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 425/150,0/150,425/150,0/8000
    dialrecall = 425/650,0/25
    record = 1400/400,0/15000
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0
    
    
    [ru]
    description = Russia / ex Soviet Union
    ringcadance = 1000,4000
    dial = 425
    busy = 425/350,0/350
    ring = 425/1000,0/4000
    congestion = 425/350,0/350
    callwaiting = 425/200,0/5000
    dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330,0
    
    
    ;NOTE - the ITU has different tonesets for NZ, but according to some residents there,
    ;      this is, indeed, the correct way to do it.
    [nz]
    description = New Zealand
    ringcadence = 400,200,400,2000
    dial = 400
    busy = 400/250,0/250
    ring = 400+450/400,0/200,400+450/400,0/2000
    congestion = 400/375,0/375
    callwaiting = !400/200,!0/3000,!400/200,!0/3000,!400/200,!0/3000,!400/200
    dialrecall = !400/100!0/100,!400/100,!0/100,!400/100,!0/100,400
    record = 1400/425,0/15000
    info = 400/750,0/100,400/750,0/100,400/750,0/100,400/750,0/400
    
    ; Singapore
    ; Reference: http://www.ida.gov.sg/idaweb/doc/download/I397/ida_ts_pstn1_i4r2.pdf 
    ; Frequency specs are:   425 Hz +/- 20Hz; 24 Hz +/- 2Hz; modulation depth 100%; SIT +/- 50Hz
    
    [sg]
    description = Singapore
    ringcadence = 400,200,400,2000
    
    dial       = 425
    ring       = 425*24/400,0/200,425*24/400,0/2000	; modulation should be 100%, not 90%
    busy       = 425/750,0/750
    
    congestion = 425/250,0/250
    
    callwaiting= 425*24/300,0/200,425*24/300,0/3200
    stutter    = !425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,425
    info       = 950/330,1400/330,1800/330,0/1000	; not currently in use acc. to reference
    dialrecall = 425*24/500,0/500,425/500,0/2500	; unspecified in IDA reference, use repeating Holding Tone A,B
    record     = 1400/500,0/15000			; unspecified in IDA reference, use 0.5s tone every 15s
    ; additionally defined in reference
    nutone     = 425/2500,0/500
    intrusion  = 425/250,0/2000
    warning    = 425/624,0/4376			; end of period tone, warning
    acceptance = 425/125,0/125
    holdinga   = !425*24/500,!0/500			; followed by holdingb
    holdingb   = !425/500,!0/2500
    
    
    [hu]
    description = Hungary
    ringcadance = 1000,4000
    dial = 425
    busy = 425/300,0/300
    ring = 425/1250,0/3750
    congestion = 425/300,0/300
    callwaiting = 425/40,0/1960
    ; Dialrecall not used in Hungary, use standard (using UK standard)
    dialrecall = 350+440
    ; Record tone is not used in Hungary, use busy tone
    record = 425/250,0/250
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0
    
    [lt]
    description = Lithuania
    ringcadence = 1000,4000
    dial = 425
    busy = 425/350,0/350
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 425/150,0/150,425/150,0/4000
    ; XXX I'm making up the dialrecall tone XXX
    dialrecall = 425/500,0/50
    ; XXX I'm making up the record tone XXX
    record = 1400/500,0/15000
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0
    
    
    [pl]
    description = Poland
    ringcadence = 1000,4000
    dial = 425
    busy = 425/500,0/500
    ring = 425/1000,0/4000
    congestion = 425/500,0/500
    callwaiting = 425/150,0/150,425/150,0/4000
    ; DIALRECALL - not specified
    dialrecall = 425/500,0/50
    ; RECORDTONE - not specified
    record = 1400/500,0/15000
    
    ; 950/1400/1800 3x0.33 on 1.0 off  repeated 3 times 
    
    info = !950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000
    
    
    
    [pt]
    description = Portugal
    ringcadance = 1000,5000
    dial = 425
    busy = 425/500,0/500
    ring = 425/1000,0/5000
    congestion = 425/200,0/200
    callwaiting = 440/300,0/10000
    dialrecall = 425/1000,0/200
    record = 1400/500,0/15000
    info = 950/330,1400/330,1800/330,0/1000
    
    
    [ee]
    description = Estonia
    ringcadance = 1000,4000
    dial = 425
    busy = 425/300,0/300
    ring = 425/1000,0/4000
    congestion = 425/200,0/200
    callwaiting = 950/650,0/325,950/325,0/30,1400/1300,0/2600
    dialrecall = 425/650,0/25
    record = 1400/500,0/15000
    info = 950/650,0/325,950/325,0/30,1400/1300,0/2600
    
    
    [mx]
    description = Mexico
    ringcadance = 2000,4000
    dial = 425
    busy = 425/250,0/250
    ring = 425/1000,0/4000
    congestion = 425/250,0/250
    callwaiting = 425/200,0/600,425/200,0/10000
    dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
    record = 1400/500,0/15000
    info = 950/330,0/30,1400/330,0/30,1800/330,0/1000