12-03-2008 03:15 AM - edited 03-13-2019 05:53 PM
Hi, all. I have a question about the AXL,
I want to change the locale from English United State to Thai Thailand but, I have no any idea which funcion. I found the updatePhone, but it seem to many parameter. Please kindly advice me.
Solved! Go to Solution.
12-18-2008 04:57 AM
This means that it worked out. If you look at the spec (e.g. http://developer.cisco.com/c/document_library/get_file?folderId=192390&name=DLFE-11111.zip&redirect=http%3A%2F%2Fdeveloper.cisco.com%2Fweb%2Faxl%2Fdocs%3Fp_p_id%3Ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_DXka%26p_p_lifecycle%...) you'll see that upon successful execution of updatePhone, you get the uuid of the device back. You'd get something that includes the string error if it fails.
Oh, one thing though: just as with ccmadmin, changing the locale won't change anything on the phone just now.. you have to reset the device to make the change sticky. To do that, you need to execute a doDeviceReset operation and set the isHardReset parameter to true.. that will perform a hard reset of the phone and when it comes back up, it'll load the new locale.
If you're using extension mobility, you need to log out the currently logged in user and then log him back in.. more info about that in the extension mobility api section:http://developer.cisco.com/web/emapi/home. With EM you'll need to give your axl user em proxy rights so that it can log in/out everybody so you don't need to know the user's password.
12-04-2008 12:05 AM
updatePhone is the correct method... and the parameter you're looking for is userLocale. By default, it is empty which means the default English US locale, but you can set it to any other locale you have installed on your CCM (e.g. German Germany for German, or French France for French).
And, if you look at the axl documentation again, you'll see that very few parameters are actually mandatory.. something as simple as
12-18-2008 02:40 AM
I try to send as your suggest but the phone return something like belows
============================
12-18-2008 04:57 AM
This means that it worked out. If you look at the spec (e.g. http://developer.cisco.com/c/document_library/get_file?folderId=192390&name=DLFE-11111.zip&redirect=http%3A%2F%2Fdeveloper.cisco.com%2Fweb%2Faxl%2Fdocs%3Fp_p_id%3Ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_DXka%26p_p_lifecycle%...) you'll see that upon successful execution of updatePhone, you get the uuid of the device back. You'd get something that includes the string error if it fails.
Oh, one thing though: just as with ccmadmin, changing the locale won't change anything on the phone just now.. you have to reset the device to make the change sticky. To do that, you need to execute a doDeviceReset operation and set the isHardReset parameter to true.. that will perform a hard reset of the phone and when it comes back up, it'll load the new locale.
If you're using extension mobility, you need to log out the currently logged in user and then log him back in.. more info about that in the extension mobility api section:http://developer.cisco.com/web/emapi/home. With EM you'll need to give your axl user em proxy rights so that it can log in/out everybody so you don't need to know the user's password.
12-19-2008 12:53 AM
it's work, thank you very much.
More question, if i just change the locale and reset the phone (ignored the other parameters such as username, line, display) the phone still save the original?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide