Call Center Agents Not Ready & Login Time Tracking

Status
Not open for further replies.

Felippe Silvestre

New Member
Feb 23, 2017
6
1
3
38
Brazil
xp-voice.negocio.site
You may be able to do it by hooking the callcenter::info CUSTOM event subclass and logging the date/time when the agent-status-change action and possibly the agent-state-change action is triggered.

Reference the Events section of the link below:
https://freeswitch.org/confluence/display/FREESWITCH/mod_callcenter
I've unable to get callcenter events.
These are what I can retrieve:
"Event-Subclass": "sofia::re_register"
"Event-Subclass": "sofia::register_attempt"

How can I force callcenter::info CUSTOM event to be enabled?
Reloading mod_callcenter didn't show any error to create that subclass.

Fusionpbx v4.5.32
FreeSWITCH Version 1.10.7-release.13~64bit (-release.13 64bit)
 

Felippe Silvestre

New Member
Feb 23, 2017
6
1
3
38
Brazil
xp-voice.negocio.site
No donuts for "callcenter::info" unfortunately
I'm listening ALL events. At first time with JSON and second with PLAIN mode, both with same results:
"Event-Name": "API",
"Event-Name": "CHANNEL_ANSWER",
"Event-Name": "CHANNEL_BRIDGE",
"Event-Name": "CHANNEL_CALLSTATE",
"Event-Name": "CHANNEL_CREATE",
"Event-Name": "CHANNEL_DESTROY",
"Event-Name": "CHANNEL_EXECUTE",
"Event-Name": "CHANNEL_EXECUTE_COMPLETE",
"Event-Name": "CHANNEL_HANGUP",
"Event-Name": "CHANNEL_HANGUP_COMPLETE",
"Event-Name": "CHANNEL_ORIGINATE",
"Event-Name": "CHANNEL_OUTGOING",
"Event-Name": "CHANNEL_PROGRESS",
"Event-Name": "CHANNEL_PROGRESS_MEDIA",
"Event-Name": "CHANNEL_STATE",
"Event-Name": "CHANNEL_UNBRIDGE",
"Event-Name": "CODEC",
"Event-Name": "CUSTOM",
"Event-Name": "PRESENCE_IN",
"Event-Subclass": "sofia::pre_register",
"Event-Subclass": "sofia::register_attempt",

No updates available at repo for freeswitch-application-callcenter-1.10.7.release.13-1.el7.x86_64
CentOS Linux release 7.9.2009 (Core)
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,414
376
83
Your python code looks fine. So the only "Event-Subclass" headers that you see in the CUSTOM events are for sofia. I don't understand what is going on because you should be seeing the call center Event-Subclass in the CUSTOM events if mod_callcenter is working correctly.
 
Status
Not open for further replies.