SOLVED SPA 525G2 (Cisco) provisioning issue

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
309
10
18
54
I have made the necessary edits on the spa 525g2 template to get the disabled key function working and other minor issues. The one issue I can't seem to fix is this:

On the 508 and the 504 I simply log in to the GUI on the spa, go to provisioning and insert the following URL

[--uid admin --pwd UrgbIjETuy]http://fqdn.domain.com/app/provision/?mac=$MA

Then, I save and the phone reboots. I then login to fusion, go to devices, set it up there, and click provision

Then I reboot the spa 508 and within minutes it is fully provisioned.

On the SPA525G2, I do the same thing, But on 2nd reboot it does not provision. I am not sure why after 2nd reboot the 508 provisons but the spa 525g2 does not. I can manually provision it with no issues.

I am on fusionp 4.5.11 installed by Installation script on the Fusionpbx.com website

Here is the portion of the script I edited:

<Resync_On_Reset group="Provisioning/Configuration_Profile">Yes</Resync_On_Reset> <Resync_Random_Delay group="Provisioning/Configuration_Profile">2</Resync_Random_Delay> <Resync_At__HHmm_ group="Provisioning/Configuration_Profile"/> <Resync_At_Random_Delay group="Provisioning/Configuration_Profile">600</Resync_At_Random_Delay> <Resync_Periodic group="Provisioning/Configuration_Profile">1200</Resync_Periodic> <Resync_Error_Retry_Delay group="Provisioning/Configuration_Profile">1200</Resync_Error_Retry_Delay> <Forced_Resync_Delay group="Provisioning/Configuration_Profile">14400</Forced_Resync_Delay> <Resync_From_SIP group="Provisioning/Configuration_Profile">Yes</Resync_From_SIP> <Resync_After_Upgrade_Attempt group="Provisioning/Configuration_Profile">Yes</Resync_After_Upgrade_Attempt> <Resync_Trigger_1 group="Provisioning/Configuration_Profile"/> <Resync_Trigger_2 group="Provisioning/Configuration_Profile"/> <Resync_Fails_On_FNF group="Provisioning/Configuration_Profile">Yes</Resync_Fails_On_FNF> {if isset ($http_auth_username)} <Profile_Rule group="Provisioning/Configuration_Profile">[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA</Profile_Rule> {else} <Profile_Rule group="Provisioning/Configuration_Profile">http://{$domain_name}{$project_path}/app/provision/?mac=$MA</Profile_Rule> {/if} <Profile_Rule_B group="Provisioning/Configuration_Profile"/> <Profile_Rule_C group="Provisioning/Configuration_Profile"/> <Profile_Rule_D group="Provisioning/Configuration_Profile"/> <DHCP_Option_To_Use group="Provisioning/Configuration_Profile">66,160,159,150,60,43,125</DHCP_Option_To_Use> <Transport_Protocol group="Provisioning/Configuration_Profile">https</Transport_Protocol> <Log_Resync_Request_Msg group="Provisioning/Configuration_Profile">$PN $MAC -- Requesting resync $SCHEME://$SERVIP:$PORT$PATH</Log_Resync_Request_Msg> <Log_Resync_Success_Msg group="Provisioning/Configuration_Profile">$PN $MAC -- Successful resync $SCHEME://$SERVIP:$PORT$PATH</Log_Resync_Success_Msg> <Log_Resync_Failure_Msg group="Provisioning/Configuration_Profile">$PN $MAC -- Resync failed: $ERR</Log_Resync_Failure_Msg> <HTTP_Report_Method group="Provisioning/Configuration_Profile">POST</HTTP_Report_Method> <Report_Rule group="Provisioning/Configuration_Profile"/> <User_Configurable_Resync group="Provisioning/Configuration_Profile">Yes</User_Configurable_Resync> <Upgrade_Enable group="Provisioning/Firmware_Upgrade">Yes</Upgrade_Enable> <Upgrade_Error_Retry_Delay group="Provisioning/Firmware_Upgrade">3600</Upgrade_Error_Retry_Delay> <Downgrade_Rev_Limit group="Provisioning/Firmware_Upgrade"/> <Upgrade_Rule group="Provisioning/Firmware_Upgrade"/> <Log_Upgrade_Request_Msg group="Provisioning/Firmware_Upgrade">$PN $MAC -- Requesting upgrade $SCHEME://$SERVIP:$PORT$PATH</Log_Upgrade_Request_Msg> <Log_Upgrade_Success_Msg group="Provisioning/Firmware_Upgrade">$PN $MAC -- Successful upgrade $SCHEME://$SERVIP:$PORT$PATH -- $ERR</Log_Upgrade_Success_Msg> <Log_Upgrade_Failure_Msg group="Provisioning/Firmware_Upgrade">$PN $MAC -- Upgrade failed: $ERR</Log_Upgrade_Failure_Msg>
 
Last edited:

Andrew Byrd

Member
Feb 16, 2018
309
10
18
54
I figured something out today regarding this issue:

Here is the provisioning URL that I use that is successful on the 508 and not on the 525 is:

[--uid admin --pwd UrgbIjETuy]http://fqdn.domain.com/app/provision/?mac=$MA

When I replace the $MA at the end with the actual mac address it works. So it appears the $MA is not finding the actual mac address
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
54
Ok, I finally got it to work. I added a C to the end of $MA and now it provisions.

?mac-$MAC
 
Status
Not open for further replies.