Freeswitch ESL: callcenter

callcenter_config <tab>

   [agent]   [queue]	[tier]

agent

callcenter_config agent <tab>

   [add]    [del]    [get]    [list]    [reload]    [set]

add

fs_cli> callcenter_config agent add AGENT_FOO Callback
+OK

2019-09-17 14:10:37.079770 [DEBUG] mod_callcenter.c:907 Adding Agent AGENT_FOO with type Callback with default status Logged Out

set

[key(contact|status|state|type|max_no_answer|wrap_up_time|ready_time|reject_delay_time|busy_delay_time)] [agent name] [value]

 callcenter_config agent set status AGENT_FOO Available
 callcenter_config agent set contact AGENT_FOO user/6666@123.123.123.123

list

 callcenter_config agent list
name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time|external_calls_count
AGENT_FOO|single_box||Callback|user/6666@123.123.123.123|Available|Waiting|0|0|0|0|0|0|0|0|1568718694|0|0|0|0|0
+OK

get

 callcenter_config agent get status AGENT_FOO
Available

del

 callcenter_config agent del AGENT_FOO

reload

Применить конфиг

fs_cli> callcenter_config agent reload AGENT_FOO
#define CC_CONFIG_API_SYNTAX "callcenter_config <target> <args>,\n"\
 3492 "\tcallcenter_config agent add [name] [type] | \n" \
 3493 "\tcallcenter_config agent del [name] | \n" \
 3494 "\tcallcenter_config agent reload [name] | \n" \
 3495 "\tcallcenter_config agent set status [agent_name] [status] | \n" \
 3496 "\tcallcenter_config agent set state [agent_name] [state] | \n" \
 3497 "\tcallcenter_config agent set contact [agent_name] [contact] | \n" \
 3498 "\tcallcenter_config agent set ready_time [agent_name] [wait till epoch] | \n"\
 3499 "\tcallcenter_config agent set reject_delay_time [agent_name] [wait second] | \n"\
 3500 "\tcallcenter_config agent set busy_delay_time [agent_name] [wait second] | \n"\
 3501 "\tcallcenter_config agent set no_answer_delay_time [agent_name] [wait second] | \n"\
 3502 "\tcallcenter_config agent get status [agent_name] | \n" \
 3503 "\tcallcenter_config agent get state [agent_name] | \n" \
 3504 "\tcallcenter_config agent get uuid [agent_name] | \n" \
 3505 "\tcallcenter_config agent list [[agent_name]] | \n" \
 3506 "\tcallcenter_config tier add [queue_name] [agent_name] [[level]] [[position]] | \n" \
 3507 "\tcallcenter_config tier set state [queue_name] [agent_name] [state] | \n" \
 3508 "\tcallcenter_config tier set level [queue_name] [agent_name] [level] | \n" \
 3509 "\tcallcenter_config tier set position [queue_name] [agent_name] [position] | \n" \
 3510 "\tcallcenter_config tier del [queue_name] [agent_name] | \n" \
 3511 "\tcallcenter_config tier reload [queue_name] [agent_name] | \n" \
 3512 "\tcallcenter_config tier list | \n" \
 3513 "\tcallcenter_config queue load [queue_name] | \n" \
 3514 "\tcallcenter_config queue unload [queue_name] | \n" \
 3515 "\tcallcenter_config queue reload [queue_name] | \n" \
 3516 "\tcallcenter_config queue list | \n" \
 3517 "\tcallcenter_config queue list agents [queue_name] [status] [state] | \n" \
 3518 "\tcallcenter_config queue list members [queue_name] | \n" \
 3519 "\tcallcenter_config queue list tiers [queue_name] | \n" \
 3520 "\tcallcenter_config queue count | \n" \
 3521 "\tcallcenter_config queue count agents [queue_name] [status] [state] | \n" \
 3522 "\tcallcenter_config queue count members [queue_name] | \n" \
 3523 "\tcallcenter_config queue count tiers [queue_name]"
  • freeswitch/api/callcenter.txt
  • Последние изменения: 2019/09/20