Not loading remote phonebook

  • Post
    Gary
    Participant
    Up
    2
    Down
    In the provisioning templates you can set the phonebooks, if I go to phonebooks under tools I can copy the url and then pase it in to the provisioning template/phonebook section. but when you provision the phone (in my case yealink T54) the remote phonebook is not set.

    If I go to provisiong and click icon to view configuration file it it not set.

    A second observation is after you provision a phone the button (your extension) shows your name ? to me this looks strange as I know my name, the account lable should be set to youe extension number not name. Just a personal preferance.

    PS. great job so far on this module.

    0
Viewing 11 replies - 1 through 11 (of 11 total)
  • Replies
    Roger Gaitan
    Keymaster
    none
    Up
    1
    Down
    Hello sir,

    Thank you for letting us know about this issue, could you tell us if the same happens with a different yealink model if you have one available?

    About the label display I’ll talk with the rest of the team about your suggestion, in the meantime you can customize the provision file to show the extensions, you can look for the values account.x.label = {{ $accounts[x][‘description’] ?? null }} and replace it with this account.x.label = {{ $accounts[x][‘extension’] ?? null }}

    0
    Gary
    Participant
    Up
    0
    Down
    Thanks, Roger

    Fanvil X4U also does not get its cloud phonebook settings, I suspect if it’s not in the config file in vitalpbx it wont get sent to the phone, i am checking that config file by pressing the blue icon on the provisioning tab.

    Thanks for the info on the edit for the account lable.

    0
    Roger Gaitan
    Keymaster
    none
    Up
    0
    Down
    Could you please edit the template and replace the following @foreach ($phonebook[‘remote_phonebooks’] ?? [] as $key) with @foreach ($phonebook ?? [] as $key), then try again to provision

     

    0
    Gary
    Participant
    Up
    0
    Down
    Worked great on the Yealink, but not sure it would be the same for the Fanvil as it looks a little different, this is the current config.

     

    –Xml PhoneBook– :
    XML-PBook1 Name :{{ $phonebook[‘remote_phonebooks’][0][‘name’] ?? null }}
    XML-PBook1 Addr :{{ $phonebook[‘remote_phonebooks’][0][‘server_address’] ?? null }}
    XML-PBook1 UserName :{{ $phonebook[‘remote_phonebooks’][0][‘server_username’] ?? null }}
    XML-PBook1 PassWd :{{ $phonebook[‘remote_phonebooks’][0][‘server_password’] ?? null }}
    XML-PBook1 Sipline :-1
    XML-PBook1 BindLine :-1
    XML-PBook2 Name :{{ $phonebook[‘remote_phonebooks’][1][‘name’] ?? null }}
    XML-PBook2 Addr :{{ $phonebook[‘remote_phonebooks’][1][‘server_address’] ?? null }}
    XML-PBook2 UserName :{{ $phonebook[‘remote_phonebooks’][1][‘server_username’] ?? null }}
    XML-PBook2 PassWd :{{ $phonebook[‘remote_phonebooks’][1][‘server_password’] ?? null }}
    XML-PBook2 Sipline :-1
    XML-PBook2 BindLine :-1
    XML-PBook3 Name :{{ $phonebook[‘remote_phonebooks’][2][‘name’] ?? null }}
    XML-PBook3 Addr :{{ $phonebook[‘remote_phonebooks’][2][‘server_address’] ?? null }}
    XML-PBook3 UserName :{{ $phonebook[‘remote_phonebooks’][2][‘server_username’] ?? null }}
    XML-PBook3 PassWd :{{ $phonebook[‘remote_phonebooks’][2][‘server_password’] ?? null }}
    XML-PBook3 Sipline :-1
    XML-PBook3 BindLine :-1
    XML-PBook4 Name :{{ $phonebook[‘remote_phonebooks’][3][‘name’] ?? null }}
    XML-PBook4 Addr :{{ $phonebook[‘remote_phonebooks’][3][‘server_address’] ?? null }}
    XML-PBook4 UserName :{{ $phonebook[‘remote_phonebooks’][3][‘server_username’] ?? null }}
    XML-PBook4 PassWd :{{ $phonebook[‘remote_phonebooks’][3][‘server_password’] ?? null }}
    XML-PBook4 Sipline :-1
    XML-PBook4 BindLine :-1
    XML-PBook5 Name :{{ $phonebook[‘remote_phonebooks’][4][‘name’] ?? null }}
    XML-PBook5 Addr :{{ $phonebook[‘remote_phonebooks’][4][‘server_address’] ?? null }}
    XML-PBook5 UserName :{{ $phonebook[‘remote_phonebooks’][4][‘server_username’] ?? null }}
    XML-PBook5 PassWd :{{ $phonebook[‘remote_phonebooks’][4][‘server_password’] ?? null }}
    XML-PBook5 Sipline :-1
    XML-PBook5 BindLine :-1

     

    0
    Roger Gaitan
    Keymaster
    none
    Up
    0
    Down
    Good to hear is working we’ll include the fix in the next update.

    With the fanvil model you can try this

    XML-PBook1 Name :{{ $phonebook[1][‘name’] ?? null }}
    XML-PBook1 Addr :{{ $phonebook[1][‘server_address’] ?? null }}
    XML-PBook1 UserName :{{ $phonebook[1][‘server_username’] ?? null }}
    XML-PBook1 PassWd :{{ $phonebook[1][‘server_password’] ?? null }}
    XML-PBook1 Sipline :-1
    XML-PBook1 BindLine :-1
    XML-PBook2 Name :{{ $phonebook[2][‘name’] ?? null }}
    XML-PBook2 Addr :{{ $phonebook[2][‘server_address’] ?? null }}
    XML-PBook2 UserName :{{ $phonebook[2][‘server_username’] ?? null }}
    XML-PBook2 PassWd :{{ $phonebook[2][‘server_password’] ?? null }}
    XML-PBook2 Sipline :-1
    XML-PBook2 BindLine :-1
    XML-PBook3 Name :{{ $phonebook[3][‘name’] ?? null }}
    XML-PBook3 Addr :{{ $phonebook[3][‘server_address’] ?? null }}
    XML-PBook3 UserName :{{ $phonebook[3][‘server_username’] ?? null }}
    XML-PBook3 PassWd :{{ $phonebook[3][‘server_password’] ?? null }}
    XML-PBook3 Sipline :-1
    XML-PBook3 BindLine :-1
    XML-PBook4 Name :{{ $phonebook[4][‘name’] ?? null }}
    XML-PBook4 Addr :{{ $phonebook[4][‘server_address’] ?? null }}
    XML-PBook4 UserName :{{ $phonebook[4][‘server_username’] ?? null }}
    XML-PBook4 PassWd :{{ $phonebook[4][‘server_password’] ?? null }}
    XML-PBook4 Sipline :-1
    XML-PBook4 BindLine :-1
    XML-PBook5 Name :{{ $phonebook[5][‘name’] ?? null }}
    XML-PBook5 Addr :{{ $phonebook[5][‘server_address’] ?? null }}
    XML-PBook5 UserName :{{ $phonebook[5][‘server_username’] ?? null }}
    XML-PBook5 PassWd :{{ $phonebook[5][‘server_password’] ?? null }}
    XML-PBook5 Sipline :-1
    XML-PBook5 BindLine :-1

    0
    Gary
    Participant
    Up
    0
    Down
    Fanvil: I paste in above but get error when saving.

     

    Attachments:
    You must be logged in to view attached files.
    0
    Roger Gaitan
    Keymaster
    none
    Up
    0
    Down
    I’ll do some testing and reply to you later.
    0
    Roger Gaitan
    Keymaster
    none
    Up
    0
    Down
    Try with this

    XML-PBook1 Name :{{ $phonebook[1][“name”] ?? null }}
    XML-PBook1 Addr :{{ $phonebook[1][“server_address”] ?? null }}
    XML-PBook1 UserName :{{ $phonebook[1][“server_name”] ?? null }}
    XML-PBook1 PassWd :{{ $phonebook[1][“server_password”] ?? null }}
    XML-PBook1 Sipline :-1
    XML-PBook1 BindLine :-1
    XML-PBook2 Name :{{ $phonebook[2][“name”] ?? null }}
    XML-PBook2 Addr :{{ $phonebook[2][“server_address”] ?? null }}
    XML-PBook2 UserName :{{ $phonebook[2][“server_name”] ?? null }}
    XML-PBook2 PassWd :{{ $phonebook[2][“server_password”] ?? null }}
    XML-PBook2 Sipline :-1
    XML-PBook2 BindLine :-1
    XML-PBook3 Name :{{ $phonebook[3][“name”] ?? null }}
    XML-PBook3 Addr :{{ $phonebook[3][“server_address”] ?? null }}
    XML-PBook3 UserName :{{ $phonebook[3][“server_name”] ?? null }}
    XML-PBook3 PassWd :{{ $phonebook[3][“server_password”] ?? null }}
    XML-PBook3 Sipline :-1
    XML-PBook3 BindLine :-1
    XML-PBook4 Name :{{ $phonebook[4][“name”] ?? null }}
    XML-PBook4 Addr :{{ $phonebook[4][“server_address”] ?? null }}
    XML-PBook4 UserName :{{ $phonebook[4][“server_name”] ?? null }}
    XML-PBook4 PassWd :{{ $phonebook[4][“server_password”] ?? null }}
    XML-PBook4 Sipline :-1
    XML-PBook4 BindLine :-1
    XML-PBook5 Name :{{ $phonebook[5][“name”] ?? null }}
    XML-PBook5 Addr :{{ $phonebook[5][“server_address”] ?? null }}
    XML-PBook5 UserName :{{ $phonebook[5][“server_name”] ?? null }}
    XML-PBook5 PassWd :{{ $phonebook[5][“server_password”] ?? null }}
    XML-PBook5 Sipline :-1
    XML-PBook5 BindLine :-1

    0
    Roger Gaitan
    Keymaster
    none
    Up
    0
    Down
    The error was caused by the quotes in the text if the same error appears again try to edit the quotes manually after pasting.
    0
    Gary
    Participant
    Up
    0
    Down
    Single quotes are needed not double quotes. Thanks it’s working.

     

    XML-PBook1 Name :{{ $phonebook[1][‘name’] ?? null }}
    XML-PBook1 Addr :{{ $phonebook[1][‘server_address’] ?? null }}
    XML-PBook1 UserName :{{ $phonebook[1][‘server_name’] ?? null }}
    XML-PBook1 PassWd :{{ $phonebook[1][‘server_password’] ?? null }}
    XML-PBook1 Sipline :-1
    XML-PBook1 BindLine :-1
    XML-PBook2 Name :{{ $phonebook[2][‘name’] ?? null }}
    XML-PBook2 Addr :{{ $phonebook[2][‘server_address’] ?? null }}
    XML-PBook2 UserName :{{ $phonebook[2][‘server_name’] ?? null }}
    XML-PBook2 PassWd :{{ $phonebook[2][‘server_password’] ?? null }}
    XML-PBook2 Sipline :-1
    XML-PBook2 BindLine :-1
    XML-PBook3 Name :{{ $phonebook[3][‘name’] ?? null }}
    XML-PBook3 Addr :{{ $phonebook[3][‘server_address’] ?? null }}
    XML-PBook3 UserName :{{ $phonebook[3][‘server_name’] ?? null }}
    XML-PBook3 PassWd :{{ $phonebook[3][‘server_password’] ?? null }}
    XML-PBook3 Sipline :-1
    XML-PBook3 BindLine :-1
    XML-PBook4 Name :{{ $phonebook[4][‘name’] ?? null }}
    XML-PBook4 Addr :{{ $phonebook[4][‘server_address’] ?? null }}
    XML-PBook4 UserName :{{ $phonebook[4][‘server_name’] ?? null }}
    XML-PBook4 PassWd :{{ $phonebook[4][‘server_password’] ?? null }}
    XML-PBook4 Sipline :-1
    XML-PBook4 BindLine :-1
    XML-PBook5 Name :{{ $phonebook[5][‘name’] ?? null }}
    XML-PBook5 Addr :{{ $phonebook[5][‘server_address’] ?? null }}
    XML-PBook5 UserName :{{ $phonebook[5][‘server_name’] ?? null }}
    XML-PBook5 PassWd :{{ $phonebook[5][‘server_password’] ?? null }}
    XML-PBook5 Sipline :-1
    XML-PBook5 BindLine :-1

     

    0
    Roger Gaitan
    Keymaster
    none
    Up
    -1
    Down
    Good to hear, we have already made the changes to fix the issue with the phonebooks to be included in the next update we hope to release soon.
    0
Viewing 11 replies - 1 through 11 (of 11 total)
  • The forum ‘New Provisioning System (EPM) – 2021 (Beta)’ is closed to new topics and replies.