USE FOP to spy on extensions on remote system

  1. 12 years ago

    I have a customer with 2 store locations. Both locations have their own dedicated FreePBX systems each with a FOP2 license. The store locations are connected via a VPN. I have IAX2 trunk setup between the two stores and routing in place to allow the systems to call over the IAX2 trunk,

    The owner of the business wants the ability to monitor calls on both systems from a single location. The owner is usually at store 1 and uses FOP2 to spy on calls. Is there a way to configure FOP2 so that he can also spy on the calls at store 2?

    My current plan is to program the Polycom phone to register an extension from each server. This would give the ability for the owner to access the individual FOP2 instances at each store and listen to calls. The only problem is that he will have to log into two different FOP2 instances (one at each store) to monitor calls.

  2. admin

    26 Aug 2012 Administrator

    If you have an unified dialplan with unique extensions on each location, you can do it without the need to register your phone in the two locations. Think of it like this

    Location A

    Extensions from 100 to 199

    Location B

    Extensions from 200 to 299

    You can dial any extension from any location, the dialplan in each pbx/location will go through the correct Asterisk machine based on the extension number.

    Then you configure one FOP2 server to monitor the other location and configure its buttons accordingly (the normal automatic config will only work for the local server, you will have to work the scripts out to get configs from remote servers, or create a manual config file for buttons on the remote server). The button configuration will need the "Server" line in each button, something like Server=192.168.1.1 or whatever ip you have for each server.

    Finally, in the fop2 button configuraiton the only thing you must do is to set the "originatechannel" field to be:

    Local/XXX@from-internal/n

    where XXX is the extension number.

    With this arrange, you can spy on active calls from any of the two servers from your own extension. The spy command will be launched on the correct server, and the originate channel will ring your extension no matter if its on the local or remote server, as it will go through your dialplan and follow its dial rules.

    Best regadrs,

or Sign Up to reply!