Alias For Country In Indications.conf

Home » Asterisk Users » Alias For Country In Indications.conf
Asterisk Users 5 Comments

Hello list, Hope you all doing fine!
I’ve tried to use the ‘alias’ directive in the indications.conf file but apparently it doesn’t work…. It looks like maybe this feature was removed, because old sample for the indications.conf file have example using the alias parameter, but newer samples don’t have it anymore…. also I couldn’t find any ticket saying this parameter was deprecated…. Anyway when trying to use it, it doesn’t work….. Anyone aware of some change related to this?
I am using Asterisk 13.6.0 and have this in indications.conf:
[uk]
*alias = gb*
description = United Kingdom ringcadence = 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. 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”
busy = 400/375,0/375
; “Congestion” is the Beep-bip engaged tone 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. (Sounds 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
stutter = 350+440/750,440/750

The CLI shows Asterisk definitely understood the ‘alias’ parameter:
CLI> indication show uk Country Indication PlayList
====================================uk 400,200,400,2000
*uk alias gb*
uk dial 350+440
uk specialdial 350+440/750,440/750
uk busy 400/375,0/375
uk congestion 400/400,0/350,400/225,0/525
uk specialcongesti 400/200,1004/300
uk unobtainable 400
uk ring 400+450/400,0/200,400+450/400,0/2000
uk callwaiting 400/100,0/4000
uk specialcallwait 400/250,0/250,400/250,0/250,400/250,0/5000
uk creditexpired 400/125,0/125
uk confirm 1400
uk switching 400/200,0/400,400/2000,0/400
uk info 950/330,0/15,1400/330,0/15,1800/330,0/1000
uk record 1400/500,0/60000
uk stutter 350+440/750,440/750

But the dialplan execution causes this:
ERROR[20778][C-00000006]: func_channel.c:661 func_channel_write_real:
Unknown country code ‘*gb*’ for tonezone. Check indications.conf for available country codes.

Any info is much appreciated!
Cheers, Patrick Wakano


Virus-free. www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

5 thoughts on - Alias For Country In Indications.conf