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. Show Extensions With Call FWD set

Show Extensions With Call FWD set

Scheduled Pinned Locked Moved Feedback
24 Posts 6 Posters 565 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.
  • 2
    2
    255
    wrote on last edited by
    #1

    I have a number of customers asking to be able to see when a extension is set to call FWD and where it is being forwarded to?

    Is this in the next release???

    Thanks

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

      I replied to you by email. If the call forward is set on the phone, it is not possible to monitor that state (the same as with DND or some other features that might come with your phone). If you use Asterisk to perform the redirection (by means of astdb entries and dialplan magic), then it should be possible to use a tool like FOP to monitor it.

      However, the only state that is currently available to show in fop2 is the DND state as is set from FreePBX, as it can be tied to the presence information in fop2. For call forwarding there is no visual GUI indications to show such a state. It will require a custom fop2 to do that.

      Best regards,

      1 Reply Last reply
      0
      • J
        J
        joc1985
        wrote on last edited by
        #3

        If I can set a presense for Lunch Etc. Can I set one for FWD and then modify my extensions_freepbx_override? to do this?

        Thanks!

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

          It should be possible to modify both the application forward in freepbx to also set a fop2presence astdb entry and userevent as it is done with DND. I am not sure if that would be the best approach anyways, but yes, it is possible to do it.

          1 Reply Last reply
          0
          • J
            J
            joc1985
            wrote on last edited by
            #5

            Any plans on putting this functionality in?

            Thanks!

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

              Not in the standard distribution, at least not by using the presence information. You can hack your way through it, just download the beta and look what I did on the app_dnd in freepbx, and do the same for call forwarding.

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

                Feature implemented on FOP 2.20. customastdb to track for special values and display an extra information icon on the extension button.

                1 Reply Last reply
                0
                • O
                  O
                  olof
                  wrote on last edited by
                  #8

                  Hi Nicolás, just to add my vote to showing native Asterisk call forward states in FOP2.. Prior to FOP to this was an appreciated feature of the old FOP..

                  Each user is issued with 4 numbers eg:

                  200 - Cisco 7940 Desk Phone
                  300 - Cisco 7912 Home Phone
                  400 - Android Softphone
                  500 - Windows Softphone

                  Only their Desk Phone is in the company ring groups, they then use ARI to change their call forward depending on where they are.. they however frequently forget to un-forward their phones when they get back in the office!

                  PS if anyone has a better way of handing this type of user environment we are always open to suggestions!

                  Kind regards

                  Rich

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

                    Hi,

                    Since version 2.20 fop2 will show call forward state in extension buttons. If you use freepbx you should not do anything to see them, its a curved arrow icon that shows the call forward number when mouse over.

                    You cannot change call forwarding state, but you can see if its forwarded or not. It is done by monitoring the CF astdb entry that is set by FreePBX.

                    If you do not see it, it might be because user events are filtered because of insufficient manager permissions, in that case, try to add "all" both to read/write in /etc/asterisk/manager.conf for the user fop2 is using to connect to AMI. Trixbox has a bug that filters user events even if you have the user permission set, only adding "all" or "hud" will get the userevents back.

                    Best regards,

                    1 Reply Last reply
                    0
                    • O
                      O
                      olof
                      wrote on last edited by
                      #10

                      For others reference we were not seeing it originally because our check refresh rate was too slow. Works great now!

                      Rich

                      1 Reply Last reply
                      0
                      • L
                        L
                        lgts
                        wrote on last edited by
                        #11

                        I have a problem, I can see the Call Forward icon only after a "fop2 reload" and a FOP2 page refresh.
                        Same problem when I disable the CF, the icon appears util fop2 reload and page refresh.
                        I am using fop2.26 with asterisk 1.6.
                        Any suggestions?

                        Thanks
                        Lorenzo

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

                          Add "all" permissions to your /etc/asterisk/manager.conf read and write lines, then try again.

                          1 Reply Last reply
                          0
                          • L
                            L
                            lgts
                            wrote on last edited by
                            #13

                            I add "all" permission, but nothing change.
                            To avoid fop2 relaod, I set poll_interval to 300, so every 5 minute fop2 update CF status, but to see it on web page, I must force refresh on browser (with login!).
                            In next version, could you update the call forward status icon with ajax?

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

                              FOP2 shows status change with no reload or poll interval. So I do not have to add anything. Did you update the freepbx contexts with the generate_override_contexts.pl script ? If so, you probably have a bad configuration for your buttons, or Asterisk 1.6 is not broadcasting the correct UserEvents, Are you using Trixbox, trixbox asterisk 1.6 phonecore is broken. Or you are not giving the complete information about your system. if you did not run the generate_override_contexts.pl script, do it as described here:

                              http://www.fop2.com/documentation-insta ... arball.php

                              I forgot, please leave poll_interval at is default value. It is not really needed anymore, only if your asterisk is misbehaving, it might do more harm than good.

                              Best regards,

                              1 Reply Last reply
                              0
                              • L
                                L
                                lgts
                                wrote on last edited by
                                #15

                                I'm using AstersikNow 2.0.0 (from /etc/asterisknow-version) with Asterisk 1.6.2.24 and FreePBX Framework 2.10.0.7.
                                I updated the freepbx contexts with the generate_override_contexts.pl script. All buttons work fine, trunks and extension status changes immediatly.
                                Only the call forward status does not change.
                                How can I verify if Asterisk is broadcasting the correct UserEvents?

                                I forgot, congratulation for FOP2! It is a great software!

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

                                  Here is a post telling you how to start fop2 in debug mode:

                                  View Post 1170&p=4462#p4462

                                  1 Reply Last reply
                                  0
                                  • L
                                    L
                                    lgts
                                    wrote on last edited by
                                    #17

                                    I started fop2 in debug mode and these are just few rows from log about call forward activation (my extension is 9803 my cell number is 3481234567, my browser ip is 10.0.0.200):

                                    ** QUERY CUSTOM ASTDB 9803 CF

                                    127.0.0.1 -> Action: DBGet
                                    127.0.0.1 -> Family: CF
                                    127.0.0.1 -> Key: 9803
                                    127.0.0.1 -> ActionID: getvar!custom!CF/9803

                                    127.0.0.1 <- Event: DBGetResponse
                                    127.0.0.1 <- Family: CF
                                    127.0.0.1 <- Key: 9803
                                    127.0.0.1 <- Val: 3481234567
                                    127.0.0.1 <- ActionID: getvar!custom!CF/9803
                                    127.0.0.1 <- Server: 0

                                    10.0.0.200 => { "btn": "27@GENERAL", "cmd": "astdbcust", "data": "3481234567", "slot": "0" }
                                    10.0.0.200 => { "btn": "27@GENERAL", "cmd": "qualify", "data": "ok", "slot": "0" }

                                    Below there is the log after I deactivate the call forward:

                                    ** QUERY CUSTOM ASTDB 9803 CF

                                    127.0.0.1 -> Action: DBGet
                                    127.0.0.1 -> Family: CF
                                    127.0.0.1 -> Key: 9803
                                    127.0.0.1 -> ActionID: getvar!custom!CF/9803

                                    127.0.0.1 <- Response: Success
                                    127.0.0.1 <- ActionID: getvar!custom!CF/9803
                                    127.0.0.1 <- Message: Result will follow
                                    127.0.0.1 <- Server: 0

                                    I don't know how the fop2 works, but it seems that "astdbcust" are not cleared when the CF is disabled.
                                    Tell me what other type of information search into log.

                                    Regards.
                                    Lorenzo

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

                                      Below there is the log after I deactivate the call forward:
                                      [quote]
                                      ** QUERY CUSTOM ASTDB 9803 CF

                                      127.0.0.1 -> Action: DBGet
                                      127.0.0.1 -> Family: CF
                                      127.0.0.1 -> Key: 9803
                                      127.0.0.1 -> ActionID: getvar!custom!CF/9803

                                      127.0.0.1 <- Response: Success
                                      127.0.0.1 <- ActionID: getvar!custom!CF/9803
                                      127.0.0.1 <- Message: Result will follow
                                      127.0.0.1 <- Server: 0

                                      [/quote]

                                      Are you sure that is when you deactivate call forward? Here is a sane response when you query a variable that is not present:

                                      127.0.0.1 <- Response: Error
                                      127.0.0.1 <- ActionID: getvar!custom!CF/609
                                      127.0.0.1 <- Message: Database entry not found
                                      127.0.0.1 <- Server: 0

                                      If you see something else, your asterisk is broken. What UserEvents do you see when dialing the cf feature codes?

                                      In any case, I have to mention that Asterisk 1.6 was a devel branch, you should be using 1.8.

                                      Best regards,

                                      1 Reply Last reply
                                      0
                                      • L
                                        L
                                        lgts
                                        wrote on last edited by
                                        #19

                                        In the debug log there are a lot of informations, because the system is working for several users; maybe I fail to filter it. If you want I can email to you the full log.

                                        Now I can't upgrade Asterisk to 1.8, but I plan to do in next months.

                                        Regards.

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

                                          I have replied to your email, your capture does not show the userevents that are inserted via generate_override_contexts.pl for the fop2 dialplan. Did you run that at all? Do you have an extensions_override_fop2.conf file? Is that file included in extensions_override_freepbx.conf file ? Did you modify the cf macros by hand in some way? For instant notification of status change, fop2 inserts a dialplan step to fire a UserEvent. In the capture you sent there is no UserEvent being sent, so the dialplan is not changed or you have some strange issues with manager permissions. But I think the dialplan changes made by the generate_override scripts were not applied correctly.

                                          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