On 26.09.2013 18:02, Cal Leeming [Simplicity Media Ltd] wrote:Yes, I want to record both calls in two queues to different files for
> From what I can tell, you initially had a question about recording both
> call queues, for which Regis then gave you an answer.
same initial member after a transfer from first queue to second. I
tested Regis suggestion and it works the same as callcenter's internal
recording template. I suppose callcenter module uses same record_session
function inside.
But the recording stops only after a hangup from both parties. In case
of call transfer, only B-Leg hangs-up. A-Leg will get to second queue
and will listen to moh sound while waiting in queue. In mean time, the
record_session function didn't stop to record, as there is still A-Leg
in system.
Looking on callcenter's variables got initialized, I thought
cc_record_filename might contain the path to the recorded file not only
when member is bridged to an agent, but also after the agent transferred
the member to other number. So, some testing approved my thoughts.
That is. When agent transfer the member, in the dialplan of transferred
to extension I just check cc_record_filename for non empty string, and
if it is not empty I use stop_record_session application with this
variable as the path to tell FS to stop recording current session. Then
I send the member to the second queue of the callcenter, where there is
another path defined for recording the conversation with the agent.
Initially I thought that when a member leaves callcenter application,
then recording defined in the callcenter application will end
automatically. But this didn't happen. Although this type of behave is
desired to continue on recording the session when transferring to some
regular extension.
Cal, sorry for my bad writing in English. I hope I explained my scope of
the problem.
--
Mimiko desu.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org