Hi, No mod_fifo nor mod_сallсenter not fit me completely. There are no strategy option in mod_fifo, so incoming calls are distributed to agents unfairly. There are no something like "fifo in" and "fifo out wait" in mod_сallсenter. It it can be implemented with "callcenter_config agent add" and "callcenter_config tier add" but it is impossible to execute "callcenter_config agent del" and "callcenter_config tier del" automatically after agent hungup. Whether there are plans to add something like strategy option to mod_fifo or simplify mod_сallсenter usage? -- Thanks, Eugene Prokopiev
no there are no plans. The calls are distributed to the agents based on the number of missed calls they earn and the number of calls they have made. Call strategies are mythical. 2010/11/29 Eugene Prokopiev <enp@altlinux.org>:
Hi,
No mod_fifo nor mod_сallсenter not fit me completely. There are no strategy option in mod_fifo, so incoming calls are distributed to agents unfairly. There are no something like "fifo in" and "fifo out wait" in mod_сallсenter. It it can be implemented with "callcenter_config agent add" and "callcenter_config tier add" but it is impossible to execute "callcenter_config agent del" and "callcenter_config tier del" automatically after agent hungup.
Whether there are plans to add something like strategy option to mod_fifo or simplify mod_сallсenter usage?
-- Thanks, Eugene Prokopiev
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
I see round robin call distribution for on-hook members - http://jira.freeswitch.org/browse/FS-1674 Is it possible to implement the same logic for off-hook members? Can you point me the line/function in mod_fifo.c in which off-hook member is selecting for call? -- Thanks, Eugene Prokopiev
Is it possible to implement the same logic for off-hook members? Can you point me the line/function in mod_fifo.c in which off-hook member is selecting for call?
I tried to debug callflow with help of switch_log_printf. Two off-hook agents executes: <action application="fifo" data="$1 out wait"/> and waits in: mod_fifo.c:2588 - moh_status = switch_ivr_play_file(session, NULL, moh, &args); After executing: <action application="fifo" data="$1 in"/> only one off-hook agent leaves switch_ivr_play_file and process incoming call. Why can it leaves switch_ivr_play_file function? -- Thanks, Eugene Prokopiev
2010/12/6 Eugene Prokopiev <enp@altlinux.org>:
Is it possible to implement the same logic for off-hook members? Can you point me the line/function in mod_fifo.c in which off-hook member is selecting for call?
I tried to debug callflow with help of switch_log_printf. Two off-hook agents executes:
<action application="fifo" data="$1 out wait"/>
and waits in:
mod_fifo.c:2588 - moh_status = switch_ivr_play_file(session, NULL, moh, &args);
After executing:
<action application="fifo" data="$1 in"/>
only one off-hook agent leaves switch_ivr_play_file and process incoming call. Why can it leaves switch_ivr_play_file function?
I tried to debug switch_ivr_play_file function in switch_ivr_play_say.c with with help of switch_log_printf. I've found cycle with for (;;) which is interrupted by this code: if (args && (args->read_frame_callback)) { int ok = 1; switch_set_flag(fh, SWITCH_FILE_CALLBACK); if ((status = args->read_frame_callback(session, read_frame, args->user_data)) != SWITCH_STATUS_SUCCESS) { ok = 0; } switch_clear_flag(fh, SWITCH_FILE_CALLBACK); if (!ok) { break; } } But I can't find the reason to interruption. I tried to find it in mod_fifo.c:node_thread_run but it seems cycle in this function works only for on-hook agents. -- Thanks, Eugene Prokopiev
participants (2)
-
Anthony Minessale
-
Eugene Prokopiev