ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    FreePBX Contact Manager to Yealink Address Book

    IT Discussion
    freepbx yealink address book contact manager
    12
    39
    15.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      On a related note, I just tried to make a large import for a client and found a bug in the Bulk Handler module.
      https://issues.freepbx.org/browse/FREEPBX-18843

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        You can use HTTPS, but you need to be aware that Yealink phones have issues with Let's Encrypt certificates unless you are on one of the most recent firmware versions of the current S series phones (T42S, T48S, etc.).

        1 Reply Last reply Reply Quote 1
        • DingoBlueD
          DingoBlue
          last edited by

          I have implemented the contact manager (not using the phone gui) and it works PERFECTLY - thank you.
          The "Contacts" button appears on the bottom of the phones home screen (handset on hook) and works beautifully. However, if the handset is lifted to make a call, the bottom menu changes to reflect the settings in the phone gui - Settings/Soft Keys/Dialing Empty" and I can longer see "Contacts".
          Is there a way I can get the same Contacts functionality without resorting to changing Yealink xml templates?
          Yealink T46S - firmware 66.84.0.15
          Freepbx - 14.0.11
          Asterisk - 16.3.0

          Thank you for any assistance.
          Regards

          JaredBuschJ 2 Replies Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @DingoBlue
            last edited by

            @DingoBlue said in FreePBX Contact Manager to Yealink Address Book:

            I have implemented the contact manager (not using the phone gui) and it works PERFECTLY - thank you.
            The "Contacts" button appears on the bottom of the phones home screen (handset on hook) and works beautifully. However, if the handset is lifted to make a call, the bottom menu changes to reflect the settings in the phone gui - Settings/Soft Keys/Dialing Empty" and I can longer see "Contacts".
            Is there a way I can get the same Contacts functionality without resorting to changing Yealink xml templates?
            Yealink T46S - firmware 66.84.0.15
            Freepbx - 14.0.11
            Asterisk - 16.3.0

            Thank you for any assistance.
            Regards

            Yes, those are changeable. No, I do not recall where off the top of my head. I will have to look once I have a phone I can access.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @DingoBlue
              last edited by

              @DingoBlue said in FreePBX Contact Manager to Yealink Address Book:

              However, if the handset is lifted to make a call, the bottom menu changes to reflect the settings in the phone gui - Settings/Soft Keys/Dialing Empty" and I can longer see "Contacts".

              You can only edit those via configuration files.

              They are called "softkey"

              Here is a Yealink PDF on the configuration

              The better answer will be to instruct users to push that menu button first instead of picking up the phone first.

              DashrenderD 1 Reply Last reply Reply Quote 1
              • DashrenderD
                Dashrender @JaredBusch
                last edited by

                @JaredBusch said in FreePBX Contact Manager to Yealink Address Book:

                @DingoBlue said in FreePBX Contact Manager to Yealink Address Book:

                However, if the handset is lifted to make a call, the bottom menu changes to reflect the settings in the phone gui - Settings/Soft Keys/Dialing Empty" and I can longer see "Contacts".

                You can only edit those via configuration files.

                They are called "softkey"

                Here is a Yealink PDF on the configuration

                The better answer will be to instruct users to push that menu button first instead of picking up the phone first.

                Yeah, sadly - people always just want to grab the handset before doing anything else - hard habit to break.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Dashrender
                  last edited by

                  @Dashrender said in FreePBX Contact Manager to Yealink Address Book:

                  @JaredBusch said in FreePBX Contact Manager to Yealink Address Book:

                  @DingoBlue said in FreePBX Contact Manager to Yealink Address Book:

                  However, if the handset is lifted to make a call, the bottom menu changes to reflect the settings in the phone gui - Settings/Soft Keys/Dialing Empty" and I can longer see "Contacts".

                  You can only edit those via configuration files.

                  They are called "softkey"

                  Here is a Yealink PDF on the configuration

                  The better answer will be to instruct users to push that menu button first instead of picking up the phone first.

                  Yeah, sadly - people always just want to grab the handset before doing anything else - hard habit to break.

                  You need to use the correct language.

                  You don't press send first on your cell phone.

                  Don't pick up your desk phone first either.

                  1 Reply Last reply Reply Quote 0
                  • DingoBlueD
                    DingoBlue
                    last edited by

                    Thank you for all your replies.
                    I was hoping for a simple edit in the FreePBX End Point Manager Basefile but not to be 😞
                    My chances of training the users in the regard is between nil and negligible so time for some reading!
                    Regards

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @DingoBlue
                      last edited by JaredBusch

                      @DingoBlue said in FreePBX Contact Manager to Yealink Address Book:

                      I was hoping for a simple edit in the FreePBX End Point Manager Basefile but not to be

                      That is simple. Your post implied not using the EPM.

                      Edit: Or maybe I misread that document on the train this morning.. Let me read more carefully.

                      Clarification: It is simple to edit the soft keys with EPM. You can add any valid config code in basefile edit. That is what it is for.

                      It is not obvious on how to make a soft key load an XML page. I can see how to make it go to a directory, but would have to test things.

                      1 Reply Last reply Reply Quote 0
                      • DingoBlueD
                        DingoBlue
                        last edited by

                        Sorry - I should have mentioned EPM. I used EPM to make the other changes as per your thread above.
                        Thank you again.

                        1 Reply Last reply Reply Quote 0
                        • DingoBlueD
                          DingoBlue
                          last edited by

                          Clarification: It is simple to edit the soft keys with EPM. You can add any valid config code in basefile edit. That is what it is for.

                          It is not obvious on how to make a soft key load an XML page. I can see how to make it go to a directory, but would have to test things.

                          Any luck with your research?

                          1 Reply Last reply Reply Quote 0
                          • M
                            mgbolts
                            last edited by

                            Dear All,

                            Thanks for the help regarding this script and general instructions to get it going.

                            I have made some edits to the script to allow for multiple numbers for each name, ie. each name appears once but has multiple labelled numbers, eg. work, cell etc. just like your cell phone....

                            https://github.com/mgbolts/fpbx-yealink-xmlcontacts/blob/master/cm_to_yl_ab_L2.php

                            Thanks
                            Mark

                            JaredBuschJ 1 Reply Last reply Reply Quote 1
                            • JaredBuschJ
                              JaredBusch @mgbolts
                              last edited by

                              @mgbolts said in FreePBX Contact Manager to Yealink Address Book:

                              Dear All,

                              Thanks for the help regarding this script and general instructions to get it going.

                              I have made some edits to the script to allow for multiple numbers for each name, ie. each name appears once but has multiple labelled numbers, eg. work, cell etc. just like your cell phone....

                              https://github.com/mgbolts/fpbx-yealink-xmlcontacts/blob/master/cm_to_yl_ab_L2.php

                              Thanks
                              Mark

                              That's been a when I get to it thing. so thanks!

                              1 Reply Last reply Reply Quote 1
                              • M
                                mgbolts
                                last edited by mgbolts

                                Another update to the script.

                                https://github.com/mgbolts/fpbx-yealink-xmlcontacts/blob/master/cm_to_yl_ab_L2.php

                                Updates are as follows:

                                a) I have added the ability to customise your own number labels. eg. I did not like cell or internal being the default label from fpbx. I wanted Mobile and Extension.

                                b) I wanted the ability to choose the display order for the set of numbers for each name. The issue was that it was random and I also wanted my chosen number to be the default number displayed against the name. This was particularly where I pulled in to the internal contact list. In this case, I wanted the extension to be the default and not some random number like cell etc.

                                c) It now has the ability to use the number as input (the default) or use the auto generated E164 format from FPBX. This may not be useful for most users, but is helpful where you have users in more than jurisdiction and each country has its own int dialing prefix, eg. AU is 0011 and other countries use different prefixes. It does require you to select the correct country when creating the contact number in fpbx. Further instructions in the code.

                                JaredBuschJ 2 Replies Last reply Reply Quote 1
                                • JaredBuschJ
                                  JaredBusch @mgbolts
                                  last edited by

                                  @mgbolts Awesome!

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Chrischevy
                                    last edited by

                                    I've been using this script for a while and it worked very well. However, I have a problem with FreePBX 15.
                                    It seems that the script is not pulling the contacts correctly. I see some data on the chart created by the script, but I don't know where it comes from (see image)

                                    182e2a19-138e-42e7-a515-29c55d30092c-image.png

                                    The same issue is present on 2 different systems, both on FreePBX 15.
                                    All my FreePBX 14 are fine.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @Chrischevy
                                      last edited by JaredBusch

                                      @Chrischevy said in FreePBX Contact Manager to Yealink Address Book:

                                      I've been using this script for a while and it worked very well. However, I have a problem with FreePBX 15.
                                      It seems that the script is not pulling the contacts correctly. I see some data on the chart created by the script, but I don't know where it comes from (see image)

                                      182e2a19-138e-42e7-a515-29c55d30092c-image.png

                                      The same issue is present on 2 different systems, both on FreePBX 15.
                                      All my FreePBX 14 are fine.

                                      I updated the repo last week to handle this.
                                      https://github.com/sorvani/freepbx-helper-scripts/issues/8

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @mgbolts
                                        last edited by

                                        @mgbolts said in FreePBX Contact Manager to Yealink Address Book:

                                        Another update to the script.

                                        https://github.com/mgbolts/fpbx-yealink-xmlcontacts/blob/master/cm_to_yl_ab_L2.php

                                        Updates are as follows:

                                        a) I have added the ability to customise your own number labels. eg. I did not like cell or internal being the default label from fpbx. I wanted Mobile and Extension.

                                        b) I wanted the ability to choose the display order for the set of numbers for each name. The issue was that it was random and I also wanted my chosen number to be the default number displayed against the name. This was particularly where I pulled in to the internal contact list. In this case, I wanted the extension to be the default and not some random number like cell etc.

                                        c) It now has the ability to use the number as input (the default) or use the auto generated E164 format from FPBX. This may not be useful for most users, but is helpful where you have users in more than jurisdiction and each country has its own int dialing prefix, eg. AU is 0011 and other countries use different prefixes. It does require you to select the correct country when creating the contact number in fpbx. Further instructions in the code.

                                        I have also updated my original script to handle most of this.

                                        The sub sort by label order is not yet impelmented.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cinergi
                                          last edited by

                                          Just came across your script. It's working great here - thank you! I made a small change to remove all non-numeric characters from phone numbers (like +, (), - , etc.), otherwise my Yealink phone doesn't dial the number properly from the directory. It only required 1 line of code in the main loop:

                                          $contact['number'] = preg_replace("/[^0-9]/", "", $contact['number']);
                                          

                                          One question: what is the purpose of the "label=" in the <Telephone> XML tag? This is not documented in Yealink's XML documentation, and although the script generates it properly for Home, Work, Mobile, and Other, my SIP-T29G phone seems to ignore it and instead indicates multiple numbers as Number1, Number2, etc. which is not great. I wish it used the tags. Do other Yealink phones support this?

                                          Thanks again!

                                          JaredBuschJ 2 Replies Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @cinergi
                                            last edited by JaredBusch

                                            @cinergi said in FreePBX Contact Manager to Yealink Address Book:

                                            One question: what is the purpose of the "label=" in the <Telephone> XML tag? This is not documented in Yealink's XML documentation, and although the script generates it properly for Home, Work, Mobile, and Other, my SIP-T29G phone seems to ignore it and instead indicates multiple numbers as Number1, Number2, etc. which is not great. I wish it used the tags. Do other Yealink phones support this?

                                            Those labels started in some version of the phones, yes. I know it works in the T4 series and the T5 series.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post