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. Call History Plugin without local Asterisk instance

Call History Plugin without local Asterisk instance

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 81 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.
  • F
    F
    Fopper
    wrote on last edited by
    #1

    Hi folks!
    I have a working FOP2 instance running. The Asterisk instance is running in our Yearstar telephone system. FOP2 uses the AMI Interface to communicate with this unit. Everything is working good so far, except the Call History plugin:
    There is no asterisk instance running on the same computer as the FOP2 server deamon.
    As far as I have understood (from looking at the code) it is not possible at all to use the Call History Plugin under this circumstances since the Call History plugin accesses the asteriskcdrdb.cdr Table, which is not present in my case.

    Two questions:

    1. Is my assumption correct?
    2. If yes, is there any change to make it work (without changing the topology of the telephone system)?

    Have a good day and thank you very much!

    1 Reply Last reply
    0
    • R
      R
      Rickb
      wrote on last edited by
      #2

      New to FOP2 so don't take this a law and my not apply directly but I just ran into this today and found this to help me figure out what to. https://forum.fop2.com/post/quote/4769/Comment_13780
      I connected to the asteriskcdrdb DB on our FreePBX system and was able to get the Call history in FOP2

      1 Reply Last reply
      0
      • F
        F
        Fopper
        wrote on last edited by
        #3

        Hi Rickb,
        Thanks for your reply. Unfortunately, there is not Asterisk Database available on the same machine running the FOP2 server.

        The hope is still alive to make it work - any suggestions?

        1 Reply Last reply
        0
        • R
          R
          Rickb
          wrote on last edited by
          #4

          I connected to the database on the remote asterisk server from the FOP server.
          Edit the /var/www/html/fop2/config.php on your FOP server and use the DB config info from /etc/freepbx.conf that is on your Asterisk server. Restart FOP2 service.
          You will need to make sure the user that is in your /etc/freepbx.conf has permissions from your FOP server host/ip. The * db user that is in your /etc/freepbx.conf will probably be restricted to the localhost by default.

          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