Skip to content
Snippets Groups Projects
indications.conf.sample 10.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • Mark Spencer's avatar
    Mark Spencer committed
    ;
    ; Static indications configuration files, used by
    ; the pbx_indications module.
    ;
    ; The "general" category is for certain variables.  All other categories
    ; are interpreted as indication countries
    ;
    ; Please note that there are NOT spaces allowed in lists!
    ;
    [general]
    
    Mark Spencer's avatar
    Mark Spencer committed
    country=us
    
    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 the is some congestion (on the network?)
    ; callwaiting = tonelist
    ;      Set of tones played when there is a callwaiting in the background.
    ; dialrecall = tonelist
    ;      Set of tones played when there is somebody ???
    ; record = tonelist
    ;      Set of tones played whenver we feel like it ???
    ; info = tonelist
    ;      Set of tones played when information is to be tranfered?
    ; every other variable will be available as a shortcut for the "PlayList" command
    ; but will not automaticly be used by Asterisk.
    ;
    ; The tonelist itself is defined by a sequence of elements, seperated by ,'s.
    ; Each element consist of a frequency (f) with a possible frequency attached
    ; (f1+f2) to it. Behind the frequency there is an optional duration, in
    ; milliseconds. If the element starts with a !, that element is NOT repeat,
    ; so only if all elements start with !, the tonelist is time-limited, all
    ; others will repeat indefinitly.
    ;
    ; In tech-talk:
    ;   tonelist = element[,element]*
    ;   element = [!]freq[+freq2][/duration]
    
    
    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
    ;
    ; 詢問中華電信後得到的回覆 :
    ; dial tone 350+440Hz continuous
    ; 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
    alias = tw
    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
    dial = 350+440
    busy = 400/375,0/375
    ring = 400+450/400,0/200,400+450/400,0/2000
    congestion = 400/400,0/350,400/225,0/525
    callwaiting = 440/100,0/4000
    dialrecall = 350+440
    ; XXX Not sure about the RECORDTONE
    record = 1400/500,0/10000
    info = 950/330,1400/330,1800/330
    
    
    [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
    
    
    ; Tones for Singapore
    [sg]
    description = Singapore
    ringcadence = 400,200,400,2000
    dial = 425
    busy = 425/750,0/750
    ring = 400+450/400,0/200,400+450/400,0/2000
    congestion = 425/250,0/250
    callwaiting = !425/200,!0/600,!425/200,!0/3000,!425/200,!0/600,!425/200
    dialrecall = 400+450/500,0/500,425/500,0/2500
    record = 1400/500,0/15000
    info = 950/330,1400/330,1800/330,0/1000