Yealink Forums
Replace Rule won't load via autoprovisioning (DialPlan) - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: Replace Rule won't load via autoprovisioning (DialPlan) (/showthread.php?tid=3961)



Replace Rule won't load via autoprovisioning (DialPlan) - David_Bremek - 06-17-2015 12:28 PM

Yealink T46G - 28.73.193.50

Hi, have this Dial Plan Replace Rule config and I am trying to load it via autoprovisioning.

Index Prefix Replace Account
1 0800(xxxxxx)(.) 0800$1
2 0508(xxxxxx)(.) 0508$1

I have modified dialplan.xml = won't work

<?xml version="1.0" encoding="UTF-8"?>
<dialrule>
<Data Prefix="0800(xxxxxx)(.)" Replace="0800$1" LineID=""/>
<Data Prefix="0508(xxxxxx)(.)" Replace="0508$1" LineID=""/>
</dialrule>


I have modified y000000000028.cfg file = won't work

dialplan.replace.prefix.1 = 0800(xxxxxx)(.)
dialplan.replace.replace.1 = 0800$1
dialplan.replace.line_id.1 =

dialplan.replace.prefix.2 = 0508(xxxxxx)(.)
dialplan.replace.replace.2 = 0508$1
dialplan.replace.line_id.2 =

The only way to make it work is to add it manually via web gui.

Can you advise please.

Regards
David


RE: Replace Rule won't load via autoprovisioning (DialPlan) - Elaine_Yealink - 06-17-2015 05:55 PM

Hi David,
This parameter show be valued:

dialplan.replace.line_id.1 = ##The line that will applied with this rule##

I've had a test on a V80 and it rule provisioned is working fine. With your rule, I dialed out 080012345678, and the screen shows: 0800123456 as shown in the picture attached.

Here is the latest firmware:
ftp://yealinkftp:yealinkftp@ftp.yealink.com/Elaine/Firmware/T46-28.80.193.50.rom


Have a test and let me know the result.

Regards
Elaine


RE: Replace Rule won't load via autoprovisioning (DialPlan) - David_Bremek - 06-18-2015 06:50 AM

Thank you Elaine. I have upgraded the firmware, but it hasn't fix the problem. I don't have problem to make it work, if I added the rule manually via web gui. Once I hit autoprovisioning it disappears. It looks like the phone doesn't like the syntax I use?

It works fine with Dialnow.xml.