This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:custom_development_guide:apis:javascript:moh [2017/12/12 03:05] 127.0.0.1 external edit |
en:custom_development_guide:apis:javascript:moh [2018/12/29 06:22] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | <code>holdCJI (agentuniqueid, calleruniqueid, orgidentity, usertype, user, pwdtype, password, callbackFuc)</code> | + | <code>holdCJI (silence, orgidentity, usertype, user, pwdtype, password, callbackFuc)</code> |
| *Description: | *Description: | ||
| Line 10: | Line 10: | ||
| ^Params ^Type ^Description ^ | ^Params ^Type ^Description ^ | ||
| - | |agentuniqueid|String|call uniqueid of the agent| | + | |silence|String|Whether it is silent (0 or 1),0 is not silent, 1 is silent.| |
| - | |calleruniqueid|String|call uniqueid of the caller| | + | |
| |orgidentity|String|The identity string of the team| | |orgidentity|String|The identity string of the team| | ||
| |usertype|String|agent / account| | |usertype|String|agent / account| | ||
| Line 26: | Line 25: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |<code>{code:1,message:msg,status:status}</code>|<code>{code:Succeeded,message:message}</code>| | + | |<code>{code:1,message:msg}</code>|<code>{code:Succeeded,message:message}</code>| |
| |<code>{code:2,message:msg}</code>|<code>{code:Failed,message:message}</code>| | |<code>{code:2,message:msg}</code>|<code>{code:Failed,message:message}</code>| | ||