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

    Help with FreePBX Directory Script

    Scheduled Pinned Locked Moved IT Discussion
    fanvilfreepbxpbxvoiptelephonysip
    32 Posts 2 Posters 7.0k Views
    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

      I would need documentation on the Fanvil format to modify the script to work with their XML fully to have multiple numbers under one contact.

      B 1 Reply Last reply Reply Quote 0
      • B
        bholler @JaredBusch
        last edited by

        @JaredBusch

        https://fanvil.com/Uploads/Temp/download/20191226/5e0454ec2e7f0.pdf

        Will this work?

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

          @bholler said in Help with FreePBX Directory Script:

          Will this work?

          My god that is unhelpful.. The section labeled for this was not accurate.. but I found it elsewhere in there.

          This is the working format.

          bfa2c1ab-5536-4e8b-8fa2-e8919eefc60f-image.png
          1e605b38-4863-4cc5-8571-f77aa5f4f0f0-image.png

          I'll look at the script later and make an update that will work for these devices.

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

            @bholler said in Help with FreePBX Directory Script:

            Whats next?

            You need to make sure you go into your FreePBX User Manager and populate the cell phone for all the users that need it.

            11647a74-8c7f-47a5-9561-58a8a423db93-image.png
            Edit each user and click on User Details
            da3d8e9e-040f-47bf-937c-9f714cd8790d-image.png

            Populate numbers as needed..
            image

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

              Fanvil address book script added to gthub.

              1. SSH into your FreePBX instance, and become root if you are not.
              sudo su -
              
              1. Change into the directory you want the script. I drop things in a sub-directory named custom.
              cd /var/www/html/custom
              
              1. Download the file from github
              wget -O cmfa.php https://github.com/sorvani/freepbx-helper-scripts/raw/master/ContactManager_to_Fanvil_AddressBook/cm_to_fv_ab.php
              
              1. Open a browser and load the page with the User Manager Group parameter to see if it works.
              https://pbx.domain.com/custom/cmfa.php?cgroup=User%20Manager%20Group
              

              6d557e37-c590-4313-9a26-9542c8e28dc7-image.png
              5. Log into your phone and choose Phonebook on the left menu.
              78010c36-c792-4108-8dbe-1486113321a3-image.png
              6. Click on Cloud phonebook on the top menu.
              ae64802b-7783-470b-9bc8-a594663afd07-image.png
              7. Give it a name and then paste in the URL, specify the calling line and search line if desired.
              06ffa918-3127-42e7-b0d8-88b1605844fe-image.png
              8. Click apply, and then click on the the Phonebook name at the top of the page to see the phonebook in the web interface.
              phonebook

              1 Reply Last reply Reply Quote 0
              • B
                bholler
                last edited by

                I got this error on step 4

                Screenshot 2020-07-17 at 17.35.44.png

                What do i do

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

                  @bholler said in Help with FreePBX Directory Script:

                  I got this error on step 4

                  Screenshot 2020-07-17 at 17.35.44.png

                  What do i do

                  Did you make sure your users were set up in User Manager as instructed?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bholler @JaredBusch
                    last edited by

                    @JaredBusch Screenshot 2020-07-17 at 18.15.10.png

                    I have 23 contact in that user manager group.

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

                      @bholler said in Help with FreePBX Directory Script:

                      @JaredBusch Screenshot 2020-07-17 at 18.15.10.png

                      I have 23 contact in that user manager group.

                      Right click the page with the error and view source.

                      1 Reply Last reply Reply Quote 0
                      • B
                        bholler
                        last edited by

                        Screenshot 2020-07-17 at 18.25.07.png

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

                          @bholler The script works. the group is empty.

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

                            Go to Admin->Contact Manager
                            5a409ca1-8057-4692-8e72-91a8f7796ce5-image.png

                            What is the name of the default internal group?
                            0f357532-64bf-479e-957b-7f2c44b04115-image.png

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              bholler @JaredBusch
                              last edited by

                              @JaredBusch Screenshot 2020-07-17 at 18.49.51.png

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

                                Then change the URL to hod

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  bholler @JaredBusch
                                  last edited by

                                  @JaredBusch

                                  It displays on browser but not on phone. I dont know why

                                  Screenshot 2020-07-17 at 18.54.28.png

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

                                    Download the file from github again. I fixed what I missed when I uploaded it.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bholler
                                      last edited by

                                      It is the same outcome after downloading with the link below

                                      wget -O cmfa.php https://github.com/sorvani/freepbx-helper-scripts/raw/master/ContactManager_to_Fanvil_AddressBook/cm_to_fv_ab.php

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

                                        paste in the source view.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          bholler @JaredBusch
                                          last edited by

                                          @JaredBusch

                                          Screenshot 2020-07-17 at 19.30.35.png

                                          xml output on browser is successful. But not same on phone

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

                                            Are you sure this is the right FQDN?

                                            https://XXX.XXXXX.com.ng/custom/cmfa.php?cgroup=ccenter

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