FOP2 users and FPBX with AMPEXTENSIONS=deviceanduser
Hi, i'm trying to integrate FOP2 with my call center. We have an asterisk-based callcenter.
I'm in the need to use AMPEXTENSIONS=deviceanduser in freepbx because i need to let the users arrive and use the first seat available to make outbound calls.
Outbound calls are generated with Originate through a custom script for click2call.
I saw that FOP2 is not able to check - if "deviceanduser" mode is set - what the real SIP device of the user logged in to FOP2.
In my script, i use this simple thing:
database get AMPUSER/$userid device
this will return the device for the current user and i use that to Originate. This is working fine. Is there a way to obtain the same results with FOP2
I want like to let FOP2 user's buttons correspond to FPBX users. So is possible to monitor callcenter from FOP2.
Thankyou
I'm in the need to use AMPEXTENSIONS=deviceanduser in freepbx because i need to let the users arrive and use the first seat available to make outbound calls.
Outbound calls are generated with Originate through a custom script for click2call.
I saw that FOP2 is not able to check - if "deviceanduser" mode is set - what the real SIP device of the user logged in to FOP2.
In my script, i use this simple thing:
database get AMPUSER/$userid device
this will return the device for the current user and i use that to Originate. This is working fine. Is there a way to obtain the same results with FOP2
I want like to let FOP2 user's buttons correspond to FPBX users. So is possible to monitor callcenter from FOP2.
Thankyou
Comments
What it does not work fine is FreePBX that comes with a broken .agi script for when you log users in or out.
FOP2 relies on the Asterisk Manager, the .agi script fires an UserEvent that fop2 intercepts to know if a user is logged in or out, and the device it was logged into. But the .agi does not work on recent asterisk versions, I think it only works in asterisk 1.4
This was discussed several times in this forum, you can search for them and find soulutions:
View Post 129
there are several more posts about it..