Asterisk-13-Application_AgentLogin_29394501.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Application_AgentLogin</title>
  5. <link rel="stylesheet" href="styles/site.css" type="text/css" />
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. </head>
  8. <body class="theme-default aui-theme-default">
  9. <div id="page">
  10. <div id="main" class="aui-page-panel">
  11. <div id="main-header">
  12. <div id="breadcrumb-section">
  13. <ol id="breadcrumbs">
  14. <li class="first">
  15. <span><a href="index.html">Asterisk Project</a></span>
  16. </li>
  17. <li>
  18. <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
  19. </li>
  20. <li>
  21. <span><a href="Asterisk-13-Dialplan-Applications_29394285.html">Asterisk 13 Dialplan Applications</a></span>
  22. </li>
  23. </ol>
  24. </div>
  25. <h1 id="title-heading" class="pagetitle">
  26. <span id="title-text">
  27. Asterisk Project : Asterisk 13 Application_AgentLogin
  28. </span>
  29. </h1>
  30. </div>
  31. <div id="content" class="view">
  32. <div class="page-metadata">
  33. Created by <span class='author'> wikibot</span> on Aug 08, 2014
  34. </div>
  35. <div id="main-content" class="wiki-content group">
  36. <h1 id="Asterisk13Application_AgentLogin-AgentLogin()">AgentLogin()</h1>
  37. <h3 id="Asterisk13Application_AgentLogin-Synopsis">Synopsis</h3>
  38. <p>Login an agent.</p>
  39. <h3 id="Asterisk13Application_AgentLogin-Description">Description</h3>
  40. <p>Login an agent to the system. Any agent authentication is assumed to already be done by dialplan. While logged in, the agent can receive calls and will hear the sound file specified by the config option custom_beep when a new call comes in for the agent. Login failures will continue in the dialplan with <code>AGENT_STATUS</code> set.</p>
  41. <p>Before logging in, you can setup on the real agent channel the CHANNEL(dtmf-features) an agent will have when talking to a caller and you can setup on the channel running this application the CONNECTEDLINE() information the agent will see while waiting for a caller.</p>
  42. <p>AGENT_STATUS enumeration values:</p>
  43. <ul>
  44. <li><code>INVALID</code> - The specified agent is invalid.</li>
  45. <li><code>ALREADY_LOGGED_IN</code> - The agent is already logged in.
  46. <div class="aui-message hint shadowed information-macro">
  47. <p class="title">Note</p>
  48. <span class="aui-icon icon-hint">Icon</span>
  49. <div class="message-content">
  50. <p>The Agents:<em>AgentId</em> device state is available to monitor the status of the agent.</p>
  51. </div>
  52. </div>
  53. </li>
  54. </ul>
  55. <h3 id="Asterisk13Application_AgentLogin-Syntax">Syntax</h3>
  56. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  57. <pre>AgentLogin(AgentId,[options])</pre>
  58. </div></div>
  59. <h5 id="Asterisk13Application_AgentLogin-Arguments">Arguments</h5>
  60. <ul>
  61. <li><code>AgentId</code></li>
  62. <li><code>options</code>
  63. <ul>
  64. <li><code>s</code> - silent login - do not announce the login ok segment after agent logged on.</li>
  65. </ul>
  66. </li>
  67. </ul>
  68. <h3 id="Asterisk13Application_AgentLogin-SeeAlso">See Also</h3>
  69. <ul>
  70. <li><a href="Asterisk-13-Application_Authenticate_29394377.html">Asterisk 13 Application_Authenticate</a></li>
  71. <li><a href="Asterisk-13-Application_Queue_29394417.html">Asterisk 13 Application_Queue</a></li>
  72. <li><a href="Asterisk-13-Application_AddQueueMember_29394418.html">Asterisk 13 Application_AddQueueMember</a></li>
  73. <li><a href="Asterisk-13-Application_RemoveQueueMember_29394419.html">Asterisk 13 Application_RemoveQueueMember</a></li>
  74. <li><a href="Asterisk-13-Application_PauseQueueMember_29394420.html">Asterisk 13 Application_PauseQueueMember</a></li>
  75. <li><a href="Asterisk-13-Application_UnpauseQueueMember_29394421.html">Asterisk 13 Application_UnpauseQueueMember</a></li>
  76. <li><a href="Asterisk-13-Function_AGENT_29394503.html">Asterisk 13 Function_AGENT</a></li>
  77. <li><a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=Asterisk+13+Function_CHANNEL%28dtmf-features%29&amp;linkCreation=true&amp;fromPageId=29394501">Asterisk 13 Function_CHANNEL(dtmf-features)</a></li>
  78. <li><a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=Asterisk+13+Function_CONNECTEDLINE%28%29&amp;linkCreation=true&amp;fromPageId=29394501">Asterisk 13 Function_CONNECTEDLINE()</a></li>
  79. <li><code>agents.conf</code></li>
  80. <li><code>queues.conf</code></li>
  81. </ul>
  82. <h3 id="Asterisk13Application_AgentLogin-ImportVersion">Import Version</h3>
  83. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  84. </div>
  85. </div> </div>
  86. <div id="footer">
  87. <section class="footer-body">
  88. <p>Document generated by Confluence on Aug 11, 2014 13:44</p>
  89. </section>
  90. </div>
  91. </div> </body>
  92. </html>