Dial Plan per specific line on W70B - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: T5X Series (/forumdisplay.php?fid=58) +--- Thread: Dial Plan per specific line on W70B (/showthread.php?tid=46139) |
Dial Plan per specific line on W70B - feedgenic - 09-30-2022 03:22 PM Hi All, I'm attempting to set-up a dial plan on a W70B base station. Line 1 is connected to a Swiss SIP provider, international code +41 Line 2 is connected to a French SIP provider, international code +33 I need to set-up a dial plan in order that all numbers dialed with +41.... are directed to Account Line 1 and all numbers dialed with +33... are directed to Account Line 2. I've googled and search the forum but can't manage to find the solution, here is my current config settings, which does not work: dialplan.digitmap.enable=0 account.X.dialplan.digitmap.enable=0 account.1.dialplan.digitmap.string = x41.T account.2.dialplan.digitmap.string = x33.T Any help would be greatly appreciated, thank-you so much. RE: Dial Plan per specific line on W70B - Scottie - 10-12-2022 05:00 PM I know for deskphones you need to host the dial now / dial plan's as an XML on the provision server or a web server then add a few lines to the provision template. .XML file structure for dial now, LineID 0 = all accounts <?xml version="1.0" encoding="UTF-8"?> <dialnow> <Data DialNowRule="yourpatternhere" LineID="0"/> <Data DialNowRule="yourpatternhere" LineID="0"/> <Data DialNowRule="yourpatternhere" LineID="0"/> </dialnow> .XML file structure for dial transform rules <?xml version="1.0" encoding="UTF-8"?> <DialRule> <Data Prefix="yourpattern" Replace="replacedwith" LineID="0"/> <Data Prefix="yourpattern" Replace="replacedwith" LineID="0"/> <Data Prefix="yourpattern" Replace="replacedwith" LineID="0"/> </DialRule> then in your master provision template you use, dialplan_dialnow.url = urlto.xml dialplan_replace_rule.url = urlto.xml What I am wanting to know is how can I use the replace rule to format the number with spaces in the full E.164 format so it looks neater in call history instead of one big un segmented number. If someone can answer me that |