<div dir="ltr"><div>It looks like any support for "alias" as a tone zone alias feature was removed<br>back in 2009 (in git commit 4ec301360cdd84be911b06cd0adda2459d66bc6e) as<br>part of a code cleanup likely because alias was poorly conceived and didn't<br>work. What you have done by defining "alias" now is to define a tone event<br>called alias with a tone cadence of "gb".<br><br></div>Richard<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 23, 2018 at 1:08 AM, Patrick Wakano <span dir="ltr"><<a href="mailto:pwakano@gmail.com" target="_blank">pwakano@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello list,<br></div><div>Hope you all doing fine!<br></div>I've tried to use the 'alias' directive in the indications.conf file but apparently it doesn't work....<br></div>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?<br></div>I am using Asterisk 13.6.0 and have this in indications.conf:<br><span style="font-family:monospace,monospace">[uk]<br><b>alias = gb</b><br>description = United Kingdom<br>ringcadence = 400,200,400,2000<br>; These are the official tones taken from BT SIN350. The actual tones<br>; used by BT include some volume differences so sound slightly different<br>; from Asterisk-generated ones.<br>dial = 350+440<br>; Special dial is the intermittent dial tone heard when, for example,<br>; you have a divert active on the line<br>specialdial = 350+440/750,440/750<br>; Busy is also called "Engaged"<br>busy = 400/375,0/375<br>; "Congestion" is the Beep-bip engaged tone<br>congestion = 400/400,0/350,400/225,0/525<br>; "Special Congestion" is not used by BT very often if at all<br>specialcongestion = 400/200,1004/300<br>unobtainable = 400<br>ring = 400+450/400,0/200,400+450/400,<wbr>0/2000<br>callwaiting = 400/100,0/4000<br>; BT seem to use "Special Call Waiting" rather than just "Call Waiting" tones<br>specialcallwaiting = 400/250,0/250,400/250,0/250,<wbr>400/250,0/5000<br>; "Pips" used by BT on payphones. (Sounds wrong, but this is what BT claim it<br>; is and I've not used a payphone for years)<br>creditexpired = 400/125,0/125<br>; These two are used to confirm/reject service requests on exchanges that<br>; don't do voice announcements.<br>confirm = 1400<br>switching = 400/200,0/400,400/2000,0/400<br>; This is the three rising tones Doo-dah-dee "Special Information Tone",<br>; usually followed by the BT woman saying an appropriate message.<br>info = 950/330,0/15,1400/330,0/15,<wbr>1800/330,0/1000<br>; Not listed in SIN350<br>record = 1400/500,0/60000<br>stutter = 350+440/750,440/750<br></span><br>The CLI shows Asterisk
definitely
understood the 'alias' parameter:<br><span style="font-family:monospace,monospace">CLI> indication show uk<br>Country Indication PlayList<br>==============================<wbr>=======<br>uk <ringcadence> 400,200,400,2000<br><b>uk alias gb</b><br>uk dial 350+440<br>uk specialdial 350+440/750,440/750<br>uk busy 400/375,0/375<br>uk congestion 400/400,0/350,400/225,0/525<br>uk specialcongesti 400/200,1004/300<br>uk unobtainable 400<br>uk ring 400+450/400,0/200,400+450/400,<wbr>0/2000<br>uk callwaiting 400/100,0/4000<br>uk specialcallwait 400/250,0/250,400/250,0/250,<wbr>400/250,0/5000<br>uk creditexpired 400/125,0/125<br>uk confirm 1400<br>uk switching 400/200,0/400,400/2000,0/400<br>uk info 950/330,0/15,1400/330,0/15,<wbr>1800/330,0/1000<br>uk record 1400/500,0/60000<br>uk stutter 350+440/750,440/750</span><br><br></div>But the dialplan execution causes this:<br><span style="font-family:monospace,monospace">ERROR[20778][C-00000006]: func_channel.c:661 func_channel_write_real: Unknown country code '<b>gb</b>' for tonezone. Check indications.conf for available country codes.<br><br></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Any info is much appreciated!<br>Cheers,</font></span><span style="font-family:arial,helvetica,sans-serif"><br></span></div><span style="font-family:arial,helvetica,sans-serif">Patrick Wakano</span><span style="font-family:monospace,monospace"><br></span></div><div id="gmail-m_4360720622955853513DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" style="width: 46px; height: 29px;" width="46" height="29"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a>
</td>
</tr>
</tbody></table><a href="#m_4360720622955853513_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
<br>-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br></div></div></div></div>