cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1449
Views
0
Helpful
4
Replies

Area Code in Dial Plan via xml file 504G 7.5.4

David Brand
Level 1
Level 1

I'm having trouble getting my phone to automatically add a default area code when programmed via the .xml file.

I'm using a Cisco SPA504G running firmware version 7.5.4

Provisioning is done using tftp.

I'm attempting to have the phone add "1805" when 7 digits are dialed.

Ex.   Dial 555-1212 have phone send call to 1-805-555-1212

Through the web interface, I can add that in and it works perfectly, see below:

(*xx.|**xx.|[3469]11|0|00|<:1805>xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

however adding the same <:1805> in the xml file doesn't work. The phone won't download the xml file.  I'm guessing the "<" and ">" are breaking it somehow however I'm tried multiple different configurations oh spaces with no luck.  I confirmed that my config file will load correctly so the only line I change is specifying dial plan and after changing that single line, the file won't load. Below are the list of lines that I've tried.

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00|<:1805>xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00|<:1805> xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00| <:1805>xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00| <:1805> xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00|<: 1805>xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00|< :1805> xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00| < :1805>xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

<Dial_Plan_1_ group="Ext_1/Dial_Plan">(*xx.|**xx.|[3469]11|0|00| < :1805> xxxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>

I know I'm just playing with spaces but I'm not having any luck.  I also did try these same variations with replacing the first x after the area code with [2-9] with no luck

Help?