3CX XML Phone books FirstName and LastName Reversed

Discussion in '3CX Phone System - General' started by RussRiopelle, Jul 30, 2014.

Thread Status:
Not open for further replies.
  1. RussRiopelle

    Joined:
    Feb 4, 2014
    Messages:
    38
    Likes Received:
    0
    When looking at the XML file for our yealink phone book noticed that the FirstName entry is actually the LastName and vice versa. This person's FirstName is Cory and LastName is Adams.



    It is this way in all the XML phone books.

    Any ideas why?
     

    Attached Files:

    • XML.PNG
      XML.PNG
      File size:
      8 KB
      Views:
      1,251
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    Hi there,
    In which file did you see those infos ?
    Looking at the yealink_phonebook.xml located in our provisioning folder, syntax is not same and there is no separate fields for last name and first name, there is just a Name field :
    <DirectoryEntry>
    <Name>Riley Decker</Name>
    <Telephone>12345</Telephone>
    </DirectoryEntry>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. RussRiopelle

    Joined:
    Feb 4, 2014
    Messages:
    38
    Likes Received:
    0
    Pierre,
    This is the name of the file: 3CXPhone-directory.
    I put in wrong file name.....sorry.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    Well in that other file first name and last name matches my company phonebook entries here on v12 sp6, are you running latest versions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. RussRiopelle

    Joined:
    Feb 4, 2014
    Messages:
    38
    Likes Received:
    0
    We are running V12 SP6.
    I just added a new extension to test.
    See result below:
     

    Attached Files:

    • XML2.PNG
      XML2.PNG
      File size:
      13.7 KB
      Views:
      1,241
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    Ok I found it,
    Just toggle option in Settings / Phone Provisioning / General : "Generate SIP-Phone phonebook provisioning files in the following order"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. RussRiopelle

    Joined:
    Feb 4, 2014
    Messages:
    38
    Likes Received:
    0
    Pierre,
    My value in that field is 1. Do you mean change to 0? See below:


    PHONEBOOK_LAST_FIRST Defines caller name replacement format. Available values 0=FirstName LastName 1=LastName FirstName Default 1 1
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    review my reply I edited it no need to go through custom parametrs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. RussRiopelle

    Joined:
    Feb 4, 2014
    Messages:
    38
    Likes Received:
    0
    Pierre,

    That worked!!!
    Thank you for your very timely assistance.
    Have a great day!!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.