Asterisk-13-ManagerAction_DialplanExtensionAdd_29394370.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 ManagerAction_DialplanExtensionAdd</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-AMI-Actions_29394279.html">Asterisk 13 AMI Actions</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 ManagerAction_DialplanExtensionAdd
  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="Asterisk13ManagerAction_DialplanExtensionAdd-DialplanExtensionAdd">DialplanExtensionAdd</h1>
  37. <h3 id="Asterisk13ManagerAction_DialplanExtensionAdd-Synopsis">Synopsis</h3>
  38. <p>Add an extension to the dialplan</p>
  39. <h3 id="Asterisk13ManagerAction_DialplanExtensionAdd-Description">Description</h3>
  40. <h3 id="Asterisk13ManagerAction_DialplanExtensionAdd-Syntax">Syntax</h3>
  41. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  42. <pre>Action: DialplanExtensionAdd
  43. ActionID: &lt;value&gt;
  44. Context: &lt;value&gt;
  45. Extension: &lt;value&gt;
  46. Priority: &lt;value&gt;
  47. Application: &lt;value&gt;
  48. [ApplicationData:] &lt;value&gt;
  49. [Replace:] &lt;value&gt;
  50. </pre>
  51. </div></div>
  52. <h5 id="Asterisk13ManagerAction_DialplanExtensionAdd-Arguments">Arguments</h5>
  53. <ul>
  54. <li><code>ActionID</code> - ActionID for this transaction. Will be returned.</li>
  55. <li><code>Context</code> - Context where the extension will be created. The context will be created if it does not already exist.</li>
  56. <li><code>Extension</code> - Name of the extension that will be created (may include callerid match by separating with '/')</li>
  57. <li><code>Priority</code> - Priority being added to this extension. Must be either <code>hint</code> or a numerical value.</li>
  58. <li><code>Application</code> - The application to use for this extension at the requested priority</li>
  59. <li><code>ApplicationData</code> - Arguments to the application.</li>
  60. <li><code>Replace</code> - If set to 'yes', '1', 'true' or any of the other values we evaluate as true, then if an extension already exists at the requested context, extension, and priority it will be overwritten. Otherwise, the existing extension will remain and the action will fail.</li>
  61. </ul>
  62. <h3 id="Asterisk13ManagerAction_DialplanExtensionAdd-SeeAlso">See Also</h3>
  63. <h3 id="Asterisk13ManagerAction_DialplanExtensionAdd-ImportVersion">Import Version</h3>
  64. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  65. </div>
  66. </div> </div>
  67. <div id="footer">
  68. <section class="footer-body">
  69. <p>Document generated by Confluence on Aug 11, 2014 13:39</p>
  70. </section>
  71. </div>
  72. </div> </body>
  73. </html>