Asterisk-13-Function_SIPPEER_29394333.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Function_SIPPEER</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-Functions_29394287.html">Asterisk 13 Dialplan Functions</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 Function_SIPPEER
  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="Asterisk13Function_SIPPEER-SIPPEER()">SIPPEER()</h1>
  37. <h3 id="Asterisk13Function_SIPPEER-Synopsis">Synopsis</h3>
  38. <p>Gets SIP peer information.</p>
  39. <h3 id="Asterisk13Function_SIPPEER-Description">Description</h3>
  40. <h3 id="Asterisk13Function_SIPPEER-Syntax">Syntax</h3>
  41. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  42. <pre>SIPPEER(peername,item)</pre>
  43. </div></div>
  44. <h5 id="Asterisk13Function_SIPPEER-Arguments">Arguments</h5>
  45. <ul>
  46. <li><code>peername</code></li>
  47. <li><code>item</code>
  48. <ul>
  49. <li><code>ip</code> - (default) The IP address.</li>
  50. <li><code>port</code> - The port number.</li>
  51. <li><code>mailbox</code> - The configured mailbox.</li>
  52. <li><code>context</code> - The configured context.</li>
  53. <li><code>expire</code> - The epoch time of the next expire.</li>
  54. <li><code>dynamic</code> - Is it dynamic? (yes/no).</li>
  55. <li><code>callerid_name</code> - The configured Caller ID name.</li>
  56. <li><code>callerid_num</code> - The configured Caller ID number.</li>
  57. <li><code>callgroup</code> - The configured Callgroup.</li>
  58. <li><code>pickupgroup</code> - The configured Pickupgroup.</li>
  59. <li><code>namedcallgroup</code> - The configured Named Callgroup.</li>
  60. <li><code>namedpickupgroup</code> - The configured Named Pickupgroup.</li>
  61. <li><code>codecs</code> - The configured codecs.</li>
  62. <li><code>status</code> - Status (if qualify=yes).</li>
  63. <li><code>regexten</code> - Extension activated at registration.</li>
  64. <li><code>limit</code> - Call limit (call-limit).</li>
  65. <li><code>busylevel</code> - Configured call level for signalling busy.</li>
  66. <li><code>curcalls</code> - Current amount of calls. Only available if call-limit is set.</li>
  67. <li><code>language</code> - Default language for peer.</li>
  68. <li><code>accountcode</code> - Account code for this peer.</li>
  69. <li><code>useragent</code> - Current user agent header used by peer.</li>
  70. <li><code>maxforwards</code> - The value used for SIP loop prevention in outbound requests</li>
  71. <li><code>chanvar<a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=name&amp;linkCreation=true&amp;fromPageId=29394333">name</a></code> - A channel variable configured with setvar for this peer.</li>
  72. <li><code>codec<a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=x&amp;linkCreation=true&amp;fromPageId=29394333">x</a></code> - Preferred codec index number <em>x</em> (beginning with zero).</li>
  73. </ul>
  74. </li>
  75. </ul>
  76. <h3 id="Asterisk13Function_SIPPEER-SeeAlso">See Also</h3>
  77. <h3 id="Asterisk13Function_SIPPEER-ImportVersion">Import Version</h3>
  78. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  79. </div>
  80. </div> </div>
  81. <div id="footer">
  82. <section class="footer-body">
  83. <p>Document generated by Confluence on Aug 11, 2014 13:48</p>
  84. </section>
  85. </div>
  86. </div> </body>
  87. </html>