addPhone -> "userlocal" does not work

Version 1
    This document was generated from CDN thread

    Created by: Michael Schmidt on 26-04-2012 08:09:19 AM
    Hi,
     
    I`m facing a problem with "addPhone" and setting the User Locale.
     
    We are running CUCM 8.6.2.
     
    We have at the web gui of CUCM for example these User Locales for choosing:
     
    English, United States
    Deutsch, Deutschland
     
    But when I use "userlocal" in the "addPhone" it never sets the User Local at the new created phone.
     
    I tried it now in different settings but it will not set the User Local:
     
    <userlocale>English, United States</userlocale>
    <userlocale>English United States</userlocale>
    <userlocale>"English, United States"</userlocale>
    <userlocale>'English, United States'</userlocale>
     
    I also tried instead of "userlocale" this one:
     
    UserLocale
    Userlocale
    userLocale --> not working gets back error "Message (addPhone): Item not valid: The specified userLocale was not found"
     
    Does anybody knows this problem and how I can solve it?
     
    BR
    Michael

    Subject: RE: addPhone -> "userlocal" does not work
    Replied by: Michael Schmidt on 02-05-2012 01:23:33 AM
    Hi,

    does anybody knows why "User Locale" is not set with "addPhone"?

    Does anybody knows this problem?
     
    Could it be a problem that the names of the "User Locale" are with a comma?
     
    English, United States
    Deutsch, Deutschland
     
    Because the names of the "Network Locale" are without comma:
     
    United States
    Germany
     
    The function "networkLocale" is working without problems but not the "userlocale".
     
    Is it possible to rename the "User Local" files from "English, United States" to "English United States" without the comma in the name?
     
    BR
    Michael

    Subject: RE: addPhone -> "userlocal" does not work
    Replied by: Tanner Ezell on 03-05-2012 07:02:49 AM
    Hi,

    I think I found a solution for this.

    I will conigure the "User Locale" not directly at every phone wiht the function "User Locale" but will define the "User locale" once at the "Common Device Configuration" and configure this option "Common Device Configuration" to the phone.

    So there is no need to configure "User Locale" direclty at the phone :-)

    BR
    Michael

     
    You're doing it wrong, the documentation isn't very clear on how to specify the user locale, but it's something like:
     

    <userLocale>English United States</userLocale>
     



    Subject: Re: New Message from Michael Schmidt in Administration XML (AXL) - Administ
    Replied by: Tanner Ezell on 03-05-2012 10:05:49 AM
    Michael,

    My apologizes, I missed that. Hopefully it's a bug that will be rectified
    soon!

    On Thu, May 3, 2012 at 7:31 AM, Cisco Developer Community Forums <
    cdicuser@developer.cisco.com> wrote:

    > Michael Schmidt has created a new message in the forum "Administration XML
    > Questions":
    >
    > --------------------------------------------------------------
    > Hi Tanner,
    >
    > as written in the first post "userLocale" with L in capital letter is not
    > working in our CUCM 8.6.2.
    >
    > When I use this "userLocale" instead of "userlocale" as written in de docu
    > I get this error back:
    >
    > userLocale --> not working gets back error "Message (addPhone): Item not
    > valid: The specified userLocale was not found"
    >
    >
    >
    > BR
    > Michael
    > --
    > To respond to this post, please click the following link:
    >
    > <
    > http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/5555349
    > >
    >
    >
    > or simply reply to this email.
    >

    Subject: RE: addPhone -> "userlocal" does not work
    Replied by: Michael Schmidt on 03-05-2012 01:15:24 AM
    Hi,

    when I run this SQL at CUCM I see the following output when I configure the both different "User Locale" at CUCM web page:

    select d.name, d.tkuserlocale from device as d, devicenumplanmap as m, numplan as n where (d.pkid = m.fkdevice and n.pkid = m.fknumplan and n.dnorpattern='testdn')


    "User Locale" -> "English, United States":

    name                                     tkuserlocale
    ====================== ============
    SEP0023EB51FED5               1


    "User Locale" -> "Deutsch, Deutschland":

    name                                     tkuserlocale
    ====================== ============
    SEP0023EB51FED5               3


    --> But when I try to configure this "User Locale" with function "addPhone" like this one it`s also not working:


    <userlocale>1</userlocale>

    <userlocale>3</userlocale>


    Can anybody help me how I can set "User Locale" with the function "addPhone" directly to a new phone?

    Can I define the user locale language of a new phone also within the device pool of a phone?

    BR
    Michael

    Subject: RE: addPhone -> "userlocal" does not work
    Replied by: Michael Schmidt on 03-05-2012 04:01:26 AM
    Hi,

    I think I found a solution for this.

    I will conigure the "User Locale" not directly at every phone wiht the function "User Locale" but will define the "User locale" once at the "Common Device Configuration" and configure this option "Common Device Configuration" to the phone.

    So there is no need to configure "User Locale" direclty at the phone :-)

    BR
    Michael

    Subject: RE: addPhone -> "userlocal" does not work
    Replied by: Michael Schmidt on 03-05-2012 07:31:32 AM
    Hi Tanner,

    as written in the first post "userLocale" with L in capital letter is not working in our CUCM 8.6.2.

    When I use this "userLocale" instead of "userlocale" as written in de docu I get this error back:

    userLocale --> not working gets back error "Message (addPhone): Item not valid: The specified userLocale was not found"


    BR
    Michael

    Subject: RE: Re: New Message from Michael Schmidt in Administration XML (AXL) - Admi
    Replied by: David Staudt on 12-06-2012 06:14:12 PM
    Created defect CSCua43023 to track.  Appreciate the legwork in finding and describing this issue!