cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
1594
Views
0
Helpful
7
Replies
Highlighted
Beginner

Changing language SPA502G

Hello,

 

I have a Cisco SPA502G with Software Version 7.5.2 and Hardware Version 1.0.4.  Under Dictionary Server script I have:

 

serv=tftp://ipaddress/;d0=English;x0=spa50x_30_x_en_v756.xml;d1=French;x1=spa50x_30x_fr_v756.xml;

Language Selection: French

Locale: fr-CA

 

I am trying to configure this phone in French and it is still in English.  All help is appreciated!  What am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

What am I doing wrong here?

You didn't read Release Notes of firmware you are trying to upgrade to. You should do it.

You can't upgrade a pre-7.5.2b firmware to a post-7.5.2b firmware directly. You must upgrade to 7.5.2b first, then you can upgrade to 7.5.6.

 

View solution in original post

7 REPLIES 7
Highlighted
Advocate

Upgrade phone to more recent firmware (preferred). Or use dictionaries for your version. Dictionaries for 7.5.6 may not work with 7.5.2

 

I assume you verified already that French dictionary file has been successfully downloaded from tftp server already. Turn on syslog&debug and catch them as well as TFTP communication between phone and tftp server if you are in doubt.

 

Highlighted

I have tried upgrading the firmware but have run into issues.  The phone launches the firmware upgrade and then fails and reboots and this cycle continues.  This is what happens:

 

Nov 19 10:14:24 10.1.52.92 resync rule:  tftp://10.1.121.51/spae8edf36b1892.xml
Nov 19 10:14:24 10.1.52.92 SPA502G e8:ed:f3:6b:18:92 -- Requesting resync tftp://10.1.121.51:69/spae8edf36b1892.xml
Nov 19 10:14:24 localhost in.tftpd[15321]: RRQ from 10.1.52.92 filename /spae8edf36b1892.xml
Nov 19 10:14:24 10.1.52.92 SPA502G e8:ed:f3:6b:18:92 -- Requesting resync tftp://10.1.121.51:69/spae8edf36b1892.xml
Nov 19 10:17:27 localhost in.tftpd[15543]: RRQ from 10.1.52.92 filename /spa502G.cfg
Nov 19 10:18:27 localhost in.tftpd[15558]: RRQ from 10.1.52.92 filename /spae8edf36b1892.xml
Nov 19 10:18:28 localhost in.tftpd[15559]: RRQ from 10.1.52.92 filename /spa50x-30x-7-5-6a.bin
Nov 19 10:18:49 localhost in.tftpd[15559]: tftpd: read(ack): Connection refused

 

What am I doing wrong here?

Highlighted

What am I doing wrong here?

You didn't read Release Notes of firmware you are trying to upgrade to. You should do it.

You can't upgrade a pre-7.5.2b firmware to a post-7.5.2b firmware directly. You must upgrade to 7.5.2b first, then you can upgrade to 7.5.6.

 

View solution in original post

Highlighted

I am wondering now if it is possible to provision language through freepbx.  My spa502g phones keep crashing when I add dictionary lines to provision.  This is with upgraded firmware. I can only change the phone's language manually through the device's web interface.

Highlighted

So complex question. Divide et impera.

It seems that provisioning file created by FreePBX is not correct. So first question is obvious - what's wrong with the provisioning file ? It is correct place to ask it here. But you need to disclose the particular provisioning file to us. Also, syslog and debug messages may be valuable.

Even second question is obvious - how to configure FreePBX to create correct provisioning file ? But it's not correct place for such question here. You should ask FreePBX's experts. I assume there is a support for such switch ...

 

Highlighted

This is how my template is configured:

 

<flat-profile>
<!-- Reset the global configuration options, now we will reset per day instead of every second -->
<Resync_Periodic>86400</Resync_Periodic>
<Resync_On_Reset>Yes</Resync_On_Reset>
<Profile_Rule>{$provisioning_type}://{$provisioning_path}/spa$MA.xml</Profile_Rule>
<Resync_At__HHmm_ group="Provisioning/Configuration_Profile">23:59</Resync_At__HHmm_>
 
<!-- Line Registration Information -->
<Text_Logo group="Phone/General">LCI Education</Text_Logo>
<Station_Name group="Phone/General">{$station_name}</Station_Name>
<Voice_Mail_Number group="Phone/General">{$vmail|*97}</Voice_Mail_Number>
{line_loop}
<Display_Name_{$line}_ ua="na">{$displayname.line.1}</Display_Name_{$line}_>
<!-- If BLF then set this to the BLF -->
<Short_Name_{$line}_ ua="na">{$short_name}</Short_Name_{$line}_> 
<User_ID_{$line}_ ua="na">{$ext}</User_ID_{$line}_>
<Password_{$line}_ ua="na">{$pass}</Password_{$line}_>
<!-- Below set to disabled for BLF -->
<Extension_{$line}_ group="Phone/Line_Key_{$line}">{$blf_ext_type}</Extension_{$line}_>
<!-- If BLF set to shared -->
<Share_Call_Appearance_{$line}_ group="Phone/Line_Key_{$line}">{$share_call_appearance|private}</Share_Call_Appearance_{$line}_>
<!-- this changes how the button works. If it's set when the phone isn't on blf then the button turns orange. so we probably need to remove this normally.-->
<Extended_Function_{$line}_ group="Phone/Line_Key_{$line}">{$extended_function}</Extended_Function_{$line}_>
<Dial_Plan_{$line}_ ua="na">{$dial_plan}</Dial_Plan_{$line}_>
<SIP_Port_{$line}_ group="Ext_{$line}/SIP_Settings">{$server.port.1}</SIP_Port_{$line}_>
<Proxy_{$line}_ group="Ext_{$line}/Proxy_and_Registration">{$server.ip.1}</Proxy_{$line}_>
{/line_loop}
 
<!-- Proxy and Registration -->
<Proxy_1_ ua="na">{$server.ip.1}</Proxy_1_>
<Primary_NTP_Server ua="na">{$network_time_server}</Primary_NTP_Server>
<Upgrade_Enable ua="ro">{$enable_upgrade}</Upgrade_Enable>
<Upgrade_Rule ua="ro">{$upgrade_path}</Upgrade_Rule>
 
<!-- User Proxy and Registration -->
<Use_Outbound_Proxy_1_ ua="na">No</Use_Outbound_Proxy_1_>
<Outbound_Proxy_1_ ua="na">{$server.ip.1}</Outbound_Proxy_1_>
<Register_Expires_1_ ua="ro">3600</Register_Expires_1_>
<Ans_Call_Without_Reg_1_ ua="na">No</Ans_Call_Without_Reg_1_>
<Use_DNS_SRV_1_ ua="rw">No</Use_DNS_SRV_1_>
<Proxy_Fallback_Intvl_1_ ua="ro">3600</Proxy_Fallback_Intvl_1_>
<Proxy_Redundancy_Method_1_ ua="ro">Normal</Proxy_Redundancy_Method_1_>
<Voice_Mail_Number  ua="na">{$vmail|*97}</Voice_Mail_Number>
<Time_Zone  ua="na">{$timezone}</Time_Zone>
<Time_Zone group="Regional/Miscellaneous">GMT-05:00</Time_Zone>
 
<!-- Admin -->
<Enable_Web_Server ua="na">yes</Enable_Web_Server>
<Web_Server_Port ua="na">80</Web_Server_Port>
<Enable_Web_Admin_Access ua="na">yes</Enable_Web_Admin_Access>
<Admin_Passwd ua="na">Youngsky10</Admin_Passwd>
<User_Password ua="na">{$user_password}</User_Password>
<Enable_CDP group="System/VLAN_Settings">{$enable_cdp|No}</Enable_CDP>
 
<!-- options: -->
<Daylight_Saving_Time_Rule ua="na">start=3/8/7/02:0:0;end=11/1/7/02:0:0;save=1</Daylight_Saving_Time_Rule>
<Daylight_Saving_Time_Enable group="Regional/Miscellaneous">No</Daylight_Saving_Time_Enable>
<Date_Format >{$date_format|month/day}</Date_Format>
<Call_Return_Code ua="na"> </Call_Return_Code>
<Blind_Transfer_Code > </Blind_Transfer_Code>
<Call_Back_Act_Code> </Call_Back_Act_Code>
<Call_Back_Deact_Code> </Call_Back_Deact_Code>
<Cfwd_All_Act_Code> </Cfwd_All_Act_Code>
<Cfwd_All_Deact_Code> </Cfwd_All_Deact_Code>
<Cfwd_Busy_Act_Code> </Cfwd_Busy_Act_Code>
<Cfwd_Busy_Deact_Code> </Cfwd_Busy_Deact_Code>
<Cfwd_No_Ans_Act_Code> </Cfwd_No_Ans_Act_Code>
<Cfwd_No_Ans_Deact_Code> </Cfwd_No_Ans_Deact_Code>
<CW_Act_Code> </CW_Act_Code>
<CW_Deact_Code> </CW_Deact_Code>
<CW_Per_Call_Act_Code> </CW_Per_Call_Act_Code>
<CW_Per_Call_Deact_Code> </CW_Per_Call_Deact_Code>
<Block_CID_Act_Code> </Block_CID_Act_Code>
<Block_CID_Deact_Code> </Block_CID_Deact_Code>
<Block_CID_Per_Call_Act_Code> </Block_CID_Per_Call_Act_Code>
<Block_CID_Per_Call_Deact_Code> </Block_CID_Per_Call_Deact_Code>
<Block_ANC_Act_Code> </Block_ANC_Act_Code>
<Block_ANC_Deact_Code> </Block_ANC_Deact_Code>
<DND_Act_Code> </DND_Act_Code>
<DND_Deact_Code> </DND_Deact_Code>
<Secure_All_Call_Act_Code> </Secure_All_Call_Act_Code>
<Secure_No_Call_Act_Code> </Secure_No_Call_Act_Code>
<Secure_One_Call_Act_Code> </Secure_One_Call_Act_Code>
<Secure_One_Call_Deact_Code> </Secure_One_Call_Deact_Code>
<Paging_Code ua="na">{$page_code}</Paging_Code>
<Call_Park_Code> </Call_Park_Code>
<Call_Pickup_Code> </Call_Pickup_Code>
<Call_UnPark_Code> </Call_UnPark_Code>
<Group_Call_Pickup_Code> </Group_Call_Pickup_Code>
<Media_Loopback_Code> </Media_Loopback_Code>
<Referral_Services_Codes> </Referral_Services_Codes>
 
 
    <Text_Logo group="Phone/General">LCI Education</Text_Logo>
    <BMP_Picture_Download_URL group="Phone/General">tftp://192.168.60.51/lasalle_1b.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>
<Syslog_Server group="System/Optional_Network_Configuration">{$server.ip.1}</Syslog_Server>
<Debug_Level group="System/Optional_Network_Configuration">3</Debug_Level>
<Debug_Server group="System/Optional_Network_Configuration">{$server.ip.1}</Debug_Server>
 
<Speed_Dial_2 ua="rw">{$speed_dial_2}</Speed_Dial_2>
<Speed_Dial_3 ua="rw">{$speed_dial_3}</Speed_Dial_3>
<Speed_Dial_4 ua="rw">{$speed_dial_4}</Speed_Dial_4>
<Speed_Dial_5 ua="rw">{$speed_dial_5}</Speed_Dial_5>
<Speed_Dial_6 ua="rw">{$speed_dial_6}</Speed_Dial_6>
<Speed_Dial_7 ua="rw">{$speed_dial_7}</Speed_Dial_7>
<Speed_Dial_8 ua="rw">{$speed_dial_8}</Speed_Dial_8>
<Speed_Dial_9 ua="rw">{$speed_dial_9}</Speed_Dial_9>
 
<Subscribe_Expires group="Attendant_Console/General">1800</Subscribe_Expires>
<Subscribe_Retry_Interval group="Attendant_Console/General">30</Subscribe_Retry_Interval>
<Unit_1_Enable group="Attendant_Console/General">Yes</Unit_1_Enable>
<Subscribe_Delay group="Attendant_Console/General">1</Subscribe_Delay>
<Unit_2_Enable group="Attendant_Console/General">Yes</Unit_2_Enable>
<Server_Type group="Attendant_Console/General">Asterisk</Server_Type>
<Test_Mode_Enable group="Attendant_Console/General">No</Test_Mode_Enable>
<Attendant_Console_Call_Pickup_Code group="Attendant_Console/General">**#</Attendant_Console_Call_Pickup_Code>
<BLF_List_URI group="Attendant_Console/General"/>
<Application_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<Serv_Subscribe_Failed_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<Serv_Subscribing_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<SNRM_Day_Mode_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<SNRM_Night_Mode_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<Parking_Lot_Idle_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<Parking_Lot_Busy_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<BLF_Idle_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<BLF_Ringing_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<BLF_Busy_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
<BLF_Held_LED group="Attendant_Console/Attendant_Key_LED_Pattern"/>
{loop_unit1}
<Unit_1_Key_{$number} group="Attendant_Console/Unit_1">{$data}</Unit_1_Key_{$number}>
{/loop_unit1}
{loop_unit2}
<Unit_2_Key_{$number} group="Attendant_Console/Unit_2">{$data}</Unit_2_Key_{$number}>
{/loop_unit2}
 
<!-- Ring tones and Cadences -->
<Ring1 group="Phone/Ring_Tone">{$ring1|n=Classic-1;w=3;c=1}</Ring1>
<Ring2 group="Phone/Ring_Tone">{$ring2|n=Classic-2;w=3;c=2}</Ring2>
<Ring3 group="Phone/Ring_Tone">{$ring3|n=Classic-3;w=3;c=3}</Ring3>
<Ring4 group="Phone/Ring_Tone">{$ring4|n=Classic-4;w=3;c=4}</Ring4>
<Ring5 group="Phone/Ring_Tone">{$ring5|n=Simple-1;w=2;c=1}</Ring5>
<Ring6 group="Phone/Ring_Tone">{$ring6|n=Simple-2;w=2;c=2}</Ring6>
<Ring7 group="Phone/Ring_Tone">{$ring7|n=Simple-3;w=2;c=3}</Ring7>
<Ring8 group="Phone/Ring_Tone">{$ring8|n=Simple-4;w=2;c=4}</Ring8>
<Ring9 group="Phone/Ring_Tone">{$ring9|n=Simple-5;w=2;c=5}</Ring9>
<Ring10 group="Phone/Ring_Tone">{$ring10|n=Office;w=4;c=1}</Ring10>
        <Default_Ring__1__ group="Ext_1/Call_Feature_Settings">10</Default_Ring__1__>
 
<!-- LDAP Settings for Directory -->
<LDAP_Dir_Enable group="Phone/LDAP_Corporate_Directory_Search">{$ldap_enabled|No}</LDAP_Dir_Enable>
<LDAP_Corp_Dir_Name group="Phone/LDAP_Corporate_Directory_Search">{$ldap_name}</LDAP_Corp_Dir_Name>
<LDAP_Server group="Phone/LDAP_Corporate_Directory_Search">{$ldap_server}</LDAP_Server>
<LDAP_Auth_Method group="Phone/LDAP_Corporate_Directory_Search">Simple</LDAP_Auth_Method>
<LDAP_Client_DN group="Phone/LDAP_Corporate_Directory_Search">{$ldap_account}</LDAP_Client_DN>
<LDAP_Username group="Phone/LDAP_Corporate_Directory_Search">{$ldap_account}</LDAP_Username>
<LDAP_Password group="Phone/LDAP_Corporate_Directory_Search">{$ldap_password}</LDAP_Password>
<LDAP_Search_Base group="Phone/LDAP_Corporate_Directory_Search">{$ldap_base}</LDAP_Search_Base>
<LDAP_Last_Name_Filter group="Phone/LDAP_Corporate_Directory_Search">cn:(cn=*$VALUE*)</LDAP_Last_Name_Filter>
<LDAP_First_Name_Filter group="Phone/LDAP_Corporate_Directory_Search">cn:(cn=*$VALUE*)</LDAP_First_Name_Filter>
<LDAP_Search_Item_3 group="Phone/LDAP_Corporate_Directory_Search"/>
<LDAP_Item_3_Filter group="Phone/LDAP_Corporate_Directory_Search"/>
<LDAP_Search_Item_4 group="Phone/LDAP_Corporate_Directory_Search"/>
<LDAP_item_4_Filter group="Phone/LDAP_Corporate_Directory_Search"/>
<LDAP_Display_Attrs group="Phone/LDAP_Corporate_Directory_Search">{$ldap_attrs|a=cn;a=sn;a=telephoneNumber,n=Phone,t=p;}</LDAP_Display_Attrs>
<LDAP_Number_Mapping group="Phone/LDAP_Corporate_Directory_Search">{$ldap_mapping}</LDAP_Number_Mapping>
 
<!-- Language -->
<Dictionary_Server_Script group="Regional/Miscellaneous">serv=tftp://192.168.60.51/;d0=English;x0=spa50x_30x_en_v756.xml;d1=French;x1=spa50x_30x_fr_v756.xml;</Dictionary_Server_Script>
<Language_Selection group="Regional/Miscellaneous">French</Language_Selection>
<Locale group="Regional/Miscellaneous">fr-CA</Locale>
 
</flat-profile>
Highlighted

So relevant part is:

<Dictionary_Server_Script group="Regional/Miscellaneous">serv=tftp://192.168.60.51/;d0=English;x0=spa50x_30x_en_v756.xml;d1=French;x1=spa50x_30x_fr_v756.xml;</Dictionary_Server_Script>
<Language_Selection group="Regional/Miscellaneous">French</Language_Selection>
<Locale group="Regional/Miscellaneous">fr-CA</Locale>

I see nothing wrong with it.

But I didn't asked for template - I asked for final provisioning file as supplied to the phone. May be the file become broken during template->final processing.

Fortunately, we can do simple test. Lets order your's phone to download provisioning from FreePBX (according your description it will not switch to French).

Extract and save configuration from phone (see SPA IP Phone: Extracting Configuration with spacfg.xml)

Use phone's menu and switch device to French.

Extract and save configuration from phone again.

Compare saved configurations. Is there a difference ?

Note that we are using Provisioning to switch the phone language successfully. So I assume that your issue can be solved.