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. Support
  3. No recognition of incoming calls

No recognition of incoming calls

Scheduled Pinned Locked Moved Support
27 Posts 2 Posters 659 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
    #2

    Did you try:

    /usr/local/fop2/fop2_server --test

    ??

    1 Reply Last reply
    0
    • C
      C
      CTJackal
      wrote on last edited by
      #3

      Hi,

      Yes. Received "Connection to manager OK!"

      Carlos

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

        What is the output from /usr/local/fop2/autoconfig-buttons-freepbx.sh ?

        If you do not see button activity, the button definitions are wrong or the manager is not responding to events at all. You can also run fop2_server in debug mode: /usr/local/fop2/fop2_server -X 15

        Best regards

        1 Reply Last reply
        0
        • C
          C
          CTJackal
          wrote on last edited by
          #5

          Output of autoconfig-buttons-freepbx.sh is normal.

          However /usr/local/fop2/fop2_server -X 15 generates: Can't listen to port 4445

          Tried to search for this on forum, but the search seems to be not working at present. Regards this as too common words.

          Thanks,

          Carlos

          1 Reply Last reply
          0
          • C
            C
            CTJackal
            wrote on last edited by
            #6

            Sorry, forgot to say that netstat -nta gives:

            0.0.0.0:4444 0.0.0.0:* LISTEN
            0.0.0.0:4445 0.0.0.0:* LISTEN

            as I changed FOP1 to port 4444

            Carlos

            1 Reply Last reply
            0
            • C
              C
              CTJackal
              wrote on last edited by
              #7

              Just to add a little more!

              I realised that I needed to stop the fop2 server and restart with -X 15 . Silly me!

              I've also noticed that internal calls show:

              500 Carlos
              Line1 device
              Line2 inactive

              501 Mobile
              Line1 501
              Line 2 inactive

              when calling extension 501 from extension 500

              What's the "device" mean?

              Carlos

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

                FOP2 will display callerid as present in AMI events. The "device" is the callerid name for any sip peers on a standard FreePBX setup. If you see something, then there is activity showing?

                1 Reply Last reply
                0
                • C
                  C
                  CTJackal
                  wrote on last edited by
                  #9

                  Hi Nicolas,

                  After some more experimentation, here are my finding:

                  Trixbox 2.6 + FOP 2.11
                  Inbound route straight to extension:
                  FOP2 shows calling number at extension, Calling number and name shown on pop-up.

                  Inbound route to queue:
                  FOP2 shows calling number on all extensions which are queue agents. Shows calling number and name in queue. Shows calling name and number in pop-up.

                  Trixbox 2.8 + FOP 2.11
                  Inbound route straight to extension:
                  FOP2 shows [u:3bfxb89z]called[/u:3bfxb89z] extension number at extension e.g ext 502 shows 502 calling. No pop-up.

                  Inbound route to queue:
                  FOP2 shows [u:3bfxb89z]called[/u:3bfxb89z] extension number at extension. Shows [u:3bfxb89z]calling[/u:3bfxb89z] number [u:3bfxb89z]and[/u:3bfxb89z] name in queue. No pop-up.
                  (Each extension shows own number as calling number e.g. ext 511 shows 511 as calling number, 512 shows 512)

                  I can only assume that FOP2 must be being given the calling number as it appears in the queue, but why isn't the extension showing the calling number (only shows own extension number calling) and there's no pop-up?

                  Thanks

                  Carlos.

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

                    Carlos, popups will not show if the callerid matches the extension, as you do not want self popups (as when doing originations). I have other reports of FreePBX using a RINGGROUP number as the called number, and not the callerid of the person calling. That change is in the ringgroup macro for some freepbx version. And it is freepbx that uses that callerid and fop2 just displays it. I do not have reports of this behavior on anything but ringgroups.

                    If you can provide me access to your trixbox 2.8 I can take a deeper look, but it is a dialplan issue, not a fop2 issue...

                    Best regards,

                    1 Reply Last reply
                    0
                    • C
                      C
                      CTJackal
                      wrote on last edited by
                      #11

                      Hi Nicolas,

                      Thanks for the offer, but I won't put you to trouble just yet 😉

                      Do you mean a difference in the extensions.conf file?

                      Carlos.

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

                        Most probably yes.. a difference in the ring group dialplan for FreePBX, or something to that effect.

                        1 Reply Last reply
                        0
                        • C
                          C
                          CTJackal
                          wrote on last edited by
                          #13

                          Hi Nicolas,

                          Done a "diff" on the freepbx core modules, extensions.conf, sip.conf, iax.conf, and features.conf, between the Trixbox 2.8 (not working) and the Trixbox 2.6 (working) versions. Both exactly the same!

                          Any other thoughts?
                          Carlos.

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

                            Do not check the modules, but the dialplans or agi scripts. there are parts of the dialplan that are static (not _additional or _custom files).

                            1 Reply Last reply
                            0
                            • C
                              C
                              CTJackal
                              wrote on last edited by
                              #15

                              Hi Nicolas,

                              I'll try and get a report from fop2_server -X 15 for you if this will help guide you to the issue.

                              Carlos

                              1 Reply Last reply
                              0
                              • C
                                C
                                CTJackal
                                wrote on last edited by
                                #16

                                Hi Nicolas,

                                Here's a snip from the screen:

                                http://www.ripon.org/carlos/screen.jpg

                                showing the incoming call to the queue, but each extension showing its own calling number.

                                Carlos

                                1 Reply Last reply
                                0
                                • C
                                  C
                                  CTJackal
                                  wrote on last edited by
                                  #17

                                  Nicolas,

                                  Seem to be getting somewhere at last. If an agent logs into a queue via FOP2, then the CALLING number is shown as ringing the agent's extension and hence the pop-up works.

                                  If an agent logs into a queue via (queue number)* e.g. 803* or the agent is placed permanently into the queue via trixbox static agents, then it's the AGENT number which is shown as ringing the agent's extension, and hence no pop-up.

                                  Any thoughts?

                                  Carlos

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

                                    Not sure how is the agent-add macro doing its thing, you should look at the "queue show" output from the asterisk cli to see how are the agents added, and if they use Local/XXX@YYY, verify that the button configuration use extension=XXX and queuecontext=YYY. You can see that by running autoconfig-buttons-freepbx.sh. There must be a coincidence between extension/queuecontext in both the queue member and the button config so fop2 can match the inbound call as a queue member call.

                                    1 Reply Last reply
                                    0
                                    • C
                                      C
                                      CTJackal
                                      wrote on last edited by
                                      #19

                                      Hi Nicolas,

                                      Just had a further look and Trixbox adds to the queue:

                                      member=Local/500@from-internal/n,0

                                      when adding a static member. If I change this to:

                                      member=SIP/500

                                      then it works as expected. At least until Trixbox is relaoded and overwrites the change.

                                      Tried "queue show" and it gives Local/500@from-internal/n in both v2.6 and 2.8
                                      Also autoconfig-buttons-freepbx.sh gives:

                                      [QUEUE/803]
                                      type=queue
                                      extension=803
                                      label=Sales
                                      context=ext-queues
                                      queuecontext=from-internal
                                      extenvoicemail=*

                                      again in both v2.6 and 2.8

                                      To add yet more, setting the destination of an inbound route directly to an extension results in the CALLED extension being displayed against the extension in FOP2.

                                      Carlos.

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

                                        Look at the extension configuration in the buttons.cfg file, not the queue configuration, and see if they have the queuecontext set and to what value it is set.. it should be "from-internal", but maybe it is set to "from-queue". If that is the case, you must change the autoconfiguration button script to use the correct queuecontext for your setup.

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

                                          The thing is that as far as I know , FreePBX 2.6 or 2.7 introduced the from-queue context, so from-internal is used for older freepbx install.

                                          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