ShreTel Dial Plans KB12996 This dcument is targeted fr the ShreTel Advanced Certified Engineer wh has wrked with dial plans previusly and has btained the knwledge and skill set t perfrm custm cnfiguratins. It shuld be nted that withut fully understanding the cncepts and ideas behind ShreTel dial plans that a persn can put the system in a state where it is unable t prperly rute calls. Any changes t the dial plan shuld nly be carried ut by qualified individuals. The ShreTel Technical Assistance Center will assist with any break/fix items that deal with dial plans; hwever any custm dial plan wrk will be referred t ShreTel's Implementatin Services as billable wrk. If yu are unsure whether yur request is billable please cntact the ShreTel Technical Assistance Center.
Table f Cntents 1) Understanding ShreTel Dial Plans 2) What Dial Plan wrk is Cvered by ShreTel TAC, and what Dial Plan wrk will be sent t Implementatin Services 3) Hw t Set Trunk Priritizatin fr a Single Site 4) Mdifying ShreTel Default Least Cst Ruting 5) Outbund Caller ID is seen as Unknwn 6) Hw t Send E.164 called number t the Telc 7) Remve waiting fr CallerID n analg lp start 8) Dn t send utging CallerID 9) Remving Glare r Inhibiting Outging Digits 10) Frcing 911/emergency calls ut n a specific trunk 11) Remving 1 frm Calling Party number n SIP Trunks 12) PSTN Shrt Circuit - Changing the ruting f a DID Number t an Extensin 13) Lcal Lng distance calls being placed even thugh Accunt Cdes are frced 14) Hw t send Billing number and DID numbers ut n a PRI when a call is being rejected due t ShreTel sending the calling party number 15) 7 Digit Dialing f Additinal Lcal Area Cdes 16) Hw t disable least cst ruting 17) AT&T and ruting Internatinal calls 18) Blck an utbund call t specific number fr a trunk grup 19) Can 411 calls be redirect t dial a different number?
1) Understanding ShreTel Dial Plans The ShreTel system has a ttal f 3 dial plans built int it. This can be very cnfusing if yu have never wrked with a dial plan befre. What is the purpse f each dial plan, and why is it that the number that I dial n my phne is nt necessarily what is pulsed ut t the carrier? Call Manager Dial Plan First, yu have a dial plan fr yur call manager. This takes what is dialed and puts it int an apprpriate frmat. This is what is in effect when in call manager yu put in 1-800-SHORETEL, and it cnverts it autmatically t 9 +1 (800) 74673835. The 9 being an access cde, and the +1 (800) 356-9977 being cannical frmat. Cannical frmat is + fllwed by cuntry cde (In the US this is 1) fllwed by a subscriber number. There is a way t bypass Persnal Call Manager's dial plan. Yu can put in "9+18003569977" and include the qutes. This will send the full string withut frmatting t the next dial plan, which is the site plan. Additinally, dialing direct frm yur phne bypasses the Persnal Call Manager dial plan. Site Dial Plan The site plan has tw main jbs. First, it marks all calls with the crrect permissins, be it lcal, lng distance, r internatinal. Secnd, it cnverts all numbers int cannical frmat. This means that whether yu are using PCM r n yur phne, if yu dial seven digits, the site plan inserts a + 1 (cuntry cde) and lcal area cde befre sent t the trunk. This means that n matter hw yu place a number in PCM r yur phne, it will get frmatted int cannical frmat befre being sent t the trunks. Trunk Dial Plan The third dial plan is the trunk dial plan. This takes the cannical frmat, and cnverts it t a frm the carrier wants t receive it. This is mst useful when a site has multiple carriers. A site might have multiple trunks, perhaps a SIP trunk, and a PRI. The SIP line may simply want all calls in a 10 digit frmat while the PRI prvider may want 11 digit dialing fr lng distance calls and 7 digits fr lcal calls.
2) What Dial Plan wrk is Cvered by ShreTel TAC, and what Dial Plan wrk will be sent t Implementatin Services What is billable, and what is cvered under the nrmal TAC supprt functin. The ShreTel TAC is a break/fix rganizatin. This means that if it is in fact brken, we will fix it. The ShreTel implementatins team will assist with any billable items fr custm dial plan wrk that are nt break/fix wrk. Hw des ShreTel define brken? If yu can pick up yur phne, and/r use Call Manager and are unable t cmplete the call t the ther party because f the ShreTel system this is cnsidered brken. Hw des ShreTel define custm billable wrk? If calls will cmplete nrmally but the custmer wants t define r create rule sets t rerute, blck, r alter the call flw. If the custmer has decided t alter r create any custm dial strings n their wn that put the system in a state where calls will nt cmplete. Example f a nn billable item: If the Telc requires a ;2E dial string t make an utbund call, we will cnsider this "Brke" and therefre TAC will reslve it because call cannt be cmpleted. Examples f billable items: 1) If calls frm a remte site are cmpleting nrmally thrugh lcal trunks at the remte site but the custmer wants all calls t rute t the HQ and use trunks at the HQ site. 2) If custm mdificatins have been made t the Dial plan which result in call being unable t cmplete and custmer r partner is calling in fr assistance t crrect. 3) If the custmer has a specific requirement n hw t rute 911 calls
3) Hw t Set Trunk Priritizatin fr a Single Site First at the ShreWare Directr Lgin Screen press and hld dwn the Ctrl, Shift & Alt keys at the same time and use yur muse and click n the User ID: area f the screen. Yu shuld nw see * * * Supprt Entry * * * appear n the screen belw the Lgin buttn. Nw when yu lgin yu will be in the Supprt Mde Nte: this shuld nly be accessed when making detailed changes t the system and please d nt mdify any area that yu are nt familiar with. Next click n Trunks and then Trunk Grups and chse a trunk yu wuld like t mdify.
Next scrll dwn t the bttm f the page and click n the View buttn under Trunk Grup Dialing Rules. Yu can lk in each trunk grup's generated dialing rules. The first entry yu'll see is ;xa (where x equals a number). That's the default preference value fr the trunk grup. Analg trunks will typically shw ;1A while T1s will shw ;-1A. S all things being equal, a T1 will always be used befre an analg trunk. D nt make any changes t this windw. If yu want t add yur wn rule t priritize a trunk grup even mre like fr example: (yu wanted t use an at&t T1 befre a Verizn T1 in the same site) first clse the Trunk Grups Dialing Rules windw and click n the Edit buttn under Trunk Grup Dialing Rules.
A small edit windw will appear that will allw yu t add yur mdificatin. Yu can add yur wn trunk grup rule by adding yur wn value like -2 r -10 s its "cheaper" than the ther T1. The rule wuld lk like this: ;-10a. After adding yur mdificatin click n the Save buttn and lgut f directr. I wuld test the trunk t make sure yur mdificatin has taken affect. 4) Mdifying ShreTel Default Least Cst Ruting ShreTel has a very specific Least Cst Ruting Plan. This plan is designed t reduce the ttal cst f wnership by ruting calls in such a way as t reduce the actual cst (in terms f dllars) fr the end custmer. Due t the fact that ShreTel cannt pssibly knw every cst f every phne plan, ShreTel assigns generic csts t different types f trunks, as well as t different types f cnnectins between sites. This dcument is written t bth help yu understand call ruting csts, and hw t mdify them. Yu shuld familiarize yurself with the attached site csts exhibit at the end f this article. It will be referred t many times, and shuld make it much easier t understand the cncepts. When a number is dialed, the ShreTel system first determines the cst type f the call, and if the user has the required permissins t make such a call. What this means is that ShreTel determines if the call is lcal, lng distance, r internatinal.
Fr example a call is made at site A. The first thing that will be determined is whether it is a lcal call at any site. If it is a lcal call, (let s say it s a 408 area cde) the call will be made ut f the Headquarters site. If the call is lng distance call fr all the sites, ShreTel will then use trunk weighting. By default the different trunk types have different csts assciated with them. A PRI will have a cst f -1, an analg trunk a cst f +1, a digital trunk, such as a wink start, will have a cst f 0, and a sip trunk will have a cst f -2. If yu had all these trunks within ne site, and all the trunks had the same lcal are cde(s) a lcal call wuld first be attempted n the SIP trunk, then the PRI, then the digital trunk, and then finally the analg trunk. If yu want t mdify the default trunk used, and yu nly have ne site, weighting trunks is very simple. Just make the trunk yu want t use the least expensive. Let s say all yu had was the Headquarters site, and fr sme reasn yu wanted t use the analg lines befre using any f my ther trunks. Yu wuld simply lg int directr using supprt entry mde, click n the analg trunk grup, click n the custm dial plan, and enter ;-3A, and click save. That s semi-cln, negative three, capital A. The change will be updated in a few minutes, r yu can update the trunk and save the changes (the easiest way t d this is t change the name, ie frm analg t analg1) and then click save. By making the analg trunk grup the least expensive, yu wuld first use the analg line, then the SIP, then the PRI, and finally the digital. Nw fr a different example. Instead f making the analg trunk the first trunk grup, suppse that yu wanted t make sure that the SIP trunk is the last ne used. In the SIP trunk grup yu culd simply enter in ;2A in the custm dial plan. This wuld make the SIP trunk have a cst f +2 instead f -2. In this scenari yu wuld first g ut the PRI, then the digital, then the analg, and finally use the SIP trunk. Nw, this is all fine and gd, but many custmers have multiple sites, s these small cst changes may nt have the desired effect. There are tw csts cnnectins between sites. The first and mst cmmn is just a standard site. The secnd scenari is a cnnectin t a Parent as Prxy site. This setting is applied by selecting the Use Parent as Prxy checkbx under the site page. If yu are nt using parent as prxy, the wan link adds +25 between sites. If yu are instead using parent as prxy, the wan links nly adds +10. This means that in the site cst exhibit at the end f this article, frm the perspective f Site A, the Headquarters site trunks have the fllwing csts. The PRI is 24 (-1+25) The analg trunk is 26 (+1+25) The digital trunk is 25 (0+25) The SIP is 23 (-2+25.) Frm the perspective f Site B Headquarters site trunks have the fllwing csts. The PRI is 9 (-1+10) The analg trunk is 11 (+1+10) The digital trunk is 10 (0+10) The sip is 8 (-2+10.) It is very imprtant t understand all the csts in a multi-site system when trying t
change the trunk csts. The reasn is that changing a trunk cst can have effects yu did nt intend. Let s say fr example yu want all the users at Site A t first use the PRI at the Headquarters site. T accmplish this yu change the cst f the Headquarters PRI t ;-28A. This changes the cst at Headquarters t -28, and changes the cst perspective frm Site A frm 24 t -3. As desired all calls made frm Site A will g ut f Headquarters first, hwever, there is anther prblem. All the calls frm Site B will nw g ut f the Headquarters site as well since the perceived cst f the Headquarters PRI has nw changed frm 9 t -18. If this is nt the desired result yu will have t d sme math t discver hw t rute the calls crrectly withut causing incrrect call ruting. In this scenari it will mean a need t lwer the cst slightly f the Headquarters PRI (t make it have a lwer cst than the SIP trunk, and an increase f all the lcal trunks. Yu wuld prbably want t make: The Headquarters PRI ;-3A Site A make the PRI ;24A, The analg ;26A, The digital ;25A The Sip ;23A. This will make the calls frm site A g ut the PRI first, and then maintain the standard rder f SIP, PRI, digital, analg, if the Headquarters PRI is full. Additinally yu may ntice that even thugh yu made these changes, when yu dial a 510 area cde number frm Site A it cntinues t g ut the lcal trunks. This is due t the fact that ShreTel first determines if the call is lcal, lng distance, r internatinal, as discussed in sectin 1 f this dcument, understanding ShreTel Dial plans. If the call can be made lcally at any site, it will apply cst inhibitin and require the call t be made as a lcal call. There are tw ways t get arund this. The first and easiest way is t add the lcal area cde as an additinal lcal area cde. This means that n the Headquarters PRI trunk grup yu wuld add the area cde 510 as an additinal lcal area cde. ShreTel wuld then see that the 510 area cde call was lcal fr bth Site A and Headquarters, and wuld then just determine the call ruting based n trunk weighting. The secnd way t implement this is t lg in with supprt entry mde, click n the sites, and add ;5a t the site plan at bth Headquarters and Site A. That s semicln five lwer-case a. This inhibits least cst prmtin which basically means it will ignre the fact that there is a lcal trunk available and use the trunk csts t rute the call. The next scenari we will discuss is lcal and lng distance trunks. If yu lk at the generated dial plan n a trunk yu will see a lt that may lk freign t yu. Mst f what yu will see begins with a < and ends with either a G fr gd r n ccasin a F fr fail. We want t lk at the strings that begin with < and end with either 540G r 740G. These strings dente lng distance (540G) and internatinal (740G) calls. The 540 and the 740 are default csts assciated with these particular calls. Let s say yur Headquarters site wants t use analg fr all lcal calls, but we want the
PRI t take precedence n lng distance calls. Let s als in this example pretend that the SIP and digital trunks are nt there. Fr this yu wuld either adjust the analg trunk t ;-2A r increase the PRI with ;2A. Next yu wuld cpy the tw strings frm the generated trunk rules, and lwer the cst. S instead f 540G and 740G yu nw have 535G and 735G. Yu wuld then put these in the custm PRI trunk dial plan. As befre if yu wanted it t be applied immediately we wuld need t make a change n the trunk and click save. Please see belw fr an example f the rules and hw yu might change it. Generated PRI dial plan rules: ;- 1A<Y.>X.%40G<+X.>x011X.%740G<+MX.>xm1X.%540G<+MNX.>xm1X.%140G <+M8(00 22 33 44 55 66 77 88)X.>xm1X.%140G<*(67 82)X.>xxxX.%40G Putting in bld the strings Yu need t change: ;-1A<Y.>X.%40G<+X.>x011X.%740G<+MX.>xm1X.%540G <+MNX.>xm1X.%140G<+M8(00 22 33 44 55 66 77 88)X.>xm1X.%140G<*(67 8 2)X.>x xxx.%40g New String that yu are placing in the PRI custm dial plan: ;2A<+X.>x011X.%735G<+MX.>xm1X.%535G Finally it is imprtant t nte that custm ruting changes can and usually will effect the way a 911 call is ruted. It is vital that yu test 911 calls after making any changes t the dial plan. Always test this befre cmpleting the changes. If by fllwing the preceding steps yu are unable t get the calls t rute as desired, yu will need t cntact implementatin services wh fr a fee will custmize and test a dial plan fr yur specific needs. Site Csts Exhibit
5) Outbund Caller ID is seen as Unknwn There can be a few different reasns why this may ccur. The main reasn is the Carrier is requiring a specific frmat frm ShreTel, in this case Natinal E.164 Frmat. Sme Telc s will reject calls if the calling party number is nt in E.164 frmat. Smetimes they will nly reject certain classes f calls, such as natinal calls are ptinal, but internatinal calls require it. T crrect this: Turn n Supprt Entry Mde befre lgin int ShreTel Directr In the Trunk grup (PRI Nrmally) add the fllwing string in the custm Field at the bttm f the Page ;2E Make an utbund call. If this des nt crrect the issue, please call int TAC fr further truble shting with a PRI trace.
6) Hw t Send E.164 called number t the Telc A Telc may require digits be sent t them in E.164 frmat. This is different then E.164 callerid utlined in the previus item. If the numbers are nt sent in E.164 frmat, the Telc will simply drp the call. The Telc may want it fr a specific class as well. There are basically three classes f numbers: Lcal Natinal Lng Distance Internatinal Therefre, we have three custm trunk plans. <+MNX.>xmnX.%41140G fr lcal E.164 <+MX.>xmX.%21540G fr natinal lng distance E.164 <+X.>xX.%11740G fr internatinal E.164 If fr example the Telc required all three, we wuld lg int supprt entry mde, click n edit under Trunk Grup Dialing Rules, and enter in the fllwing. <+X.>xX.%11740G<+MX.>xmX.%21540G<+MNX.>xmnX.%41140 G We wuld then make a change such as changing the name frm pri t pri1 and click save t frce the change immediately. If we d nt make this additinal change, it will take up t 5 minutes fr the change t take effect. 7) Remve waiting fr callerid n analg lp start This custm string is mst ften used in small ffices where calls are ging t a wrkgrup r hunt grup. Sme custmers dn t like that it takes tw rings fr the ShreTel system t answer and then anther 1 r 2 mre rings fr the call t be answered by a user. With this yu will sacrifice callerid, but calls will be able t be answered mre quickly. Hw t remve waiting fr callerid n analg lp starts n ShreTel side after Telc disables? 1. Enable supprt entry mde 2. Lgin as admin t Directr 3. G t analg lp start trunk grup 4. Edit custm Trunk Grup Dialing Rules 5. Add string ";1L" withut qutatin marks and save.
8) Dn t send utging CallerID This custm string is used when a custmer wuld like t blck utging callerid 1. Enable supprt entry mde 2. Lgin as admin t Directr 3. G t the trunk grup fr which yu wish t blck utging callerid 4. Edit custm Trunk Grup Dialing Rules 5. Add string ";16F withut qutatin marks and save. 9) Remving Glare r Inhibiting Outging Digits Remving Glare ;XG Mst cmmnly used in a paging extensin r ring-dwn device. On a paging device r a ring dwn device, there is n dial tne, s we d nt want t check fr glare. If we check fr glare, calls t either device wn t wrk Inhibit utging digits ;1I Mst cmmnly used in a paging extensin r ring-dwn device. On a paging device r a ring dwn device we d nt want t send any digits, but ShreTel requires that there be digits befre it will access the trunk. This will allw us t g ff hk n that trunk, but nt send any digits. Example: What wuld the string ;1G;1I d when adding int the paging trunk grup? The first three characters ;1G tells the system t wait 1 secnd after ging ff hk and presume a cnnectin even if dials tne is nt heard. The secnd three characters ;1I tells the system nt t ut pulse the ff system extensin (e.g. 199) after the trunk is seized.
10) Frcing 911/emergency calls ut n a specific trunk On lder releases f ShreTel (7.0 and prir) frcing 911 (r ther emergency call) ut a specific trunk was dne the fllwing way. 1. Lg int ShreTel Directr using supprt entry mde 2. Click n trunks 3. Click n the trunk grup yu want t frce the 911 call ut n 4. Click n Edit under Trunk Grup Dialing Rules 5. Enter in the fllwing withut the qutes "<911>X.%4G" 6. Restart TMS r wait 5 minutes fr the trunk grups t update In ShreTel 7.5 and n we intrduced Multiple Emergency Numbers. This means that yu are nw able t define a lng distance number as an emergency number, and have multiple emergency numbers. These additinal features als meant that using <911>X.%4G may nt wrk crrectly. In ShreTel 7.5 and newer yu want t fllw the fllwing steps. 1. Lg int ShreTel Directr using supprt entry mde 2. Click n trunks 3. Click n the trunk grup yu want t frce the emergency call ut n 4. Click n Edit under Trunk Grup Dialing Rules 5. Enter the fllwing withut the qutes ";25M" 6. Restart TMS r wait 5 minutes fr the trunk grups t update **************************************** As always, after perfrming an upgrade, yu always want t make a test 911/emergency call t verify that it is calling ut, that it uses the crrect trunk, that it is sending the crrect calling party number, and that yur emergency service has the crrect address n file. ****************************************
11) Remving 1 frm Calling Party number n SIP Trunks Sme ITSP prviders require that the calling party number (utbund callerid number) be sent withut a 1. When they receive a 1 their sft switch has truble parsing the number, and can result in an incrrect utbund callerid. T crrect this and set ShreTel t nt send the 1, take the fllwing steps. 1. Lg in t Directr using supprt entry mde (See KB12659 fr Instructins) 2. Click n Trunks 3. Click n Trunk Grups 4. Click n the SIP trunk grup yu wish t mdify 5. Click Edit under Trunk Grup Dialing Rules: 6. A text bx will pen. Enter in ";10E" withut the qutes 7. Click Save 8. Make a change n the trunk grup, such as changing the name frm SIP Trunk t SIP Trunk1 9. Click Save n the tp f the Trunk Grup Page ShreTel will nw n lnger send the 1 in the Calling Party number field. 12) PSTN Shrt Circuit - Changing the ruting f a DID Number t an Extensin Applicable t nly ShreTel 7.0 Build 12.4.900.0 and abve Sme custmers want t allw their users t dial ther users with their DID number. T allw this ptin as well as reduce tll charge and trunk circuits, this call shuld autmatically be turned int an extensin t extensin call. When a user dials an external number that matches a DID number n the system, this feature will place the call acrss the IP netwrk rather than placed ut the PSTN and back. PSTN Shrt Circuit will allw ne trunk access cde t be specified via a custm site plan with the string ";9d", where 9 is an example trunk access cde and can be replaced with the trunk access cde desired t be subject t PSTN Shrt Circuit. As a custm cde, this needs t be entered at every site, using Supprt Mde Directr. If yu have ther numbers yu want t "shrt circuit", yu can create fake DID ranges and assciated fake users (r menus, rute pints, etc.) t handle nn-did numbers. Fr instance, if yu have an 800 number fr human resurces, yu can create a fake DID number and user t save n tll charges.
13) Lcal Lng distance calls placed even thugh Accunt Cdes are frced SUMMARY: Lcal Lng distance calls are placed even thugh Accunt Cde Cllectin is "frced" fr Lng distance calls SCENARIO: A custmer uses ShreTel's Accunt Cde Cllectin service fr restricting Lng Distance (LD) calls. When a lcal area-cde LD call is placed frm a ShreTel user they're nt prmpted fr an accunt cde. Als described as: when trying t limit users t 'lcal calls nly', but they are able t make Lng Distance calls within their lcal area cde. There are tw ways t accmplish this. The simplest way nly requires editing user grups, and we will discuss that way first. They secnd way requires a custm site plan. DETAILS & DESCRIPTION f editing via user permissins: T allw fr the ShreTel system t enfrce Accunt Cde Cllectin (ACC) restrictins when dialing lcal area-cde Lng Distance (LD) numbers by editing user grup permissins, first g t the User Grups Page. Next select the Call Permissins Class f service. At this pint, yu have tw ptins, and what ptin yu chse is generally identified by the number f prefixes yu are wrking with. If there are nly a few lng distance prefixes within the lcal area cde, yu wuld select the scpe t be Lcal Only, and then yu wuld put in restrictins n the lng distance prefixes. If yu had nly a few lcal prefixes yu wuld select a scpe f Internal Only and add the lcal prefixes t the permissins line. Please keep in mind that the restrictins and permissins fields currently have a limit f 255 characters. If the number f prefixes is t great t fit within this character restrictin, yu will need t create a custm dial plan. DETAILS & DESCRIPTION f editing via a custm dial plan: T allw fr the ShreTel system t enfrce Accunt Cde Cllectin (ACC) restrictins when dialing lcal area-cde Lng Distance (LD) numbers, a custm dial string has t be added t the 'Site' edit page. This custm string is necessary t identify and separate the lcal numbers frm the lng distance numbers within the same area cde. This is necessary fr the ShreTel accunt cde cllectin service t determine that numbers nt in the prefix list will be cnsidered LD in the site dial plan. This separatin is nt perfrmed by default by the ShreTel system. After entering the custm dial string the ACC prcess will nw prmpt fr an Accunt cde when dialing a lcal area-cde LD number. This string needs t be added in the custm tab n the "Site" edit page. The cntents f the custm string can be btained, in part, by cpying frm the "Trunk-grup" edit page upn which the Prefix list has been applied.
Nte - if a new prefix is add t the prefix list at a later time, the same prefix will need t be manually added t the custm string, thugh at that pint it may be simpler t just add the ne prefix t the user permissin call permissins class f service. STEPS TO IMPLEMENT: STEP 1: Gather Prefix inf frm Trunk Grup Page: Lg int ShreWare Directr using the supprt entry mde (Please nte: Yu shuld be very familiar with Supprt Entry mde prir t implementing these steps) Verify that all the prper lcal prefixes are entered crrectly within the Prefix List Verify that the prefix list has been applied t the prper Trunk Grup Within the Trunk Grup edit page click "View" n "Generated" Trunk Grup Dialing Rules Cpy everything int a text editr such as NOTEPAD.EXE NOTE: A custm dial string always begins with a '<' and ends with either a 'G' r an 'F'. There are cmmnly MANY such dial string entry "pairs" ("<...G") in each Trunk Grup and/r Site Within NOTEPAD, find the ne, single part f the string that includes all the prefixes. It will begin with a "<" and end with a "xmnx.%140g" Remve all ther text with the exceptin f this string Delete the "xmn" (r the "xm") and delete the "40". The string that previusly ended with smething like "xmnx.%140g" shuld nw end with nly "X.%1G" STEP 2: Gather Dial String inf frm the Site Page: Navigate t the "Site" edit page Click "View" n "Generated" Site Dialing Rules As befre, cpy the cmplete text frm this area int NOTEPAD placing this new text BELOW the previusly edited text Remve ALL the cntent frm this new text EXCEPT fr any dial string "pairs" that end in %1G Als remve all string pair(s) that include 8(00 22 33 44 55 66 77 88) Als remve all string pair(s) that include <911> Change any remaining instances f "1G" t "5G" STEP 3: Merge the Trunk and Site inf:
Cmbine the Trunk Grup string and Site string tgether; Trunk Grup string first fllwed immediately by the Site string Be sure t remving any spaces between the strings STEP 4: Apply the new custm dial plan t the Site edit page: Within the Site edit page click "Edit" under "Custm" Site Dialing Rules Cpy the new, cmbined text int the "Custm" Site Dialing Rules Click "Save" Restart the ShreWare Telephny Management Service frm with the Maintenance pages f ShreWare Directr SAMPLES & EXAMPLES: This is a sample f a cmplete string cpied directly frm a Trunk Grup cnfigured with a prefix list fr all lcal numbers in the (253) area cde using a 589 prefix. There are several 360-area cde/prefixes and a whle lt f 253-area cde prefixes: ;- 1AX.%40G<+X.>x011X.%740G<+MX.>xm1X.%540G<+M(360(400 446 458 [69]55 8[37]2 8[78]9 89[347] 960))X.>xmX.%140G<+MN(20[0237-9] 21[0259] 22[1-9] 23[0-358] 24[128] 25[0-24-6] 26[2578] 27[1-4689] 28[0246] 29[12578] 30[1-79] 31[02-48] 32[02-47] 3[39]0 34[145] 35[359] 36[59] 37[015-7] 38[0-379] 39[69] 40[3-5] 4[14][4-6] 42[236-8] 43[159] 441 [457]59 46[01568] 47[1-7] 484 49[58] 50[2379] 51[247] 53[014-9] 54[0189] 55[02] 56[4-68] 57[1-369] 58[1-489] 59[0-7] 60[46] 61[79] 62[07] 64[059] 65[015] 66[0369] 67[17-9] 68[02367] 69[1-37] 719 72[02] 7[39]2 75[1-6] [7-9]61 77[07-9] 780 79[89] 820 8[34][01] 84[35-8] 85[1378] [89]64 87[589] 88[1-4] 896 90[3-6] 9[15]2 92[124-8] 9[35]4 94[2-48] 96[6-8] 97[03] 98[2-58])X.>xmX.%140G<(14 [2-8])11>X.%40G<+M8(00 22 33 44 55 66 77 88)X.>xm1X.%140G<+M[2-79](00 22 33 44 55 66 77 88)X.>xm1X.%540G<101X.>X.%40G<0Y.>X.% 40G<*(67 82)X.>xxxX.%40G;40M This is the part cntaining just the prefix inf that needs t be extracted: <+M(360(400 446 458 [69]55 8[37]2 8[78]9 89[347] 960))X.>xmX.%140 G<+MN(20[0237-9] 21[0259] 22[1-9] 23[0-358] 24[128] 25[0-24- 6] 26[2578] 27[1-4689] 28[0246] 29[12578] 30[1-79] 31[02-48] 32[02-47] 3[39]0 34[145] 35[359] 36[59] 37[015-7] 38[0-379] 39[69] 40[3-5] 4[14][4-6] 42[236-8] 43[159] 441 [457]59 46[01568] 47[1-7] 484 49[58] 50[2379] 51[247] 53[014-9] 54[0189] 55[02] 56[4-68] 57[1-369] 58[1-489] 59[0-7] 60[46] 61[79] 62[07] 64[059] 65[015] 66[0369] 67[17-9] 68[02367] 69[1-37] 719 72[02] 7[39]2 75[1-6] [7-9]61 77[07-9] 780 79[89] 820 8[34][01] 84[35-8] 85[1378] [89]64 87[589] 88[1-
4] 896 90[3-6] 9[15]2 92[124-8] 9[35]4 94[2-48] 96[6-8] 97[03] 98[2-58])X.>xmX.%140G This is the cmplete text cpied frm the Site page: <011X.>xxx+X.%7G<01X.>X.%7G<1XXXXXXXXXX>x+MX.%5G<[2-9]XXXXXXXXX>+MX.%5G<1NXXXXXXX>x+MX.%1G+MX.%1G<[2-9]XXXXXX>+MNX.%1G<18(00 22 33 44 55 66 77 88)XXXXXXX>x+MX.%1 G<(1411 [2-7]11 811YXXX)>X.%1G<911>X.%1G<1900XXXXXXX>x+MX.%9G<0Y.>X.% 9G<101X.>X.%9G<*X.>X.%9G<(010 10[02-9] 11)>F<+X.>X.%7G<+MX.>X.%5G<+MNX.>X.%1G<+M8(00 22 33 44 5 5 66 77 88)X.>X.%1G<+M900X.>X.%9Gxm(XXX)XXX- XXXX%999G<911>X.%0G This is the text we needed t retain frm the site page inf: <1NXXXXXXX>x+MX.%1G+MX.%1G<[2-9]XXXXXX>+MNX.%1G<(1411 [2-7]11 811YXXX)>X.%1G<+MNX.>X.%1G This is the text after all the 1Gs were cnverted t 5Gs: <1NXXXXXXX>x+MX.%5G+MX.%5G<[2-9]XXXXXX>+MNX.%5G<(1411 [2-7]11 811YXXX)>X.%5G<+MNX.>X.%5G This is the final, cmpleted custm dial string after merging the strings frm abve. This finished string was created fr a site lcated in the (253) area cde using a 589 prefix: <+M(360(400 446 458 [69]55 8[37]2 8[78]9 89[347] 960))X.>xmX.%140 G<+MN(20[0237-9] 21[0259] 22[1-9] 23[0-358] 24[128] 25[0-24- 6] 26[2578] 27[1-4689] 28[0246] 29[12578] 30[1-79] 31[02-48] 32[02-47] 3[39]0 34[145] 35[359] 36[59] 37[015-7] 38[0-379] 39[69] 40[3-5] 4[14][4-6] 42[236-8] 43[159] 441 [457]59 46[01568] 47[1-7] 484 49[58] 50[2379] 51[247] 53[014-9] 54[0189] 55[02] 56[4-68] 57[1-369] 58[1-489] 59[0-7] 60[46] 61[79] 62[07] 64[059] 65[015] 66[0369] 67[17-9] 68[02367] 69[1-37] 719 72[02] 7[39]2 75[1-6] [7-9]61 77[07-9] 780 79[89] 820 8[34][01] 84[35-8] 85[1378] [89]64 87[589] 88[1-4] 896 90[3-6] 9[15]2 92[124-8] 9[35]4 94[2-48] 96[6-8] 97[03] 98[2-58])X.>X.%1G<1NXXXXXXX>x+MX.%5G+MX.%5G<[2-9]XXXXXX>+MNX.%5G<(1411 [2-7]11 811YXXX)>X.%5G<+MNX.>X.%5G
14) Sending BTN and DID's n Find Me and External Assignment Calls Many Telc s are drpping calls when the calling party number is nt wned by the custmer. This cmes up ften with Find me and External Assignment features Hw t send Billing number and DID numbers ut n a PRI when a call is being rejected due t ShreTel sending the calling party number when placing the call ut the PRI trunk grup. 1. Determine yur BTN number 2. Determine yur DID range(s) 3. Lg int Shreware Directr in supprt entry mde 4. Select Trunks, and then yur trunk grup 5. Under Custm Dialing Rules place yur custm BTN string (t be discussed further) 6. Add yur custm DID string(s) 7. Click Save 8. Restart the Shreware Telephny Management Service We will nw run thrugh an example with the BTN being (408) 555-1234 with DID ranges f (408) 555-1200 thrugh (408) 555-1299 and an additinal DID f (408) 555-5555. In supprt entry we will add the fllwing: ;16E<E'+MX.>4085551234x.%999G<E'+140855512XX>xmX.%999G<E'+140855 55555>4085555555x.%999G In this string: ;16E enables the Calling Party Replacement. <E'+MX.>4085551234x.%999G will cause ShreTel t send 4085551234 if n ther match can be fund. <E'+140855512XX>xmX.%999G Matches the DID range s that users with DID will send their DID when they call ut <E'+14085555555>4085555555x.%999G Will send ut 4085555555 when that specific user call ut. It is als imprtant t nte that this assumes the telc wants the Calling Party number in a 10 digit frmat. Sme telc's may want 11 digits (sending the 1) and if this is the case, the string wuld be the fllwing: ;16E<E'+MX.>14085551234x.%999G<E'+140855512XX>xX.%999G<E'+140855 55555>14085555555x.%999G This can be determined either by running a PRI trace, r by simple trial and errr.
Finally, it must be stated that yu shuld nt create the strings in Micrsft Wrd, r any advanced wrd prcessr, but nly in plain text files. The reasn being that in their frmat they can add hidden symbls that will be placed int the custm dialing rules when yu d a cpy and paste, but will nt be visable. 15) 7 Digit Dialing f Additinal Lcal Area Cdes ShreTel allws 7 digit dialing, but by default it nly allws this fr yur lcal area cde. The reasn fr this is that part f the jb f the site dial plan is t put all numbers int cannical frmat as discussed in sectin 1 f this dcument, Understanding ShreTel dial plans. Cannical frmat is + fllwed by cuntry cde (In the US this is 1) fllwed by a subscriber number. This means that if my lcal area cde is 555 and I dial 123-4567 the site plan will add a + and area cde and it will send +15551234567 t the trunks. This is nt a prblem if all my 7 digit dialing is within my lcal area cde. If hwever I have a secnd area cde, 999 fr example, I need t d sme custm wrk t allw it t dial the additinal lcal area cdes. First we will need a list f the prefixes in the secnd area cde. In my example we will have prefixes f 888, 777, and 666. S then the numbers we want t be able t 7 digit dial are (999) 777-XXXX, (999) 888-XXXX, (999) 666-XXXX. I wuld then lg in with the supprt entry lgin. On my Trunk Grup page I wuld verify that the additinal lcal area cde r cdes are entered int the Trunk grup plan. I wuld check this by clicking the edit buttn next t "Additinal lcal area cdes" and adding any necessary area cdes. On my sites page, I wuld first verify that my secndary lcal area cde r cdes are entered int the site plan. I wuld check this by clicking the edit buttn next t "Additinal lcal area cdes" and adding any necessary area cdes. Next, at the bttm f the page we will click the edit the custm dialing rules buttn, and add the fllwing: <(666 777 888)XXXX>+M999X.G the (666 777 888) Mark the prefixes I want t match. The XXXX matches the rest f the digits. The +M999X. inserts the cuntry and crrect area cde (in this case area cde 999), and the G marks it as a gd match After restarting TMS yu shuld nw be able t 7 digit dial yur additinal lcal area cde. All numbers nt fund in yur prefix string will be assumed t be within yur main lcal area cde as listed in the "Lcal Area Cde" field n the site page.
16) Hw t disable least cst ruting Hw t disable least cst ruting Sme custmers prevent least cst ruting by assciating user grups t trunk grups. This is an easy slutin, but in the event all trunks are dwn / unavailable at the site, this will nt allw use f trunks at anther site. By changing the trunk grup dial plan, yu can mdify this behavir s calls will always use the lcal trunk grups unless all trunks at the site are unavailable. T disable least cst ruting: 1. Cnfigure the system nrmally including sites, trunk grups, trunks, etc. 2. Lgin t ShreWare Directr using the Supprt Mde t get t the special dial plan strings. T d this, g t the ShreWare Directr Lgin page, hld dwn the "shift" and "cntrl" buttns and click n "User ID". The special "supprt entry" indicatin will display and then just lgin as nrmal. This will expse sme extra cntrls n the trunk grup edit page. 3. Fr all trunk grups at every site, visit the trunk grup edit page and scrll t the bttm: a. "View" the generated plan. Cpy the plan int a text editr. b. Mdify any "hundreds" digits in each number after a % t be ne (1) hundred ther than any numbers with "999" as that is a special rule. This effectively makes all calls "lcal" frm a cst pint f view. c. Paste the resulting string int the "Edit" plan verride. Yu will find the trunk grup dial string will vary by cuntry and smetimes even by site (i.e. Germany is different than Australia). Make sure t implement this acrss ALL trunk grups at EVERY site therwise calls frm unmdified sites will begin using the trunks at mdified sites. If yu make any changes t trunk grup (area cdes, 10 digit dialing, etc.), make sure t update the custm dial plan string. Here is an example f a default and mdified trunk grup dial plan. Ntice the 740, 640 and 540 all being changed t 140. Default ;-1AX.%40G<+X.>x00X.%740G<+M1[5-7]X.>xm0X.%640G<+MX.>xm0X.%540G<+M(130 800)X.>xm0X.%140G<+M(21 1)X.>xm0X.%140G<+MNX.>xm0X.%140G;40Mxm0X.%999G Custm ;-1AX.%40G<+X.>x00X.%140G<+M1[5-7]X.>xm0X.%140G<+MX.>xm0X.%140G<+M(130 800)X.>xm0X.%140G<+M(2 11)X.>xm0X.%140G<+MNX.>xm0X.%140G;40Mxm0X.%999G
17) AT&T and ruting Internatinal calls AT&T require the called party number (CPN) t be tagged as "Internatinal" t rute Internatinal Add the fllwing t the Trunk Grup's Custm Dial Plan table; (Supprt Entry required t SWD) <+X.>xX.%11740G this will send ut the Called Party Number as "internatinal/e.164" 18) Blck an utbund call t specific number fr a trunk grup After lgging in via supprt entry mde, under custm trunk dial plan add: <+15555555555>X.%4F Where 1 (555) 555-5555 is the number yu wish t blck. 19) Can 411 calls be redirect t dial a different number? A custmer may want t send anyne wh dials 411 t a different number such as a n fee based 411 s they d nt have t pay the typical 1 t 2 dllar charge fr each call. FYI - trunk digit manipulatin table will nt wrk fr this scenari. Here are the steps using 1-800-GOOG-411 (18004664411) as the translatin fr utbund 411 calls: 1.Lg in t Directr using the "Supprt Entry" mde. 2. Add a site plan verride string: <411>xxx+18004664411G t the current site under Custm / Edit.