Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Feedback
  3. better 'dial from phonebook' interface

better 'dial from phonebook' interface

Scheduled Pinned Locked Moved Feedback
9 Posts 2 Posters 103 Views
  • 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.
  • K
    K
    Kurgan
    wrote on last edited by
    #1

    I'd like to have a better interface to place calls from phonebook. this interface should show the phonebook, allow for some quick search in it, and allow for a call to be placed to a number in the phonebook by clicking on it or on a button near to it.

    This, in my opinion, is far more "friendly" than the current method, expecially for the casual user (that is, not the pbx operator).

    Also, it should be taken into account that when dialing a phonebook number it is usually needed to add a "9" or a "0" (or any other prefix) to get to the external line, so I have to save every number in the phonebook with the prefix already prepended. It could be nice to have some configuration parameter that contains the prefix to make external calls. Or you can leave it empty to make it work like it works now.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      What you describe is almost exactly what the dial box is for. Type some text, it will search on the phonebook, you can select with arrows if multiple results, and type ENTER to dial.

      1 Reply Last reply
      0
      • K
        K
        Kurgan
        wrote on last edited by
        #3

        Not exactly. The Dial box in the main page only shows partial information from the phonebook, and when you have a lot of records, and some of them are similar, it's hard to understand who is who from the results.

        I think it could be nice to be able to dial numbers from the phonebook interface itself.

        -Open the phonebook
        -Search (in the phonebook interface, non in the dial box)
        -Click on a phone number in the phonebook interface to call that number.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          Hi,

          You can modify the css style and make the drop down selection to be wider. What fop2 version are you using? Latest versions improve readability and have no limits on the number of results you can get. And it is much much faster. Open up the phonebook takes time, doing a search more time. It is not very convenient IMHO.

          1 Reply Last reply
          0
          • K
            K
            Kurgan
            wrote on last edited by
            #5

            Thanks for your answer. I am using the latest beta (2.20). I must insist that our operator would really like to be able to dial from the phonebook interface. I understand that this is a matter of personal preference, and I am just suggesting a feature. I hope that you will consider my suggestion. In the meantime, I'll try enlarging the dial results window.

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              Edit phonebook.php and add the following lines before $grid->show_grid();

              $grid->add_display_filter('phone1','clickdial');
              $grid->add_display_filter('phone2','clickdial');
              

              And add also this snippet after show_grid:

              function clickdial($number) {
                 return "<a href='javascript:void(0);' onclick='parent.dial(\"$number\");'>$number</a>";
              }
              

              That will add click to dial from the phonebook.

              Best regards,

              1 Reply Last reply
              0
              • K
                K
                Kurgan
                wrote on last edited by
                #7

                Thanks a lot! I will try this out tomorrow!

                1 Reply Last reply
                0
                • K
                  K
                  Kurgan
                  wrote on last edited by
                  #8

                  It works perfectly! Thanks a lot, you have made a phone operator happy (and a sysadmin too).

                  Do you plan to include this patch in future releases, or do I need to keep this reference to patch future installations?

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #9

                    I will include it on 2.20 final

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups