This is an old revision of the document!
====== Hold a Call ====== *Function: <code>hold(agentuniqueid,calleruniqueid,orgidentity,usertype,user,pwdtype,password)</code> *Description: <code>When it’s two parties call, agent could put caller on hold, then caller will listen music</code> *Parameters: ^Params ^Type ^Description ^ |agentuniqueid|String|call uniqueid of the agent| |calleruniqueid|String|call uniqueid of the caller| |orgidentity|String|The identity string of the team| |usertype|String|agent / account| |user|String|Agent No. or Username| |pwdtype|String|Use plaintext or md5 password for agent or account| |password|String|password| *Return Format: <code>|Return|code|Return|message|Return|status</code> *Type of the Return Value: String *Return Values: ^Value ^Description ^ |<code>|Return|1|Return|message<code>|<code>Succeeded||Messages<code>| |<code>|Return|2|Return|message<code>|<code>Failed||Messages<code>|