Member
Last active 6 years ago
Further tests show your preg_match is not working on /etc/freepbx/freepbx.conf and returns nothing.
@chrisgg I am also having an issue with the fop2admin page. It is spewing errors like this...
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBHOST
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBNAME
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBHOST
The system is FreePBX and it has something to do with the parse_conf function. It is not reading the details.
I am also having an issue with the fop2admin page. It is spewing errors like this...
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBHOST
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBNAME
/var/www/html/fop2/admin/dbconn.php (line 3)
Undefined index: DBHOST
I am having an odd behaviour on the sub-action button on a single extension. Every single member has the add/remove from each queue and pause/unpause on all extensiont except this one. I only have the "chat" action available for this one extension.
This extension is setup 100% the same as every other extension. Every other extension I am able to add/remove pause/unpause using the sub action menu except this one extension. Any ideas where I can look to fix this?
user=1250:******:all:Supervisor
I changed it to from-queue and from-queue/n still no change. It isn't sending a pause at all. I assumed this was hard-coded in somehow, maybe I was wrong.
This is all giving me a headache for today, I will look again tomorrow and hopefully you can give some hints as to where to start looking.
127.0.0.1 -> Action: Command
127.0.0.1 -> Command: database put DND 201 YES
127.0.0.1 -> Action: Command
127.0.0.1 -> Command: database put fop2state SIP/201 "Out to lunch"
127.0.0.1 -> Action: UserEvent
127.0.0.1 -> UserEvent: FOP2ASTDB
127.0.0.1 -> Family: fop2state
127.0.0.1 -> Channel: SIP/201
127.0.0.1 -> Value: Out to lunch
127.0.0.1 <- Response: Follows
127.0.0.1 <- Privilege: Command
127.0.0.1 <- Updated database successfully
127.0.0.1 <- --END COMMAND--
127.0.0.1 <- Server: 0
127.0.0.1 <- Response: Follows
127.0.0.1 <- Privilege: Command
127.0.0.1 <- Updated database successfully
127.0.0.1 <- --END COMMAND--
127.0.0.1 <- Server: 0
127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Event Sent
127.0.0.1 <- Server: 0
Response: Success
Message: Event Sent
Server: 0
127.0.0.1 <- Event: UserEvent
127.0.0.1 <- Privilege: user,all
127.0.0.1 <- UserEvent: FOP2ASTDB
127.0.0.1 <- Action: UserEvent
127.0.0.1 <- Family: fop2state
127.0.0.1 <- Channel: SIP/201
127.0.0.1 <- Value: Out to lunch
127.0.0.1 <- Server: 0
Another update, not sure if this is right, as the buttons show from-internal but my queue show from-queue.
Chris R (Local/201@from-queue/n) (dynamic) (Not in use) has taken no calls yet
my autobuttons.cfg generates
[SIP/201]
type=extension
extension=201
label=Chris R
mailbox=201@default
context=from-internal
queuecontext=from-internal
extenvoicemail=*201@default
rtmp=0
queuechannel=Local/201@from-internal/n|Penalty=0|MemberName=Chris R|StateInterface=SIP/201&Local/201@from-internal/n|Penalty=5|MemberName=Chris R|StateInterface=SIP/201|Queue=1010&Local/201@from-internal/n|Penalty=5|MemberNa$
customastdb=CF/201
Update to this, fop2 isnt sending pauses at all to asterisk it seems and all callers are being routed to the agents still.
All my agents are dynamic and log in to the queues. Can you recommend any tests to see what's wrong?
We have both of your products, and I included the extensions_custom_asternic_fop2_pauses.conf but nothing shows in the Call Stats Pro 2.0 under agent pauses.
Do I have to make any other undocumented changes for this to work?
Edit: Running FreePBX 2.10.0 + Asterisk 1.8.17.0
extensions_override_freepbx.conf:#include /etc/asterisk/extensions_custom_asternic_fop2_pauses.conf
And of course after 3 hours of fiddling around, I figured it out. sorta.
It was the event_mask= in fop2.cfg. Can you tell me which name is for the fop2 presence events?
I have agent,call,command,system,user,dialplan. Is there any downfall to leaving event_mask commented?
On an unrelated topic, sorry. The chome extension will not let an extension log in if he is part of a context button group. I can login if I am not part of context and just a regular login. Is there any fix for that?
I must also tell you, when I change my status on my window, the icon doesnt change for me either.
From Available to DND, I have to refresh the browser to see the updated icon. And back to Available.