Tuesday, June 27, 2017

Nortel Avaya 1100 series 1120 1140 1230 dialplans

Although all my 1100/1200 series phones are connected to asterisk, it shouldn't matter a whole lot.
SIP or UNISTIM connected to a different PBX

Assumptions are you are deploying your phones via TFTP already and are somewhat familiar with the update process of one of these models of phones.

Once the phones have the dialplan, if you off-hook dial, the phone will nearly instantly dial the number when you are done typing it.  No "SEND" button required in matching dialplan cases.

As of writing this i haven't worked out fully the trickery for international calls since the numbers are all different lengths, its a work in progress.

SO first, in your 11xxeSIP.cfg or 12xxSIP.cfg file have this entry in there.

[DIALING_PLAN]
DOWNLOAD_MODE AUTO
VERSION 0001
PROTOCOL tftp
FILENAME dialplan.txt

Save that.

Now create a new file in your TFTP directory called "dialplan.txt"  (or change to whatever you want, just make sure it matches in the .cfg file FILENAME section.

In dialplan.txt put in the following and save it.

/* ------------------------------------------------------------------- */
/* */
/* Avaya 1100-1200 series IP Deskphone Dial Plan */
/* */
/* ------------------------------------------------------------------- */
/* Domain used in the dialed URL of the SIP INVITE message */
$n="avaya.com"
$t=300
%%
/* DIGITMAP: 10 digits starting with 1 */
(1[2-9]x{9})|(1[2-9]x{9})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 10 digits starting with 91 */
(91[2-9]x{9})|(1[2-9]x{9})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 4 Digit Extensions starting with 88XX */
(88x{2})|(88x{2})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 4 Digit Extensions starting with 5xXX */
(5x{3})|(5x{3})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 7 Digit Extensions starting with 7digitdial */
([2-9]x{6})|([2-9]x{6})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: VOICEMAIL */
(*99)|(*99)# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 10 digits starting with 555 */
(555[2-9]x{6})|(555[2-9]x{6})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 911 Emergency */
(911|911)# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 9911 Emergency */
(9911|9911)# && sip:$$@$n;user=phone && t=300

/* End of Dial Plan */


Now if you are newly deploying this feature, you'll need to update the 11XXeSIP.cfg file in your system by increment the "VERSION" under [USER_CONFIG].

Now in your phone press the "SERVICE" button, or it might look like a picture of a globe with two arrows pointing left and right.

When you press that, the menu on the phone will change and you should see "CHECK FOR UPDATES".  Pressing this will cause your phone to contact the TFTP and check its config for a change.  If it see the VERSION number in [USER_CONFIG] has increased, it will reload the entire file...which will include the dialplan.txt file.  in MOST cases your phone won't fully reboot, but some phones do for some reason.  During my testing and deployment, especially after the phones have a dialplan, they will easily load any future diaplan changes if you increase the "VERSION" under [DIALING_PLAN}

I've included some examples in the above configs that may apply to you with some easy modifications.


No comments:

Post a Comment