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. Blog
  3. Chrome extension 1.1.0 released

Chrome extension 1.1.0 released

Scheduled Pinned Locked Moved Blog
18 Posts 3 Posters 320 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.
  • N
    N
    nicolas
    wrote on last edited by
    #1

    A new version is up on the Chrome Web Store

    It has the following new features:

    • Extension buttons work as speed dials:

    You can click on any of them to quickly originate a call to their extension.

    • Ability to define a notification content URL

    Apart from the popup link you can define to open a new browser tab pointing to some web application you might have, now you can use a web application to get the actual content of the call notification, to show it directly inside the notification. For example, you can have an answering service and want to display the greeting speech for when a call comes in, then you can create a web service that will retrieve that information directly, and it will be presented right inside the call notification, with no need to open a new browser tab.

    • Configurable protocol handler

    Previous versions added the sip: protocol handler to click to call numbers on web pages, so if you have a soft phone that registers itself with that protocol handler, clicking on the number should make your phone call directly (without using the Asterisk/FOP2 callback method). It seems some users are installing soft phones that sets a protocol handler, but they do not want to use that soft phone to make the call, so now that handler is configurable via Options (by default its empty, with no handler).

    Enjoy!

    1 Reply Last reply
    0
    • S
      S
      sbasan
      wrote on last edited by
      #2

      Hi,

      It's still not working for me.
      Protocol handler field is empty and I'm getting no callback after clicking a number.
      Even selecting a number and right click->fop2 extension->dial xxxxx do nothing.

      What am I missing?

      בלובינט-IP מרכזיות

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

        Perhaps permissions issues, your user probably does not have the dial permission, or is not visible in the fop2 button display.

        1 Reply Last reply
        0
        • S
          S
          sbasan
          wrote on last edited by
          #4

          It has "all" as full permissions.
          Isn't enough?

          1 Reply Last reply
          0
          • M
            M
            mkeuter
            wrote on last edited by
            #5

            It would be nice, if the search field at the top, could be used for dialing as well.

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

              Try to log to the fop2 web page (instead of using the extension). Then try to originate a call from there, does that work?

              1 Reply Last reply
              0
              • S
                S
                sbasan
                wrote on last edited by
                #7

                Well, I thought it's working (worked with ver 2.9)
                Now it appear that even from the web it's not working.
                Only local extensions can be dialed.

                As stated above it has "all" for permission.

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

                  So your problem is not the Chrome Extension, the problem is call origination within FOP2. There are a number of reasons that can affect call origination, and all of them are due to configuration, either in Asterisk config files or FOP2 config files. So, focus on call origination within the FOP2 web page, once you get that working, the Chrome extension will work.

                  Please try this, go to the FOP2 Manager, edit the user you use to perform tests, remove all permissions that is has assigned and add only the "dial" permission. Then run this:

                  /usr/local/fop2/autoconfig-users.sh | grep XXX

                  Where XXX is the extension of that user you just modified, look for the user=xxx,password,permissions line, verify that the permission string is indeed "dial" and nothing else.

                  Then restart fop2:

                  service fop2 restart

                  Then log again to fop2 with that user and attempt a call origination, you can click a target extension and then click the dial action button... remember that you must have your phone/softphone ready and working... your phone should ring and when pickup it will dial the target extension. Let me know if doing that works

                  1 Reply Last reply
                  0
                  • S
                    S
                    sbasan
                    wrote on last edited by
                    #9

                    Done this.
                    The extension has the dial permission but still only local extensions can be dialed using the dial action button or pressing other extension button.

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

                      So it fails when you try to dial outside numbers? Do you use any module that might affect outbound calling? Does your phone ring when you attempt such a call? or not at all? You can start FOP2 server in debug mode and capture output while you attempt to dial outside numbers via the dialbox.

                      http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10

                      1 Reply Last reply
                      0
                      • S
                        S
                        sbasan
                        wrote on last edited by
                        #11

                        Thanks.
                        looks like the problem is the context.

                        Dial from fop2 has context: domain.name-ext-local
                        Has this context works for local numbers dialing to external number with the same context got response:
                        127.0.0.1 <- Response: Error
                        127.0.0.1 <- Message: Extension does not exist.

                        Dialing external numbers use the context: domain.name-from-internal

                        Why external numbers use local context?
                        fop2 ver 2.9 use the correct context for external numbers so dialing external numbers worked.

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

                          the context is defined in the buttons configuration, that can be handled either by manual config or via fop2 manager and its backend functions files that can be tweaked if they are not correct. I have no idea nor context about your setup so I cannot answer, just fix your button config definition and you will make it work. This issue is NOT RELATED to the chrome extension at all, it is just a misconfiguration of context in the buttons.

                          1 Reply Last reply
                          0
                          • S
                            S
                            sbasan
                            wrote on last edited by
                            #13

                            Changing the context fix the dialing.
                            Which file I need to change the context so there will be no need to manually update each button?

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

                              Are you using the fop2 manager? What backend? I cannot answer without having this knowledge... most probably you have to modify a functions-xxxx.php file in the fop2 manager, but I cannot tell if you do not tell me your backend.

                              1 Reply Last reply
                              0
                              • M
                                M
                                mkeuter
                                wrote on last edited by
                                #15

                                Can it be the Chrome extension strips the leading "+" sign, when dialing international numbers (e.g. +49 40 1234567) ? Also in conjunction with the Dial Prefix in the configuration. That makes it difficult to route the route in Asterisk.

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

                                  Why it makes it difficult? + signs are not valid characters for phone dialing, if you need to add that you should do it in your routes, not ask people to dial it. The number matching algorithm strips punctuation, and it does it by design, as 99% of people dialplans will break if you dial + or ( or - or whatever. Numbers should be plain number, then you can use a prefix if you come from the old PBX days where dialplan pattern matching was not really an option.

                                  1 Reply Last reply
                                  0
                                  • M
                                    M
                                    mkeuter
                                    wrote on last edited by
                                    #17

                                    When you activate "Clickable Numbers" then you can dial e.g. phone numbers from websites, which are often listed in international format e.g. "+49 40 123456" without the plus sign this could also be a local number in Hamburg, Germany. In Germany we don't use the NANP (with fixed lengths) but have dynamic length numbers.

                                    Since the Chrome Extension has no conversion rules, the only way is to do the filtering in Asterisk (e. g. "exten => _+ZXXX.,1,NoOp()").

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

                                      Unfortunately that cannot be fixed. Punctuation is removed from any clickable number.

                                      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