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.
  • 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
                      • L
                        L
                        lgts
                        wrote on last edited by
                        #21

                        Today I run again "/usr/local/fop2/generate_override_contexts.pl -write" and now I can see [app-cf-off] and [app-cf-on] context and now all works well!
                        I have understand my probelm: I enabled call forward functions after FOP2 installation!!!
                        I didn't think I should re-create the override context.

                        FOP2 is a beautiful software!

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

                          Glad you have it working!

                          Best regards,

                          1 Reply Last reply
                          0
                          • N
                            N
                            nkkromhof
                            wrote on last edited by
                            #23

                            I´m having a similar issue.

                            We use the FreePBX `Call Forward Toggle´ feature code to set CF and the extensions_override_fop2.conf does not cover this feature code, so updates to CF status via this feature code are not reflected in FOP2.

                            The generate_override_contexts.pl script only adds dialplan logic for ´Call Forward All Activate´ and for ´Call Forward All Deactivate´.
                            Is there a fix for this issue? We really need to use the toggle feature code...

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

                              You can copy the app-cf-toogle on the override file and add the exact bits of noficiations for the dnd-on and dnd-off on the correct places. It is not a "fix" but just a dialplan that needs to be set. In any case, here is a modified script to handle also the app-cf-toggle macro, let me know if it works fine so I can included it on the next release:

                              http://download.fop2.com/generate_overr ... xts.pl.txt

                              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