Cisco 525G2 provisioning does not work

Status
Not open for further replies.

sanketgroup

Joined
Jun 28, 2012
Messages
97
Reaction score
0
Hi
I have 3cx v 12 installed and have couple of newly bought cisco 525g2.
I have enable provisioning in 3cx extension by entering correct MAC and model.

I entered provisioning url- http://192.168.2.13:5000/provisioning/$MA.xmlin in "profile rule" box of cisco 525g2 admin settings.
But some how cisco 525g2 are not able to get the information from 3cx.

What could be wrong in this issue?

i tried to enter http://192.168.2.13:5000/provisioning/$MA.xml url in browser just to see what i get in return. I am not sure if i am right or wrong but following message i do get.
"Server Error in '/' Application.
A potentially dangerous Request.Path value was detected from the client (%)" and there is long error.

pls help me to resolve.

thanx
 
In v12, a random folder was placed after provisioning/ to help with security.

Replace $MA with the MAC address of the handset. The handset expands that $MA variable with its MAC address.
The expected result is an XML file.. the provisioning file for that handset/extension.

At times it is helpful to check what the web server is feeding the phone for provisioning.. when you expect something to work but are getting a different result... aka a "sanity check".

Though I changed the values, the handset at my office pulls http://192.168.1.2:5000/provisioning/qwertyuiop/C47D4F696969.xml

192.168.1.2 is the 3CX host
qwertyuiop was the random folder the system created when we went to v12.
C47D4F696969 is the MAC on my Cisco SPA504G

Similarly, I have DHCP scope option 66 set to http://192.168.1.2:5000/provisioning/qwertyuiop/$MA.xml, and I factory reset my phone to test provisioning after the upgrade to v12.. worked fine.

Look in C:\ProgramData\3CX\Data\Http\Interface\provisioning for your random folder name thereafter.
 
wooohhhh....
i was trying to resolve the issue since 3 days.
Finally you resolved it.

thanx a lot.. its working now.

have not tried with DHCP scope option 66 but it should work.
 
3CX V12 features an additional path to its provisioning url –

Example
V11 Path would be http://192.168.1.221:5000/Provisioning/
V12 Path http://192.168.1.221:5000/Provisioning/j7h9ubalp6

In the Cisco Phone templates all the paths as to the Logo, Phone book etc now still point to the old path of V11.

Looking at the below code also confirms this.


<!--# Logo Provisioning #-->
<BMP_Picture_Download_URL group="Phone/General">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/logo/cisco50xg.bmp</BMP_Picture_Download_URL>
<Select_Logo group="Phone/General">BMP Picture</Select_Logo>
<Select_Background_Picture group="Phone/General">BMP Picture</Select_Background_Picture>

<!--# Provisioning Update Link #-->
<Profile_Rule group="Provisioning/Configuration_Profile">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/$MA.xml</Profile_Rule>

<!--# The "XML_Directory_Service_Name" and "XML_Directory_Service_URL" fields define the name and the provisioning location for the phone to retrieve the 3CX Company Phonebook.-->
<XML_Directory_Service_Name group="Phone/XML_Service">3CX PhoneBook</XML_Directory_Service_Name>
<XML_Directory_Service_URL group="Phone/XML_Service">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/cisco_phonebook.xml</XML_Directory_Service_URL>


You need to update the above with the below code (seems 3CX forgot to add %%PROVSUBDIR%%

<!--# Logo Provisioning #-->
<BMP_Picture_Download_URL group="Phone/General">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/%%PROVSUBDIR%%/logo/cisco50xg.bmp</BMP_Picture_Download_URL>
<Select_Logo group="Phone/General">BMP Picture</Select_Logo>
<Select_Background_Picture group="Phone/General">BMP Picture</Select_Background_Picture>

<!--# Provisioning Update Link #-->
<Profile_Rule group="Provisioning/Configuration_Profile">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/%%PROVSUBDIR%%/$MA.xml</Profile_Rule>

<!--# The "XML_Directory_Service_Name" and "XML_Directory_Service_URL" fields define the name and the provisioning location for the phone to retrieve the 3CX Company Phonebook.-->
<XML_Directory_Service_Name group="Phone/XML_Service">3CX PhoneBook</XML_Directory_Service_Name>
<XML_Directory_Service_URL group="Phone/XML_Service">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/%%PROVSUBDIR%%/cisco_phonebook.xml</XML_Directory_Service_URL>
 
Yeah, i found that logo and phonebook were not working on Cisco .
one ques:
do i need to replace %%PROVSUBDIR%% with actual directory name or just copy paste same code what you gave

thanx
sanket
 
just the code i posted will work.

Cisco 525G/2 complete template for 3CX V12 - fully working http://www.3cx-phone-system.co.uk/downloads/index.php?dir=&file=ciscoSPA525-it-comms.ph.xml

Cisco 50* http://www.3cx-phone-system.co.uk/downloads/index.php?dir=&file=cisco-IT-Comms.ph.xml

We have made the 3CX Development team aware of this so they should include the above in SP1
 
thanx david
this helped a lot.
one thing: we are not able to change the screen saver. i set it to clock but it always shows only 3cx wallpaper.

thanx
 
3CX will by default override any settings you put in the phone manually.

remove the below code from the template apply to the phone and then make your changes.

<!--# Logo Provisioning #-->
<BMP_Picture_Download_URL group="Phone/General">http://%%param::PBXPUBLICIP%%:%%pbx_http_port%%/provisioning/%%PROVSUBDIR%%/logo/cisco50xg.bmp</BMP_Picture_Download_URL>
<Select_Logo group="Phone/General">BMP Picture</Select_Logo>
<Select_Background_Picture group="Phone/General">BMP Picture</Select_Background_Picture>

or

replace the cisco50xg.bmp with your logo
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,835
Messages
589,289
Members
164,668
Latest member
Infinity Network