Details
-
Type:
Bug
-
Status:
Needs Review
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.7
-
Fix Version/s: None
-
Component/s: mod_callcenter
-
Labels:None
-
Environment:Windows Server 2008 R2 x64, Sql Server 2008 SP3 x64, ODBC Connection via Sql Native Client, 64-bit Freeswitch
Also tested on 32-bit versions with the same result
-
Platform:Win32_64/VS
-
CPU Info:Intel Xeon X5450, 3.0 Ghz
-
FreeSWITCH GIT Revision:b3b33ea9955cbe642a152acb0e8810434fc877af
-
Reproduced with GIT HEAD?:yes
Description
callcenter_config agent get and set commands return "-ERR Agent not found" for existing agents when mod_callcenter is set up to use Sql Server database.
When it uses built-in Sqlite database, everything is fine.
Example:
freeswitch@Vasilyev> callcenter_config agent add AgentName callback
+OK
freeswitch@Vasilyev> callcenter_config agent list
name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_del
ay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|l
ast_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|rea
dy_time
AgentName|single_box||callback||Logged Out|Waiting|0|0|0|0|0|0|0|0|0|0|0|0|0
+OK
freeswitch@Vasilyev> callcenter_config agent set contact AgentName whatever
-ERR Agent not found!
When it uses built-in Sqlite database, everything is fine.
Example:
freeswitch@Vasilyev> callcenter_config agent add AgentName callback
+OK
freeswitch@Vasilyev> callcenter_config agent list
name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_del
ay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|l
ast_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|rea
dy_time
AgentName|single_box||callback||Logged Out|Waiting|0|0|0|0|0|0|0|0|0|0|0|0|0
+OK
freeswitch@Vasilyev> callcenter_config agent set contact AgentName whatever
-ERR Agent not found!