Call History Plugin without local Asterisk instance
-
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:
- Is my assumption correct?
- 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!
-
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 -
-
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.
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