JavaScript接口测试页面
*填写的数据必须真实有效

请设置asterCC服务器的IP地址 astercc_ip:
坐席组(签入/签出)   (暂停/继续)服务   结束话后   呼叫   咨询   转接   盲转   接回   会议   挂断   强插   监听   强拆   密语   通话暂停   通话继续   双呼回拨   设置分机  
话后模式切换   工作模式切换   坐席状态   坐席组状态   数据导入   团队状态   录音地址   队列中客户数量   坐席实时数据   坐席今日统计   发送DTMF   设置随路数据   坐席转IVR  
登录接口
接口原型 loginCJI(orgidentity,usertype,user,pwdtype,password,callbackFuc)
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

登出接口
接口原型 logoutCJI(orgidentity,usertype,user,pwdtype,password,callbackFuc)
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

坐席组 (签入/签出)
接口原型 queueActionCJI(type,usertype,user,orgidentity,list,pwdtype,password,deviceexten,pushevent,callbackFuc,action)
type usertype
user orgidentity
deviceexten list
pwdtype password
pushevent callbackFuc callbackFucTest

(暂停/继续)服务
接口原型 queuePauseCJI(type,usertype,user,orgidentity,pwdtype,password,pause_reason,pushevent,callbackFuc,dnd)
type usertype
user orgidentity
pwdtype password
pause_reason pushevent
callbackFuc callbackFucTest dnd

话后模式切换
接口原型 acwActionCJI(type,usertype,user,orgidentity,pwdtype,password,agent_group_id,pushevent,callbackFuc)
type usertype
user orgidentity
pwdtype password
agent_group_id pushevent
callbackFuc callbackFucTest    

结束话后
接口原型 acwOffCJI(usertype,user,orgidentity,pwdtype,password,pushevent,callbackFuc)
usertype user
orgidentity pwdtype
password pushevent
callbackFuc callbackFucTest    

工作模式切换
接口原型 workwayActionCJI(status,usertype,user,orgidentity,pwdtype,password,agent_group_id,pushevent,callbackFuc)
status usertype
user orgidentity
pwdtype password
agent_group_id pushevent
callbackFuc callbackFucTest    

呼叫接口
接口原型 makeCallCJI(targetdn,targettype,agentgroupid,usertype,user,orgidentity,pwdtype,password,modeltype,model_id,userdata,callbackFuc,agentexten,callerid,callername,trunkidentity,cidtype)
targetdn targettype
usertype user
pwdtype password
agentgroupid orgidentity
modeltype model_id
userdata agentexten
callerid callername
trunkidentity cidtype
callbackFuc callbackFucTest    

咨询接口
接口原型 consultCJI(targetdn,agentgroupid,consulttype,pwdtype,password,usertype,user,orgidentity,callbackFuc)
targetdn agentgroupid
consulttype pwdtype
password usertype
user orgidentity
callbackFuc callbackFucTest    

盲转接口
接口原型 bTransferCJI(targetdn,agentgroupid,consulttype,pwdtype,password,usertype,user,orgidentity,callbackFuc)
targetdn agentgroupid
bTransferconsulttype pwdtype
password usertype
user orgidentity
callbackFuc callbackFucTest    

转接接口
接口原型 transferCJI(pwdtype,password,usertype,user,orgidentity,callbackFuc)
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

接回接口
接口原型 callReturnCJI(pwdtype,password,usertype,user,orgidentity,callbackFuc)
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

会议接口
接口原型 conferenceCJI(pwdtype,password,usertype,user,orgidentity,callbackFuc)
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

挂断接口
接口原型 hangupCJI(uniqueid,targetagent,target,pwdtype,password,usertype,user,orgidentity,callbackFuc)
uniqueid targetagent
target pwdtype
password usertype
user orgidentity
callbackFuc callbackFucTest    

强插接口
接口原型 intrudeCJI(target,phonenumber,pwdtype,password,usertype,user,orgidentity,callbackFuc)
target phonenumber
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

监听接口
接口原型 silentMonitorCJI(target,phonenumber,pwdtype,password,usertype,user,orgidentity,callbackFuc)
target phonenumber
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

强拆接口
接口原型 forcedReleaseCJI(target,phonenumber,pwdtype,password,usertype,user,orgidentity,callbackFuc)
target phonenumber
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

密语接口
接口原型 whisperCJI(target,phonenumber,pwdtype,password,usertype,user,orgidentity,callbackFuc)
target phonenumber
pwdtype password
usertype user
orgidentity callbackFuc callbackFucTest

获取坐席状态接口
接口原型 agentStatusCJI(orgidentity,usertype,user,pwdtype,password,callbackFuc)
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

获取坐席组状态接口
接口原型 agentgroupStatusCJI(orgidentity,usertype,user,pwdtype,password,agent_group_id,status,callbackFuc)
agent_group_id status
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

通话暂停接口
接口原型 holdCJI(silence,orgidentity,usertype,user,pwdtype,password,callbackFuc)
silence orgidentity
usertype user
pwdtype password
callbackFuc callbackFucTest    

通话继续接口
接口原型 resumeCJI(orgidentity,usertype,user,pwdtype,password,callbackFuc)
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

双呼回拨
接口原型 backcallCJI(orgidentity, exten, targetdn, callerid, user, password, pwdtype, userdata, callbackFuc)
orgidentity exten
targetdn callerid
user password
pwdtype userdata
callbackFuc callbackFucTest    

设置分机
接口原型 setdeviceCJI(orgidentity, exten, user, pwdtype, password, callbackFuc)
orgidentity exten
user pwdtype
password callbackFuc callbackFucTest

数据导入接口
接口原型 importCJI(orgidentity, usertype, user, pwdtype, password, modeltype, model_id, source, context, source_user, source_pwd, exetime, delrow, phone_field, priority_field, dialtime_field, emptyagent, resetstatus, dupway, dupdiallist, changepackage, callbackFuc)
orgidentity usertype
user pwdtype
password modeltype
model_id source
context source_user
source_pwd exetime
delrow phone_field
priority_field dialtime_field
emptyagent resetstatus
dupway dupdiallist
changepackage callbackFuc callbackFucTest

获取团队内所有坐席状态
接口原型 teamStatusCJI(orgidentity,usertype,user,pwdtype,password,status,callbackFuc)
orgidentity usertype
user pwdtype
password status
callbackFuc callbackFucTest    

获取录音地址
接口原型 getMonitorCJI(sessionid,calldate,callbackFuc,mp3)
sessionid calldate
callbackFuc callbackFucTest MP3

队列客户数量
接口原型 queueCustomerNumCJI(orgidentity,queuenumber,prio,callbackFuc)
orgidentity queuenumber
prio callbackFuc callbackFucTest

获取单一坐席实时数据
接口原型 agentRealtimeCJI(orgidentity,usertype,user,pwdtype,password,callbackFuc)
orgidentity usertype
user pwdtype
password callbackFuc callbackFucTest

获取单一坐席今日在坐席组中的统计数据
接口原型 agentStatisticDayCJI(orgidentity,usertype,user,pwdtype,password,agent_group_id,callbackFuc)
orgidentity usertype
user pwdtype
password agent_group_id
callbackFuc callbackFucTest    

发送DTMF
接口原型 dtmfCJI(orgidentity,usertype,user,pwdtype,password,dtmf,callbackFuc)
orgidentity usertype
user pwdtype
password dtmf
callbackFuc callbackFucTest    

设置随路数据
接口原型 setvarCJI(orgidentity,usertype,user,pwdtype,password,varname,varvalue,callbackFuc)
orgidentity usertype
user pwdtype
password varname
varvalue callbackFuc callbackFucTest

坐席转IVR
接口原型 agenttoivrCJI(orgidentity,usertype,user,pwdtype,password,ivrexten,ivrflow,transfer,callbackFuc)
orgidentity usertype
user pwdtype
password ivrexten
ivrflow transfer
callbackFuc callbackFucTest