| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE docs SYSTEM "appdocsxml.dtd"> |
| 3 | <?xml-stylesheet type="text/xsl" href="appdocsxml.xslt"?> |
| 4 | <docs xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 5 | <manager name="Ping" language="en_US"> |
| 6 | <since> |
| 7 | <version>0.2.0</version> |
| 8 | </since> |
| 9 | <synopsis> |
| 10 | Keepalive command. |
| 11 | </synopsis> |
| 12 | <syntax> |
| 13 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 14 | </syntax> |
| 15 | <description> |
| 16 | <para>A 'Ping' action will elicit a 'Pong' response. Used to keep the |
| 17 | manager connection open.</para> |
| 18 | </description> |
| 19 | </manager> |
| 20 | <manager name="Events" language="en_US"> |
| 21 | <since> |
| 22 | <version>0.9.0</version> |
| 23 | </since> |
| 24 | <synopsis> |
| 25 | Control Event Flow. |
| 26 | </synopsis> |
| 27 | <syntax> |
| 28 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 29 | <parameter name="EventMask" required="true"> |
| 30 | <enumlist> |
| 31 | <enum name="on"> |
| 32 | <para>If all events should be sent.</para> |
| 33 | </enum> |
| 34 | <enum name="off"> |
| 35 | <para>If no events should be sent.</para> |
| 36 | </enum> |
| 37 | <enum name="system,call,log,..."> |
| 38 | <para>To select which flags events should have to be sent.</para> |
| 39 | </enum> |
| 40 | </enumlist> |
| 41 | </parameter> |
| 42 | </syntax> |
| 43 | <description> |
| 44 | <para>Enable/Disable sending of events to this manager client.</para> |
| 45 | </description> |
| 46 | </manager> |
| 47 | <manager name="Logoff" language="en_US"> |
| 48 | <since> |
| 49 | <version>0.2.0</version> |
| 50 | </since> |
| 51 | <synopsis> |
| 52 | Logoff Manager. |
| 53 | </synopsis> |
| 54 | <syntax> |
| 55 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 56 | </syntax> |
| 57 | <description> |
| 58 | <para>Logoff the current manager session.</para> |
| 59 | </description> |
| 60 | <see-also> |
| 61 | <ref type="manager">Login</ref> |
| 62 | </see-also> |
| 63 | </manager> |
| 64 | <manager name="Login" language="en_US"> |
| 65 | <since> |
| 66 | <version>0.2.0</version> |
| 67 | </since> |
| 68 | <synopsis> |
| 69 | Login Manager. |
| 70 | </synopsis> |
| 71 | <syntax> |
| 72 | <parameter name="ActionID"> |
| 73 | <para>ActionID for this transaction. Will be returned.</para> |
| 74 | </parameter> |
| 75 | <parameter name="Username" required="true"> |
| 76 | <para>Username to login with as specified in manager.conf.</para> |
| 77 | </parameter> |
| 78 | <parameter name="AuthType"> |
| 79 | <para>Authorization type. Valid values are:</para> |
| 80 | <enumlist> |
| 81 | <enum name="plain"><para>Plain text secret. (default)</para></enum> |
| 82 | <enum name="MD5"><para>MD5 hashed secret.</para></enum> |
| 83 | </enumlist> |
| 84 | </parameter> |
| 85 | <parameter name="Secret"> |
| 86 | <para>Plain text secret to login with as specified in manager.conf.</para> |
| 87 | </parameter> |
| 88 | <parameter name="Key"> |
| 89 | <para>Key to use with MD5 authentication. To create the key, you must |
| 90 | initialize a new MD5 hash, call the <literal>Challenge</literal> AMI action, |
| 91 | update the hash with the response, then update the hash with the secret as specified |
| 92 | in manager.conf. The key value must be the final result of the hash |
| 93 | as a 32 character lower-case hex string without any "0x" prepended. |
| 94 | See the description for an example of creating a key in Python.</para> |
| 95 | </parameter> |
| 96 | <parameter name="Events"> |
| 97 | <xi:include xpointer="xpointer(/docs/manager[@name='Events']/syntax/parameter[@name='EventMask']/enumlist)" /> |
| 98 | </parameter> |
| 99 | </syntax> |
| 100 | <description> |
| 101 | <para>Login Manager.</para> |
| 102 | <example title="Create an MD5 Key in Python"> |
| 103 | import hashlib |
| 104 | m = hashlib.md5() |
| 105 | m.update(response_from_challenge) |
| 106 | m.update(your_secret) |
| 107 | key = m.hexdigest() |
| 108 | ## '031edd7d41651593c5fe5c006fa5752b' |
| 109 | </example> |
| 110 | </description> |
| 111 | <see-also> |
| 112 | <ref type="manager">Challenge</ref> |
| 113 | <ref type="manager">Logoff</ref> |
| 114 | </see-also> |
| 115 | </manager> |
| 116 | <manager name="Challenge" language="en_US"> |
| 117 | <since> |
| 118 | <version>0.4.0</version> |
| 119 | </since> |
| 120 | <synopsis> |
| 121 | Generate Challenge for MD5 Auth. |
| 122 | </synopsis> |
| 123 | <syntax> |
| 124 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 125 | <parameter name="AuthType" required="true"> |
| 126 | <para>Digest algorithm to use in the challenge. Valid values are:</para> |
| 127 | <enumlist> |
| 128 | <enum name="MD5" /> |
| 129 | </enumlist> |
| 130 | </parameter> |
| 131 | </syntax> |
| 132 | <description> |
| 133 | <para>Generate a challenge for MD5 authentication.</para> |
| 134 | </description> |
| 135 | </manager> |
| 136 | <manager name="Hangup" language="en_US"> |
| 137 | <since> |
| 138 | <version>0.2.0</version> |
| 139 | </since> |
| 140 | <synopsis> |
| 141 | Hangup channel. |
| 142 | </synopsis> |
| 143 | <syntax> |
| 144 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 145 | <parameter name="Channel" required="true"> |
| 146 | <para>The exact channel name to be hungup, or to use a regular expression, set this parameter to: /regex/</para> |
| 147 | <para>Example exact channel: SIP/provider-0000012a</para> |
| 148 | <para>Example regular expression: /^SIP/provider-.*$/</para> |
| 149 | </parameter> |
| 150 | <parameter name="Cause"> |
| 151 | <para>Numeric hangup cause.</para> |
| 152 | </parameter> |
| 153 | </syntax> |
| 154 | <description> |
| 155 | <para>Hangup a channel.</para> |
| 156 | </description> |
| 157 | </manager> |
| 158 | <manager name="Status" language="en_US"> |
| 159 | <since> |
| 160 | <version>0.2.0</version> |
| 161 | </since> |
| 162 | <synopsis> |
| 163 | List channel status. |
| 164 | </synopsis> |
| 165 | <syntax> |
| 166 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 167 | <parameter name="Channel" required="false"> |
| 168 | <para>The name of the channel to query for status.</para> |
| 169 | </parameter> |
| 170 | <parameter name="Variables"> |
| 171 | <para>Comma <literal>,</literal> separated list of variable to include.</para> |
| 172 | </parameter> |
| 173 | <parameter name="AllVariables"> |
| 174 | <para>If set to "true", the Status event will include all channel variables for |
| 175 | the requested channel(s).</para> |
| 176 | <enumlist> |
| 177 | <enum name="true"/> |
| 178 | <enum name="false"/> |
| 179 | </enumlist> |
| 180 | </parameter> |
| 181 | </syntax> |
| 182 | <description> |
| 183 | <para>Will return the status information of each channel along with the |
| 184 | value for the specified channel variables.</para> |
| 185 | </description> |
| 186 | <responses> |
| 187 | <list-elements> |
| 188 | <xi:include xpointer="xpointer(/docs/managerEvent[@name='Status'])" /> |
| 189 | </list-elements> |
| 190 | <xi:include xpointer="xpointer(/docs/managerEvent[@name='StatusComplete'])" /> |
| 191 | </responses> |
| 192 | </manager> |
| 193 | <managerEvent language="en_US" name="Status"> |
| 194 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 195 | <since> |
| 196 | <version>18.26.0</version> |
| 197 | <version>20.11.0</version> |
| 198 | <version>21.6.0</version> |
| 199 | <version>22.1.0</version> |
| 200 | </since> |
| 201 | <synopsis>Raised in response to a Status command.</synopsis> |
| 202 | <syntax> |
| 203 | <parameter name="ActionID" required="false"/> |
| 204 | <channel_snapshot/> |
| 205 | <parameter name="Type"> |
| 206 | <para>Type of channel</para> |
| 207 | </parameter> |
| 208 | <parameter name="DNID"> |
| 209 | <para>Dialed number identifier</para> |
| 210 | </parameter> |
| 211 | <parameter name="EffectiveConnectedLineNum"> |
| 212 | </parameter> |
| 213 | <parameter name="EffectiveConnectedLineName"> |
| 214 | </parameter> |
| 215 | <parameter name="TimeToHangup"> |
| 216 | <para>Absolute lifetime of the channel</para> |
| 217 | </parameter> |
| 218 | <parameter name="BridgeID"> |
| 219 | <para>Identifier of the bridge the channel is in, may be empty if not in one</para> |
| 220 | </parameter> |
| 221 | <parameter name="Application"> |
| 222 | <para>Application currently executing on the channel</para> |
| 223 | </parameter> |
| 224 | <parameter name="Data"> |
| 225 | <para>Data given to the currently executing channel</para> |
| 226 | </parameter> |
| 227 | <parameter name="Nativeformats"> |
| 228 | <para>Media formats the connected party is willing to send or receive</para> |
| 229 | </parameter> |
| 230 | <parameter name="Readformat"> |
| 231 | <para>Media formats that frames from the channel are received in</para> |
| 232 | </parameter> |
| 233 | <parameter name="Readtrans"> |
| 234 | <para>Translation path for media received in native formats</para> |
| 235 | </parameter> |
| 236 | <parameter name="Writeformat"> |
| 237 | <para>Media formats that frames to the channel are accepted in</para> |
| 238 | </parameter> |
| 239 | <parameter name="Writetrans"> |
| 240 | <para>Translation path for media sent to the connected party</para> |
| 241 | </parameter> |
| 242 | <parameter name="Callgroup"> |
| 243 | <para>Configured call group on the channel</para> |
| 244 | </parameter> |
| 245 | <parameter name="Pickupgroup"> |
| 246 | <para>Configured pickup group on the channel</para> |
| 247 | </parameter> |
| 248 | <parameter name="Seconds"> |
| 249 | <para>Number of seconds the channel has been active</para> |
| 250 | </parameter> |
| 251 | </syntax> |
| 252 | <see-also> |
| 253 | <ref type="manager">Status</ref> |
| 254 | </see-also> |
| 255 | </managerEventInstance> |
| 256 | </managerEvent> |
| 257 | <managerEvent language="en_US" name="StatusComplete"> |
| 258 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 259 | <since> |
| 260 | <version>18.26.0</version> |
| 261 | <version>20.11.0</version> |
| 262 | <version>21.6.0</version> |
| 263 | <version>22.1.0</version> |
| 264 | </since> |
| 265 | <synopsis>Raised in response to a Status command.</synopsis> |
| 266 | <syntax> |
| 267 | <parameter name="Items"> |
| 268 | <para>Number of Status events returned</para> |
| 269 | </parameter> |
| 270 | </syntax> |
| 271 | <see-also> |
| 272 | <ref type="manager">Status</ref> |
| 273 | </see-also> |
| 274 | </managerEventInstance> |
| 275 | </managerEvent> |
| 276 | <manager name="Setvar" language="en_US"> |
| 277 | <since> |
| 278 | <version>1.0.0</version> |
| 279 | </since> |
| 280 | <synopsis> |
| 281 | Sets a channel variable or function value. |
| 282 | </synopsis> |
| 283 | <syntax> |
| 284 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 285 | <parameter name="Channel"> |
| 286 | <para>Channel to set variable for.</para> |
| 287 | </parameter> |
| 288 | <parameter name="Variable" required="true"> |
| 289 | <para>Variable name, function or expression.</para> |
| 290 | </parameter> |
| 291 | <parameter name="Value" required="true"> |
| 292 | <para>Variable or function value.</para> |
| 293 | </parameter> |
| 294 | </syntax> |
| 295 | <description> |
| 296 | <para>This command can be used to set the value of channel variables or dialplan |
| 297 | functions.</para> |
| 298 | <note> |
| 299 | <para>If a channel name is not provided then the variable is considered global.</para> |
| 300 | </note> |
| 301 | </description> |
| 302 | <see-also> |
| 303 | <ref type="manager">Getvar</ref> |
| 304 | </see-also> |
| 305 | </manager> |
| 306 | <manager name="Getvar" language="en_US"> |
| 307 | <since> |
| 308 | <version>1.0.0</version> |
| 309 | </since> |
| 310 | <synopsis> |
| 311 | Gets a channel variable or function value. |
| 312 | </synopsis> |
| 313 | <syntax> |
| 314 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 315 | <parameter name="Channel"> |
| 316 | <para>Channel to read variable from.</para> |
| 317 | </parameter> |
| 318 | <parameter name="Variable" required="true"> |
| 319 | <para>Variable name, function or expression.</para> |
| 320 | </parameter> |
| 321 | </syntax> |
| 322 | <description> |
| 323 | <para>Get the value of a channel variable or function return.</para> |
| 324 | <note> |
| 325 | <para>If a channel name is not provided then the variable is considered global.</para> |
| 326 | </note> |
| 327 | </description> |
| 328 | <see-also> |
| 329 | <ref type="manager">Setvar</ref> |
| 330 | </see-also> |
| 331 | </manager> |
| 332 | <manager name="GetConfig" language="en_US"> |
| 333 | <since> |
| 334 | <version>1.4.0</version> |
| 335 | </since> |
| 336 | <synopsis> |
| 337 | Retrieve configuration. |
| 338 | </synopsis> |
| 339 | <syntax> |
| 340 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 341 | <parameter name="Filename" required="true"> |
| 342 | <para>Configuration filename (e.g. <filename>foo.conf</filename>).</para> |
| 343 | </parameter> |
| 344 | <parameter name="Category"> |
| 345 | <para>Category in configuration file.</para> |
| 346 | </parameter> |
| 347 | <parameter name="Filter"> |
| 348 | <para>A comma separated list of |
| 349 | <replaceable>name_regex</replaceable>=<replaceable>value_regex</replaceable> |
| 350 | expressions which will cause only categories whose variables match all expressions |
| 351 | to be considered. The special variable name <literal>TEMPLATES</literal> |
| 352 | can be used to control whether templates are included. Passing |
| 353 | <literal>include</literal> as the value will include templates |
| 354 | along with normal categories. Passing |
| 355 | <literal>restrict</literal> as the value will restrict the operation to |
| 356 | ONLY templates. Not specifying a <literal>TEMPLATES</literal> expression |
| 357 | results in the default behavior which is to not include templates.</para> |
| 358 | </parameter> |
| 359 | </syntax> |
| 360 | <description> |
| 361 | <para>This action will dump the contents of a configuration |
| 362 | file by category and contents or optionally by specified category only. |
| 363 | In the case where a category name is non-unique, a filter may be specified |
| 364 | to match only categories with matching variable values.</para> |
| 365 | </description> |
| 366 | <see-also> |
| 367 | <ref type="manager">GetConfigJSON</ref> |
| 368 | <ref type="manager">UpdateConfig</ref> |
| 369 | <ref type="manager">CreateConfig</ref> |
| 370 | <ref type="manager">ListCategories</ref> |
| 371 | </see-also> |
| 372 | </manager> |
| 373 | <manager name="GetConfigJSON" language="en_US"> |
| 374 | <since> |
| 375 | <version>1.6.0</version> |
| 376 | </since> |
| 377 | <synopsis> |
| 378 | Retrieve configuration (JSON format). |
| 379 | </synopsis> |
| 380 | <syntax> |
| 381 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 382 | <parameter name="Filename" required="true"> |
| 383 | <para>Configuration filename (e.g. <filename>foo.conf</filename>).</para> |
| 384 | </parameter> |
| 385 | <parameter name="Category"> |
| 386 | <para>Category in configuration file.</para> |
| 387 | </parameter> |
| 388 | <parameter name="Filter"> |
| 389 | <xi:include xpointer="xpointer(/docs/manager[@name='GetConfig']/syntax/parameter[@name='Filter']/para[1])" /> |
| 390 | </parameter> |
| 391 | </syntax> |
| 392 | <description> |
| 393 | <para>This action will dump the contents of a configuration file by category |
| 394 | and contents in JSON format or optionally by specified category only. |
| 395 | This only makes sense to be used using rawman over the HTTP interface. |
| 396 | In the case where a category name is non-unique, a filter may be specified |
| 397 | to match only categories with matching variable values.</para> |
| 398 | </description> |
| 399 | <see-also> |
| 400 | <ref type="manager">GetConfig</ref> |
| 401 | <ref type="manager">UpdateConfig</ref> |
| 402 | <ref type="manager">CreateConfig</ref> |
| 403 | <ref type="manager">ListCategories</ref> |
| 404 | </see-also> |
| 405 | </manager> |
| 406 | <manager name="UpdateConfig" language="en_US"> |
| 407 | <since> |
| 408 | <version>1.4.0</version> |
| 409 | </since> |
| 410 | <synopsis> |
| 411 | Update basic configuration. |
| 412 | </synopsis> |
| 413 | <syntax> |
| 414 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 415 | <parameter name="SrcFilename" required="true"> |
| 416 | <para>Configuration filename to read (e.g. <filename>foo.conf</filename>).</para> |
| 417 | </parameter> |
| 418 | <parameter name="DstFilename" required="true"> |
| 419 | <para>Configuration filename to write (e.g. <filename>foo.conf</filename>)</para> |
| 420 | </parameter> |
| 421 | <parameter name="Reload"> |
| 422 | <para>Whether or not a reload should take place (or name of specific module).</para> |
| 423 | </parameter> |
| 424 | <parameter name="PreserveEffectiveContext"> |
| 425 | <para>Whether the effective category contents should be preserved on template change. Default is true (pre 13.2 behavior).</para> |
| 426 | </parameter> |
| 427 | <parameter name="Action-000000"> |
| 428 | <para>Action to take.</para> |
| 429 | <para>0's represent 6 digit number beginning with 000000.</para> |
| 430 | <enumlist> |
| 431 | <enum name="NewCat" /> |
| 432 | <enum name="RenameCat" /> |
| 433 | <enum name="DelCat" /> |
| 434 | <enum name="EmptyCat" /> |
| 435 | <enum name="Update" /> |
| 436 | <enum name="Delete" /> |
| 437 | <enum name="Append" /> |
| 438 | <enum name="Insert" /> |
| 439 | </enumlist> |
| 440 | </parameter> |
| 441 | <parameter name="Cat-000000"> |
| 442 | <para>Category to operate on.</para> |
| 443 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 444 | </parameter> |
| 445 | <parameter name="Var-000000"> |
| 446 | <para>Variable to work on.</para> |
| 447 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 448 | </parameter> |
| 449 | <parameter name="Value-000000"> |
| 450 | <para>Value to work on.</para> |
| 451 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 452 | </parameter> |
| 453 | <parameter name="Match-000000"> |
| 454 | <para>Extra match required to match line.</para> |
| 455 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 456 | </parameter> |
| 457 | <parameter name="Line-000000"> |
| 458 | <para>Line in category to operate on (used with delete and insert actions).</para> |
| 459 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 460 | </parameter> |
| 461 | <parameter name="Options-000000"> |
| 462 | <para>A comma separated list of action-specific options.</para> |
| 463 | <enumlist> |
| 464 | <enum name="NewCat"><para>One or more of the following... </para> |
| 465 | <enumlist> |
| 466 | <enum name="allowdups"><para>Allow duplicate category names.</para></enum> |
| 467 | <enum name="template"><para>This category is a template.</para></enum> |
| 468 | <enum name="inherit="template[,...]""><para>Templates from which to inherit.</para></enum> |
| 469 | </enumlist> |
| 470 | </enum> |
| 471 | </enumlist> |
| 472 | <para> </para> |
| 473 | <para>The following actions share the same options...</para> |
| 474 | <enumlist> |
| 475 | <enum name="RenameCat"/> |
| 476 | <enum name="DelCat"/> |
| 477 | <enum name="EmptyCat"/> |
| 478 | <enum name="Update"/> |
| 479 | <enum name="Delete"/> |
| 480 | <enum name="Append"/> |
| 481 | <enum name="Insert"><para> </para> |
| 482 | <enumlist> |
| 483 | <enum name="catfilter="<expression>[,...]""><para> </para> |
| 484 | <xi:include xpointer="xpointer(/docs/manager[@name='GetConfig']/syntax/parameter[@name='Filter']/para[1])" /> |
| 485 | <para><literal>catfilter</literal> is most useful when a file |
| 486 | contains multiple categories with the same name and you wish to |
| 487 | operate on specific ones instead of all of them.</para> |
| 488 | </enum> |
| 489 | </enumlist> |
| 490 | </enum> |
| 491 | </enumlist> |
| 492 | <xi:include xpointer="xpointer(/docs/manager[@name='UpdateConfig']/syntax/parameter[@name='Action-000000']/para[2])" /> |
| 493 | </parameter> |
| 494 | </syntax> |
| 495 | <description> |
| 496 | <para>This action will modify, create, or delete configuration elements |
| 497 | in Asterisk configuration files.</para> |
| 498 | </description> |
| 499 | <see-also> |
| 500 | <ref type="manager">GetConfig</ref> |
| 501 | <ref type="manager">GetConfigJSON</ref> |
| 502 | <ref type="manager">CreateConfig</ref> |
| 503 | <ref type="manager">ListCategories</ref> |
| 504 | </see-also> |
| 505 | </manager> |
| 506 | <manager name="CreateConfig" language="en_US"> |
| 507 | <since> |
| 508 | <version>1.6.0</version> |
| 509 | </since> |
| 510 | <synopsis> |
| 511 | Creates an empty file in the configuration directory. |
| 512 | </synopsis> |
| 513 | <syntax> |
| 514 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 515 | <parameter name="Filename" required="true"> |
| 516 | <para>The configuration filename to create (e.g. <filename>foo.conf</filename>).</para> |
| 517 | </parameter> |
| 518 | </syntax> |
| 519 | <description> |
| 520 | <para>This action will create an empty file in the configuration |
| 521 | directory. This action is intended to be used before an UpdateConfig |
| 522 | action.</para> |
| 523 | </description> |
| 524 | <see-also> |
| 525 | <ref type="manager">GetConfig</ref> |
| 526 | <ref type="manager">GetConfigJSON</ref> |
| 527 | <ref type="manager">UpdateConfig</ref> |
| 528 | <ref type="manager">ListCategories</ref> |
| 529 | </see-also> |
| 530 | </manager> |
| 531 | <manager name="ListCategories" language="en_US"> |
| 532 | <since> |
| 533 | <version>1.6.0</version> |
| 534 | </since> |
| 535 | <synopsis> |
| 536 | List categories in configuration file. |
| 537 | </synopsis> |
| 538 | <syntax> |
| 539 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 540 | <parameter name="Filename" required="true"> |
| 541 | <para>Configuration filename (e.g. <filename>foo.conf</filename>).</para> |
| 542 | </parameter> |
| 543 | </syntax> |
| 544 | <description> |
| 545 | <para>This action will dump the categories in a given file.</para> |
| 546 | </description> |
| 547 | <see-also> |
| 548 | <ref type="manager">GetConfig</ref> |
| 549 | <ref type="manager">GetConfigJSON</ref> |
| 550 | <ref type="manager">UpdateConfig</ref> |
| 551 | <ref type="manager">CreateConfig</ref> |
| 552 | </see-also> |
| 553 | </manager> |
| 554 | <manager name="Redirect" language="en_US"> |
| 555 | <since> |
| 556 | <version>0.2.0</version> |
| 557 | </since> |
| 558 | <synopsis> |
| 559 | Redirect (transfer) a call. |
| 560 | </synopsis> |
| 561 | <syntax> |
| 562 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 563 | <parameter name="Channel" required="true"> |
| 564 | <para>Channel to redirect.</para> |
| 565 | </parameter> |
| 566 | <parameter name="ExtraChannel"> |
| 567 | <para>Second call leg to transfer (optional).</para> |
| 568 | </parameter> |
| 569 | <parameter name="Exten" required="true"> |
| 570 | <para>Extension to transfer to.</para> |
| 571 | </parameter> |
| 572 | <parameter name="ExtraExten"> |
| 573 | <para>Extension to transfer extrachannel to (optional).</para> |
| 574 | </parameter> |
| 575 | <parameter name="Context" required="true"> |
| 576 | <para>Context to transfer to.</para> |
| 577 | </parameter> |
| 578 | <parameter name="ExtraContext"> |
| 579 | <para>Context to transfer extrachannel to (optional).</para> |
| 580 | </parameter> |
| 581 | <parameter name="Priority" required="true"> |
| 582 | <para>Priority to transfer to.</para> |
| 583 | </parameter> |
| 584 | <parameter name="ExtraPriority"> |
| 585 | <para>Priority to transfer extrachannel to (optional).</para> |
| 586 | </parameter> |
| 587 | </syntax> |
| 588 | <description> |
| 589 | <para>Redirect (transfer) a call.</para> |
| 590 | </description> |
| 591 | <see-also> |
| 592 | <ref type="manager">BlindTransfer</ref> |
| 593 | </see-also> |
| 594 | </manager> |
| 595 | <manager name="Atxfer" language="en_US"> |
| 596 | <since> |
| 597 | <version>1.6.1.0</version> |
| 598 | </since> |
| 599 | <synopsis> |
| 600 | Attended transfer. |
| 601 | </synopsis> |
| 602 | <syntax> |
| 603 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 604 | <parameter name="Channel" required="true"> |
| 605 | <para>Transferer's channel.</para> |
| 606 | </parameter> |
| 607 | <parameter name="Exten" required="true"> |
| 608 | <para>Extension to transfer to.</para> |
| 609 | </parameter> |
| 610 | <parameter name="Context"> |
| 611 | <para>Context to transfer to.</para> |
| 612 | </parameter> |
| 613 | </syntax> |
| 614 | <description> |
| 615 | <para>Attended transfer.</para> |
| 616 | </description> |
| 617 | <see-also> |
| 618 | <ref type="managerEvent">AttendedTransfer</ref> |
| 619 | </see-also> |
| 620 | </manager> |
| 621 | <manager name="CancelAtxfer" language="en_US"> |
| 622 | <since> |
| 623 | <version>15.1.0</version> |
| 624 | <version>14.7.0</version> |
| 625 | <version>13.18.0</version> |
| 626 | </since> |
| 627 | <synopsis> |
| 628 | Cancel an attended transfer. |
| 629 | </synopsis> |
| 630 | <syntax> |
| 631 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 632 | <parameter name="Channel" required="true"> |
| 633 | <para>The transferer channel.</para> |
| 634 | </parameter> |
| 635 | </syntax> |
| 636 | <description> |
| 637 | <para>Cancel an attended transfer. Note, this uses the configured cancel attended transfer |
| 638 | feature option (atxferabort) to cancel the transfer. If not available this action will fail. |
| 639 | </para> |
| 640 | </description> |
| 641 | <see-also> |
| 642 | <ref type="managerEvent">AttendedTransfer</ref> |
| 643 | </see-also> |
| 644 | </manager> |
| 645 | <manager name="Originate" language="en_US"> |
| 646 | <since> |
| 647 | <version>0.2.0</version> |
| 648 | </since> |
| 649 | <synopsis> |
| 650 | Originate a call. |
| 651 | </synopsis> |
| 652 | <syntax> |
| 653 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 654 | <parameter name="Channel" required="true"> |
| 655 | <para>Channel name to call.</para> |
| 656 | </parameter> |
| 657 | <parameter name="Exten"> |
| 658 | <para>Extension to use (requires <literal>Context</literal> and |
| 659 | <literal>Priority</literal>)</para> |
| 660 | </parameter> |
| 661 | <parameter name="Context"> |
| 662 | <para>Context to use (requires <literal>Exten</literal> and |
| 663 | <literal>Priority</literal>)</para> |
| 664 | </parameter> |
| 665 | <parameter name="Priority"> |
| 666 | <para>Priority to use (requires <literal>Exten</literal> and |
| 667 | <literal>Context</literal>)</para> |
| 668 | </parameter> |
| 669 | <parameter name="Application"> |
| 670 | <para>Application to execute.</para> |
| 671 | </parameter> |
| 672 | <parameter name="Data"> |
| 673 | <para>Data to use (requires <literal>Application</literal>).</para> |
| 674 | </parameter> |
| 675 | <parameter name="Timeout" default="30000"> |
| 676 | <para>How long to wait for call to be answered (in ms.).</para> |
| 677 | </parameter> |
| 678 | <parameter name="CallerID"> |
| 679 | <para>Caller ID to be set on the outgoing channel.</para> |
| 680 | </parameter> |
| 681 | <parameter name="Variable"> |
| 682 | <para>Channel variable to set, multiple Variable: headers are allowed.</para> |
| 683 | </parameter> |
| 684 | <parameter name="Account"> |
| 685 | <para>Account code.</para> |
| 686 | </parameter> |
| 687 | <parameter name="EarlyMedia"> |
| 688 | <para>Set to <literal>true</literal> to force call bridge on early media..</para> |
| 689 | </parameter> |
| 690 | <parameter name="Async"> |
| 691 | <para>Set to <literal>true</literal> for fast origination.</para> |
| 692 | </parameter> |
| 693 | <parameter name="Codecs"> |
| 694 | <para>Comma-separated list of codecs to use for this call.</para> |
| 695 | </parameter> |
| 696 | <parameter name="ChannelId"> |
| 697 | <para>Channel UniqueId to be set on the channel.</para> |
| 698 | </parameter> |
| 699 | <parameter name="OtherChannelId"> |
| 700 | <para>Channel UniqueId to be set on the second local channel.</para> |
| 701 | </parameter> |
| 702 | <parameter name="PreDialGoSub"> |
| 703 | <para>PreDialGoSub Context,Extension,Priority to set options/headers needed before start the outgoing extension</para> |
| 704 | </parameter> |
| 705 | </syntax> |
| 706 | <description> |
| 707 | <para>Generates an outgoing call to a |
| 708 | <replaceable>Extension</replaceable>/<replaceable>Context</replaceable>/<replaceable>Priority</replaceable> |
| 709 | or <replaceable>Application</replaceable>/<replaceable>Data</replaceable></para> |
| 710 | </description> |
| 711 | <see-also> |
| 712 | <ref type="managerEvent">OriginateResponse</ref> |
| 713 | </see-also> |
| 714 | </manager> |
| 715 | <managerEvent language="en_US" name="OriginateResponse"> |
| 716 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 717 | <since> |
| 718 | <version>18.26.0</version> |
| 719 | <version>20.11.0</version> |
| 720 | <version>21.6.0</version> |
| 721 | <version>22.1.0</version> |
| 722 | </since> |
| 723 | <synopsis>Raised in response to an Originate command.</synopsis> |
| 724 | <syntax> |
| 725 | <parameter name="ActionID" required="false"/> |
| 726 | <parameter name="Response"> |
| 727 | <enumlist> |
| 728 | <enum name="Failure"/> |
| 729 | <enum name="Success"/> |
| 730 | </enumlist> |
| 731 | </parameter> |
| 732 | <parameter name="Channel"/> |
| 733 | <parameter name="Context"/> |
| 734 | <parameter name="Exten"/> |
| 735 | <parameter name="Application"/> |
| 736 | <parameter name="Data"/> |
| 737 | <parameter name="Reason"/> |
| 738 | <parameter name="Uniqueid"/> |
| 739 | <parameter name="CallerIDNum"/> |
| 740 | <parameter name="CallerIDName"/> |
| 741 | </syntax> |
| 742 | <see-also> |
| 743 | <ref type="manager">Originate</ref> |
| 744 | </see-also> |
| 745 | </managerEventInstance> |
| 746 | </managerEvent> |
| 747 | <manager name="Command" language="en_US"> |
| 748 | <since> |
| 749 | <version>0.3.0</version> |
| 750 | </since> |
| 751 | <synopsis> |
| 752 | Execute Asterisk CLI Command. |
| 753 | </synopsis> |
| 754 | <syntax> |
| 755 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 756 | <parameter name="Command" required="true"> |
| 757 | <para>Asterisk CLI command to run.</para> |
| 758 | </parameter> |
| 759 | </syntax> |
| 760 | <description> |
| 761 | <para>Run a CLI command.</para> |
| 762 | </description> |
| 763 | </manager> |
| 764 | <manager name="ExtensionState" language="en_US"> |
| 765 | <since> |
| 766 | <version>0.4.0</version> |
| 767 | </since> |
| 768 | <synopsis> |
| 769 | Check Extension Status. |
| 770 | </synopsis> |
| 771 | <syntax> |
| 772 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 773 | <parameter name="Exten" required="true"> |
| 774 | <para>Extension to check state on.</para> |
| 775 | </parameter> |
| 776 | <parameter name="Context" required="true"> |
| 777 | <para>Context for extension.</para> |
| 778 | </parameter> |
| 779 | </syntax> |
| 780 | <description> |
| 781 | <para>Report the extension state for given extension. If the extension has a hint, |
| 782 | will use devicestate to check the status of the device connected to the extension.</para> |
| 783 | <para>Will return an <literal>Extension Status</literal> message. The response will include |
| 784 | the hint for the extension and the status.</para> |
| 785 | </description> |
| 786 | <see-also> |
| 787 | <ref type="managerEvent">ExtensionStatus</ref> |
| 788 | </see-also> |
| 789 | </manager> |
| 790 | <manager name="PresenceState" language="en_US"> |
| 791 | <since> |
| 792 | <version>11.0.0</version> |
| 793 | </since> |
| 794 | <synopsis> |
| 795 | Check Presence State |
| 796 | </synopsis> |
| 797 | <syntax> |
| 798 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 799 | <parameter name="Provider" required="true"> |
| 800 | <para>Presence Provider to check the state of</para> |
| 801 | </parameter> |
| 802 | </syntax> |
| 803 | <description> |
| 804 | <para>Report the presence state for the given presence provider.</para> |
| 805 | <para>Will return a <literal>Presence State</literal> message. The response will include the |
| 806 | presence state and, if set, a presence subtype and custom message.</para> |
| 807 | </description> |
| 808 | <see-also> |
| 809 | <ref type="managerEvent">PresenceStatus</ref> |
| 810 | </see-also> |
| 811 | </manager> |
| 812 | <manager name="AbsoluteTimeout" language="en_US"> |
| 813 | <since> |
| 814 | <version>0.5.0</version> |
| 815 | </since> |
| 816 | <synopsis> |
| 817 | Set absolute timeout. |
| 818 | </synopsis> |
| 819 | <syntax> |
| 820 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 821 | <parameter name="Channel" required="true"> |
| 822 | <para>Channel name to hangup.</para> |
| 823 | </parameter> |
| 824 | <parameter name="Timeout" required="true"> |
| 825 | <para>Maximum duration of the call (sec).</para> |
| 826 | </parameter> |
| 827 | </syntax> |
| 828 | <description> |
| 829 | <para>Hangup a channel after a certain time. Acknowledges set time with |
| 830 | <literal>Timeout Set</literal> message.</para> |
| 831 | </description> |
| 832 | </manager> |
| 833 | <manager name="MailboxStatus" language="en_US"> |
| 834 | <since> |
| 835 | <version>0.4.0</version> |
| 836 | </since> |
| 837 | <synopsis> |
| 838 | Check mailbox. |
| 839 | </synopsis> |
| 840 | <syntax> |
| 841 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 842 | <parameter name="Mailbox" required="true"> |
| 843 | <para>Full mailbox ID <replaceable>mailbox</replaceable>@<replaceable>vm-context</replaceable>.</para> |
| 844 | </parameter> |
| 845 | </syntax> |
| 846 | <description> |
| 847 | <para>Checks a voicemail account for status.</para> |
| 848 | <para>Returns whether there are messages waiting.</para> |
| 849 | <para>Message: Mailbox Status.</para> |
| 850 | <para>Mailbox: <replaceable>mailboxid</replaceable>.</para> |
| 851 | <para>Waiting: <literal>0</literal> if messages waiting, <literal>1</literal> |
| 852 | if no messages waiting.</para> |
| 853 | </description> |
| 854 | <see-also> |
| 855 | <ref type="manager">MailboxCount</ref> |
| 856 | </see-also> |
| 857 | </manager> |
| 858 | <manager name="MailboxCount" language="en_US"> |
| 859 | <since> |
| 860 | <version>0.5.0</version> |
| 861 | </since> |
| 862 | <synopsis> |
| 863 | Check Mailbox Message Count. |
| 864 | </synopsis> |
| 865 | <syntax> |
| 866 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 867 | <parameter name="Mailbox" required="true"> |
| 868 | <para>Full mailbox ID <replaceable>mailbox</replaceable>@<replaceable>vm-context</replaceable>.</para> |
| 869 | </parameter> |
| 870 | </syntax> |
| 871 | <description> |
| 872 | <para>Checks a voicemail account for new messages.</para> |
| 873 | <para>Returns number of urgent, new and old messages.</para> |
| 874 | <para>Message: Mailbox Message Count</para> |
| 875 | <para>Mailbox: <replaceable>mailboxid</replaceable></para> |
| 876 | <para>UrgentMessages: <replaceable>count</replaceable></para> |
| 877 | <para>NewMessages: <replaceable>count</replaceable></para> |
| 878 | <para>OldMessages: <replaceable>count</replaceable></para> |
| 879 | </description> |
| 880 | <see-also> |
| 881 | <ref type="manager">MailboxStatus</ref> |
| 882 | </see-also> |
| 883 | </manager> |
| 884 | <manager name="ListCommands" language="en_US"> |
| 885 | <since> |
| 886 | <version>1.0.0</version> |
| 887 | </since> |
| 888 | <synopsis> |
| 889 | List available manager commands. |
| 890 | </synopsis> |
| 891 | <syntax> |
| 892 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 893 | </syntax> |
| 894 | <description> |
| 895 | <para>Returns the action name and synopsis for every action that |
| 896 | is available to the user.</para> |
| 897 | </description> |
| 898 | </manager> |
| 899 | <manager name="SendText" language="en_US"> |
| 900 | <since> |
| 901 | <version>1.6.0</version> |
| 902 | </since> |
| 903 | <synopsis> |
| 904 | Sends a text message to channel. A content type can be optionally specified. If not set |
| 905 | it is set to an empty string allowing a custom handler to default it as it sees fit. |
| 906 | </synopsis> |
| 907 | <syntax> |
| 908 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 909 | <parameter name="Channel" required="true"> |
| 910 | <para>Channel to send message to.</para> |
| 911 | </parameter> |
| 912 | <parameter name="Message" required="true"> |
| 913 | <para>Message to send.</para> |
| 914 | </parameter> |
| 915 | <parameter name="Content-Type" required="false" default=""> |
| 916 | <para>The type of content in the message</para> |
| 917 | </parameter> |
| 918 | </syntax> |
| 919 | <description> |
| 920 | <para>Sends A Text Message to a channel while in a call.</para> |
| 921 | </description> |
| 922 | <see-also> |
| 923 | <ref type="application">SendText</ref> |
| 924 | </see-also> |
| 925 | </manager> |
| 926 | <manager name="UserEvent" language="en_US"> |
| 927 | <since> |
| 928 | <version>1.4.0</version> |
| 929 | </since> |
| 930 | <synopsis> |
| 931 | Send an arbitrary event. |
| 932 | </synopsis> |
| 933 | <syntax> |
| 934 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 935 | <parameter name="UserEvent" required="true"> |
| 936 | <para>Event string to send.</para> |
| 937 | </parameter> |
| 938 | <parameter name="Header1"> |
| 939 | <para>Content1.</para> |
| 940 | </parameter> |
| 941 | <parameter name="HeaderN"> |
| 942 | <para>ContentN.</para> |
| 943 | </parameter> |
| 944 | </syntax> |
| 945 | <description> |
| 946 | <para>Send an event to manager sessions.</para> |
| 947 | </description> |
| 948 | <see-also> |
| 949 | <ref type="managerEvent">UserEvent</ref> |
| 950 | <ref type="application">UserEvent</ref> |
| 951 | </see-also> |
| 952 | </manager> |
| 953 | <manager name="WaitEvent" language="en_US"> |
| 954 | <since> |
| 955 | <version>1.4.0</version> |
| 956 | </since> |
| 957 | <synopsis> |
| 958 | Wait for an event to occur. |
| 959 | </synopsis> |
| 960 | <syntax> |
| 961 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 962 | <parameter name="Timeout" required="true"> |
| 963 | <para>Maximum time (in seconds) to wait for events, <literal>-1</literal> means forever.</para> |
| 964 | </parameter> |
| 965 | </syntax> |
| 966 | <description> |
| 967 | <para>This action will elicit a <literal>Success</literal> response. Whenever |
| 968 | a manager event is queued. Once WaitEvent has been called on an HTTP manager |
| 969 | session, events will be generated and queued.</para> |
| 970 | </description> |
| 971 | </manager> |
| 972 | <manager name="CoreSettings" language="en_US"> |
| 973 | <since> |
| 974 | <version>1.6.0</version> |
| 975 | </since> |
| 976 | <synopsis> |
| 977 | Show PBX core settings (version etc). |
| 978 | </synopsis> |
| 979 | <syntax> |
| 980 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 981 | </syntax> |
| 982 | <description> |
| 983 | <para>Query for Core PBX settings.</para> |
| 984 | </description> |
| 985 | </manager> |
| 986 | <manager name="CoreStatus" language="en_US"> |
| 987 | <since> |
| 988 | <version>1.6.0</version> |
| 989 | </since> |
| 990 | <synopsis> |
| 991 | Show PBX core status variables. |
| 992 | </synopsis> |
| 993 | <syntax> |
| 994 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 995 | </syntax> |
| 996 | <description> |
| 997 | <para>Query for Core PBX status.</para> |
| 998 | </description> |
| 999 | </manager> |
| 1000 | <manager name="Reload" language="en_US"> |
| 1001 | <since> |
| 1002 | <version>1.6.0</version> |
| 1003 | </since> |
| 1004 | <synopsis> |
| 1005 | Send a reload event. |
| 1006 | </synopsis> |
| 1007 | <syntax> |
| 1008 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1009 | <parameter name="Module"> |
| 1010 | <para>Name of the module to reload.</para> |
| 1011 | </parameter> |
| 1012 | </syntax> |
| 1013 | <description> |
| 1014 | <para>Send a reload event.</para> |
| 1015 | </description> |
| 1016 | <see-also> |
| 1017 | <ref type="manager">ModuleLoad</ref> |
| 1018 | </see-also> |
| 1019 | </manager> |
| 1020 | <managerEvent language="en_US" name="CoreShowChannel"> |
| 1021 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 1022 | <since> |
| 1023 | <version>18.26.0</version> |
| 1024 | <version>20.11.0</version> |
| 1025 | <version>21.6.0</version> |
| 1026 | <version>22.1.0</version> |
| 1027 | </since> |
| 1028 | <synopsis>Raised in response to a CoreShowChannels command.</synopsis> |
| 1029 | <syntax> |
| 1030 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1031 | <channel_snapshot/> |
| 1032 | <parameter name="BridgeId"> |
| 1033 | <para>Identifier of the bridge the channel is in, may be empty if not in one</para> |
| 1034 | </parameter> |
| 1035 | <parameter name="Application"> |
| 1036 | <para>Application currently executing on the channel</para> |
| 1037 | </parameter> |
| 1038 | <parameter name="ApplicationData"> |
| 1039 | <para>Data given to the currently executing application</para> |
| 1040 | </parameter> |
| 1041 | <parameter name="Duration"> |
| 1042 | <para>The amount of time the channel has existed</para> |
| 1043 | </parameter> |
| 1044 | </syntax> |
| 1045 | <see-also> |
| 1046 | <ref type="manager">CoreShowChannels</ref> |
| 1047 | <ref type="managerEvent">CoreShowChannelsComplete</ref> |
| 1048 | </see-also> |
| 1049 | </managerEventInstance> |
| 1050 | </managerEvent> |
| 1051 | <managerEvent language="en_US" name="CoreShowChannelsComplete"> |
| 1052 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 1053 | <since> |
| 1054 | <version>18.26.0</version> |
| 1055 | <version>20.11.0</version> |
| 1056 | <version>21.6.0</version> |
| 1057 | <version>22.1.0</version> |
| 1058 | </since> |
| 1059 | <synopsis>Raised at the end of the CoreShowChannel list produced by the CoreShowChannels command.</synopsis> |
| 1060 | <syntax> |
| 1061 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1062 | <parameter name="EventList"> |
| 1063 | <para>Conveys the status of the command response list</para> |
| 1064 | </parameter> |
| 1065 | <parameter name="ListItems"> |
| 1066 | <para>The total number of list items produced</para> |
| 1067 | </parameter> |
| 1068 | </syntax> |
| 1069 | <see-also> |
| 1070 | <ref type="manager">CoreShowChannels</ref> |
| 1071 | <ref type="managerEvent">CoreShowChannel</ref> |
| 1072 | </see-also> |
| 1073 | </managerEventInstance> |
| 1074 | </managerEvent> |
| 1075 | <manager name="CoreShowChannels" language="en_US"> |
| 1076 | <since> |
| 1077 | <version>1.6.0</version> |
| 1078 | </since> |
| 1079 | <synopsis> |
| 1080 | List currently active channels. |
| 1081 | </synopsis> |
| 1082 | <syntax> |
| 1083 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1084 | </syntax> |
| 1085 | <description> |
| 1086 | <para>List currently defined channels and some information about them.</para> |
| 1087 | </description> |
| 1088 | <responses> |
| 1089 | <list-elements> |
| 1090 | <xi:include xpointer="xpointer(/docs/managerEvent[@name='CoreShowChannel'])" /> |
| 1091 | </list-elements> |
| 1092 | <xi:include xpointer="xpointer(/docs/managerEvent[@name='CoreShowChannelsComplete'])" /> |
| 1093 | </responses> |
| 1094 | </manager> |
| 1095 | <managerEvent language="en_US" name="CoreShowChannelMapComplete"> |
| 1096 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 1097 | <since> |
| 1098 | <version>18.26.0</version> |
| 1099 | <version>20.11.0</version> |
| 1100 | <version>21.6.0</version> |
| 1101 | <version>22.1.0</version> |
| 1102 | </since> |
| 1103 | <synopsis>Raised at the end of the CoreShowChannelMap list produced by the CoreShowChannelMap command.</synopsis> |
| 1104 | <syntax> |
| 1105 | <parameter name="EventList"> |
| 1106 | <para>Conveys the status of the command response list</para> |
| 1107 | </parameter> |
| 1108 | <parameter name="ListItems"> |
| 1109 | <para>The total number of list items produced</para> |
| 1110 | </parameter> |
| 1111 | </syntax> |
| 1112 | </managerEventInstance> |
| 1113 | </managerEvent> |
| 1114 | <manager name="CoreShowChannelMap" language="en_US"> |
| 1115 | <since> |
| 1116 | <version>20.4.0</version> |
| 1117 | <version>18.19.0</version> |
| 1118 | </since> |
| 1119 | <synopsis> |
| 1120 | List all channels connected to the specified channel. |
| 1121 | </synopsis> |
| 1122 | <syntax> |
| 1123 | <parameter name="Channel"> |
| 1124 | <para>The channel to get the mapping for. Requires a channel name.</para> |
| 1125 | </parameter> |
| 1126 | </syntax> |
| 1127 | <description> |
| 1128 | <para>List all channels currently connected to the specified channel. This can be any channel, including |
| 1129 | Local channels, and Local channels will be followed through to their other half.</para> |
| 1130 | </description> |
| 1131 | </manager> |
| 1132 | <manager name="LoggerRotate" language="en_US"> |
| 1133 | <since> |
| 1134 | <version>13.0.0</version> |
| 1135 | </since> |
| 1136 | <synopsis> |
| 1137 | Reload and rotate the Asterisk logger. |
| 1138 | </synopsis> |
| 1139 | <syntax> |
| 1140 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1141 | </syntax> |
| 1142 | <description> |
| 1143 | <para>Reload and rotate the logger. Analogous to the CLI command 'logger rotate'.</para> |
| 1144 | </description> |
| 1145 | </manager> |
| 1146 | <manager name="ModuleLoad" language="en_US"> |
| 1147 | <since> |
| 1148 | <version>1.6.0</version> |
| 1149 | </since> |
| 1150 | <synopsis> |
| 1151 | Module management. |
| 1152 | </synopsis> |
| 1153 | <syntax> |
| 1154 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1155 | <parameter name="Module"> |
| 1156 | <para>Asterisk module name (including .so extension) or subsystem identifier:</para> |
| 1157 | <enumlist> |
| 1158 | <enum name="cdr" /> |
| 1159 | <enum name="dnsmgr" /> |
| 1160 | <enum name="extconfig" /> |
| 1161 | <enum name="enum" /> |
| 1162 | <enum name="acl" /> |
| 1163 | <enum name="manager" /> |
| 1164 | <enum name="http" /> |
| 1165 | <enum name="logger" /> |
| 1166 | <enum name="features" /> |
| 1167 | <enum name="dsp" /> |
| 1168 | <enum name="udptl" /> |
| 1169 | <enum name="indications" /> |
| 1170 | <enum name="cel" /> |
| 1171 | <enum name="plc" /> |
| 1172 | </enumlist> |
| 1173 | </parameter> |
| 1174 | <parameter name="LoadType" required="true"> |
| 1175 | <para>The operation to be done on module. Subsystem identifiers may only |
| 1176 | be reloaded.</para> |
| 1177 | <enumlist> |
| 1178 | <enum name="load" /> |
| 1179 | <enum name="unload" /> |
| 1180 | <enum name="reload" /> |
| 1181 | <enum name="refresh"> |
| 1182 | <para>Completely unload and load again a specified module.</para> |
| 1183 | </enum> |
| 1184 | </enumlist> |
| 1185 | <para>If no module is specified for a <literal>reload</literal> loadtype, |
| 1186 | all modules are reloaded.</para> |
| 1187 | </parameter> |
| 1188 | <parameter name="Recursive" required="false"> |
| 1189 | <para>For <literal>refresh</literal> operations, attempt to recursively |
| 1190 | unload any other modules that are dependent on this module, if that would |
| 1191 | allow it to successfully unload, and load them again afterwards.</para> |
| 1192 | </parameter> |
| 1193 | </syntax> |
| 1194 | <description> |
| 1195 | <para>Loads, unloads or reloads an Asterisk module in a running system.</para> |
| 1196 | </description> |
| 1197 | <see-also> |
| 1198 | <ref type="manager">Reload</ref> |
| 1199 | <ref type="manager">ModuleCheck</ref> |
| 1200 | </see-also> |
| 1201 | </manager> |
| 1202 | <manager name="ModuleCheck" language="en_US"> |
| 1203 | <since> |
| 1204 | <version>1.6.0</version> |
| 1205 | </since> |
| 1206 | <synopsis> |
| 1207 | Check if module is loaded. |
| 1208 | </synopsis> |
| 1209 | <syntax> |
| 1210 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1211 | <parameter name="Module" required="true"> |
| 1212 | <para>Asterisk module name (not including extension).</para> |
| 1213 | </parameter> |
| 1214 | </syntax> |
| 1215 | <description> |
| 1216 | <para>Checks if Asterisk module is loaded. Will return Success/Failure. |
| 1217 | An empty Version header is also returned (which doesn't contain |
| 1218 | the module revision number).</para> |
| 1219 | </description> |
| 1220 | <see-also> |
| 1221 | <ref type="manager">ModuleLoad</ref> |
| 1222 | </see-also> |
| 1223 | </manager> |
| 1224 | <manager name="AOCMessage" language="en_US"> |
| 1225 | <since> |
| 1226 | <version>1.8.0</version> |
| 1227 | </since> |
| 1228 | <synopsis> |
| 1229 | Generate an Advice of Charge message on a channel. |
| 1230 | </synopsis> |
| 1231 | <syntax> |
| 1232 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1233 | <parameter name="Channel"> |
| 1234 | <para>Channel name to generate the AOC message on. |
| 1235 | This value is required unless ChannelPrefix is given.</para> |
| 1236 | </parameter> |
| 1237 | <parameter name="ChannelPrefix"> |
| 1238 | <para>Partial channel prefix. By using this option one can match the beginning part |
| 1239 | of a channel name without having to put the entire name in. For example |
| 1240 | if a channel name is SIP/snom-00000001 and this value is set to SIP/snom, then |
| 1241 | that channel matches and the message will be sent. Note however that only |
| 1242 | the first matched channel has the message sent on it. </para> |
| 1243 | </parameter> |
| 1244 | <parameter name="MsgType" required="true"> |
| 1245 | <para>Defines what type of AOC message to create, AOC-S, AOC-D or AOC-E</para> |
| 1246 | <enumlist> |
| 1247 | <enum name="S" /> |
| 1248 | <enum name="D" /> |
| 1249 | <enum name="E" /> |
| 1250 | </enumlist> |
| 1251 | </parameter> |
| 1252 | <parameter name="ChargeType"> |
| 1253 | <para>Defines what kind of charge this message represents for AOC-D and AOC-E.</para> |
| 1254 | <enumlist> |
| 1255 | <enum name="NA" /> |
| 1256 | <enum name="FREE" /> |
| 1257 | <enum name="Currency" /> |
| 1258 | <enum name="Unit" /> |
| 1259 | </enumlist> |
| 1260 | </parameter> |
| 1261 | <parameter name="UnitAmount(0)"> |
| 1262 | <para>This represents the amount of units charged. The ETSI AOC standard specifies that |
| 1263 | this value along with the optional UnitType value are entries in a list. To accommodate this |
| 1264 | these values take an index value starting at 0 which can be used to generate this list of |
| 1265 | unit entries. For example, If two unit entries were required this could be achieved by setting the |
| 1266 | parameter UnitAmount(0)=1234 and UnitAmount(1)=5678. Note that UnitAmount at index 0 is |
| 1267 | required when ChargeType=Unit, all other entries in the list are optional. |
| 1268 | </para> |
| 1269 | </parameter> |
| 1270 | <parameter name="UnitType(0)"> |
| 1271 | <para>Defines the type of unit. ETSI AOC standard specifies this as an integer |
| 1272 | value between 1 and 16, but this value is left open to accept any positive |
| 1273 | integer. Like the UnitAmount parameter, this value represents a list entry |
| 1274 | and has an index parameter that starts at 0. |
| 1275 | </para> |
| 1276 | </parameter> |
| 1277 | <parameter name="CurrencyName"> |
| 1278 | <para>Specifies the currency's name. Note that this value is truncated after 10 characters.</para> |
| 1279 | </parameter> |
| 1280 | <parameter name="CurrencyAmount"> |
| 1281 | <para>Specifies the charge unit amount as a positive integer. |
| 1282 | This value is required when ChargeType==Currency (AOC-D or AOC-E) or |
| 1283 | RateType==Duration/Flat/Volume (AOC-S).</para> |
| 1284 | </parameter> |
| 1285 | <parameter name="CurrencyMultiplier"> |
| 1286 | <para>Specifies the currency multiplier. |
| 1287 | This value is required when CurrencyAmount is given.</para> |
| 1288 | <enumlist> |
| 1289 | <enum name="OneThousandth" /> |
| 1290 | <enum name="OneHundredth" /> |
| 1291 | <enum name="OneTenth" /> |
| 1292 | <enum name="One" /> |
| 1293 | <enum name="Ten" /> |
| 1294 | <enum name="Hundred" /> |
| 1295 | <enum name="Thousand" /> |
| 1296 | </enumlist> |
| 1297 | </parameter> |
| 1298 | <parameter name="TotalType" default="Total"> |
| 1299 | <para>Defines what kind of AOC-D total is represented.</para> |
| 1300 | <enumlist> |
| 1301 | <enum name="Total" /> |
| 1302 | <enum name="SubTotal" /> |
| 1303 | </enumlist> |
| 1304 | </parameter> |
| 1305 | <parameter name="AOCBillingId"> |
| 1306 | <para>Represents a billing ID associated with an AOC-D or AOC-E message. Note |
| 1307 | that only the first 3 items of the enum are valid AOC-D billing IDs</para> |
| 1308 | <enumlist> |
| 1309 | <enum name="Normal" /> |
| 1310 | <enum name="ReverseCharge" /> |
| 1311 | <enum name="CreditCard" /> |
| 1312 | <enum name="CallFwdUnconditional" /> |
| 1313 | <enum name="CallFwdBusy" /> |
| 1314 | <enum name="CallFwdNoReply" /> |
| 1315 | <enum name="CallDeflection" /> |
| 1316 | <enum name="CallTransfer" /> |
| 1317 | </enumlist> |
| 1318 | </parameter> |
| 1319 | <parameter name="ChargingAssociationId"> |
| 1320 | <para>Charging association identifier. This is optional for AOC-E and can be |
| 1321 | set to any value between -32768 and 32767</para> |
| 1322 | </parameter> |
| 1323 | <parameter name="ChargingAssociationNumber"> |
| 1324 | <para>Represents the charging association party number. This value is optional |
| 1325 | for AOC-E.</para> |
| 1326 | </parameter> |
| 1327 | <parameter name="ChargingAssociationPlan"> |
| 1328 | <para>Integer representing the charging plan associated with the ChargingAssociationNumber. |
| 1329 | The value is bits 7 through 1 of the Q.931 octet containing the type-of-number and |
| 1330 | numbering-plan-identification fields.</para> |
| 1331 | </parameter> |
| 1332 | <parameter name="ChargedItem"> |
| 1333 | <para>Defines what part of the call is charged in AOC-S. Usually this is set to |
| 1334 | BasicCommunication, which refers to the time after the call is answered, but establishment |
| 1335 | (CallAttempt) or successful establishment (CallSetup) of a call can also be used. |
| 1336 | Other options are available, but these generally do not carry enough information to actually |
| 1337 | calculate the price of a call. |
| 1338 | It is possible to have multiple ChargedItem entries for a single call -- for example to |
| 1339 | charge for both the establishment of the call and the actual call. In this case, each |
| 1340 | ChargedItem is described by a ChargedItem: header and all other headers that follow it up to |
| 1341 | the next ChargedItem: header.</para> |
| 1342 | <enumlist> |
| 1343 | <enum name="NA" /> |
| 1344 | <enum name="SpecialArrangement" /> |
| 1345 | <enum name="BasicCommunication" /> |
| 1346 | <enum name="CallAttempt" /> |
| 1347 | <enum name="CallSetup" /> |
| 1348 | <enum name="UserUserInfo" /> |
| 1349 | <enum name="SupplementaryService" /> |
| 1350 | </enumlist> |
| 1351 | </parameter> |
| 1352 | <parameter name="RateType"> |
| 1353 | <para>Defines how an AOC-S ChargedItem is charged. |
| 1354 | The Duration option is only available when ChargedItem==BasicCommunication.</para> |
| 1355 | <enumlist> |
| 1356 | <enum name="NA" /> |
| 1357 | <enum name="Free" /> |
| 1358 | <enum name="FreeFromBeginning" /> |
| 1359 | <enum name="Duration" /> |
| 1360 | <enum name="Flat" /> |
| 1361 | <enum name="Volume" /> |
| 1362 | <enum name="SpecialCode" /> |
| 1363 | </enumlist> |
| 1364 | </parameter> |
| 1365 | <parameter name="Time"> |
| 1366 | <para>Specifies a positive integer which is the amount of time is paid for by one |
| 1367 | CurrencyAmount. |
| 1368 | This value is required when RateType==Duration.</para> |
| 1369 | </parameter> |
| 1370 | <parameter name="TimeScale"> |
| 1371 | <para>Specifies the time multiplier. |
| 1372 | This value is required when Time is given.</para> |
| 1373 | <enumlist> |
| 1374 | <enum name="OneHundredthSecond" /> |
| 1375 | <enum name="OneTenthSecond" /> |
| 1376 | <enum name="Second" /> |
| 1377 | <enum name="TenSeconds" /> |
| 1378 | <enum name="Minute" /> |
| 1379 | <enum name="Hour" /> |
| 1380 | <enum name="Day" /> |
| 1381 | </enumlist> |
| 1382 | </parameter> |
| 1383 | <parameter name="Granularity"> |
| 1384 | <para>Specifies a positive integer which is the size of the charged time increments. |
| 1385 | This value is optional when RateType==Duration and ChargingType==StepFunction.</para> |
| 1386 | </parameter> |
| 1387 | <parameter name="GranularityTimeScale"> |
| 1388 | <para>Specifies the granularity time multiplier. |
| 1389 | This value is required when Granularity is given.</para> |
| 1390 | <enumlist> |
| 1391 | <enum name="OneHundredthSecond" /> |
| 1392 | <enum name="OneTenthSecond" /> |
| 1393 | <enum name="Second" /> |
| 1394 | <enum name="TenSeconds" /> |
| 1395 | <enum name="Minute" /> |
| 1396 | <enum name="Hour" /> |
| 1397 | <enum name="Day" /> |
| 1398 | </enumlist> |
| 1399 | </parameter> |
| 1400 | <parameter name="ChargingType"> |
| 1401 | <para>Specifies whether the charge increases continuously with time or in increments of |
| 1402 | Time or, if provided, Granularity. |
| 1403 | This value is required when RateType==Duration.</para> |
| 1404 | <enumlist> |
| 1405 | <enum name="ContinuousCharging" /> |
| 1406 | <enum name="StepFunction" /> |
| 1407 | </enumlist> |
| 1408 | </parameter> |
| 1409 | <parameter name="VolumeUnit"> |
| 1410 | <para>Specifies the quantity of which one unit is paid for by one CurrencyAmount. |
| 1411 | This value is required when RateType==Volume.</para> |
| 1412 | <enumlist> |
| 1413 | <enum name="Octet" /> |
| 1414 | <enum name="Segment" /> |
| 1415 | <enum name="Message" /> |
| 1416 | </enumlist> |
| 1417 | </parameter> |
| 1418 | <parameter name="Code"> |
| 1419 | <para>Specifies the charging code, which can be set to a value between 1 and 10. |
| 1420 | This value is required when ChargedItem==SpecialArrangement or RateType==SpecialCode.</para> |
| 1421 | </parameter> |
| 1422 | </syntax> |
| 1423 | <description> |
| 1424 | <para>Generates an AOC-S, AOC-D or AOC-E message on a channel.</para> |
| 1425 | </description> |
| 1426 | <see-also> |
| 1427 | <ref type="managerEvent">AOC-S</ref> |
| 1428 | <ref type="managerEvent">AOC-D</ref> |
| 1429 | <ref type="managerEvent">AOC-E</ref> |
| 1430 | </see-also> |
| 1431 | </manager> |
| 1432 | <function name="AMI_CLIENT" language="en_US"> |
| 1433 | <since> |
| 1434 | <version>11.0.0</version> |
| 1435 | </since> |
| 1436 | <synopsis> |
| 1437 | Checks attributes of manager accounts |
| 1438 | </synopsis> |
| 1439 | <syntax> |
| 1440 | <parameter name="loginname" required="true"> |
| 1441 | <para>Login name, specified in manager.conf</para> |
| 1442 | </parameter> |
| 1443 | <parameter name="field" required="true"> |
| 1444 | <para>The manager account attribute to return</para> |
| 1445 | <enumlist> |
| 1446 | <enum name="sessions"><para>The number of sessions for this AMI account</para></enum> |
| 1447 | </enumlist> |
| 1448 | </parameter> |
| 1449 | </syntax> |
| 1450 | <description> |
| 1451 | <para> |
| 1452 | Currently, the only supported parameter is "sessions" which will return the current number of |
| 1453 | active sessions for this AMI account. |
| 1454 | </para> |
| 1455 | </description> |
| 1456 | </function> |
| 1457 | <manager name="Filter" language="en_US"> |
| 1458 | <since> |
| 1459 | <version>10.0.0</version> |
| 1460 | </since> |
| 1461 | <synopsis> |
| 1462 | Dynamically add filters for the current manager session. |
| 1463 | </synopsis> |
| 1464 | <syntax> |
| 1465 | <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" /> |
| 1466 | <parameter name="Operation"> |
| 1467 | <enumlist> |
| 1468 | <enum name="Add"> |
| 1469 | <para>Add a filter.</para> |
| 1470 | </enum> |
| 1471 | </enumlist> |
| 1472 | </parameter> |
| 1473 | <parameter name="MatchCriteria"> |
| 1474 | <para> |
| 1475 | Advanced match criteria. If not specified, the <literal>Filter</literal> |
| 1476 | parameter is assumed to be a regular expression and will be matched against |
| 1477 | the entire event payload. |
| 1478 | </para> |
| 1479 | <para> |
| 1480 | Syntax: [name(<event_name>)][,header(<header_name>)][,<match_method>] |
| 1481 | </para> |
| 1482 | <para> |
| 1483 | One of each of the following may be specified separated by commas. |
| 1484 | </para> |
| 1485 | <para> |
| 1486 | </para> |
| 1487 | <enumlist> |
| 1488 | <enum name="action(include|exclude)"> |
| 1489 | <para> |
| 1490 | Instead of prefixing the Filter with <literal>!</literal> to exclude matching events, |
| 1491 | specify <literal>action(exclude)</literal>. Although the default is <literal>include</literal> |
| 1492 | if <literal>action</literal> isn't specified, adding <literal>action(include)</literal> |
| 1493 | will help with readability. |
| 1494 | </para> |
| 1495 | <para> |
| 1496 | </para> |
| 1497 | </enum> |
| 1498 | <enum name="name(<event_name>)"> |
| 1499 | <para> |
| 1500 | Only events with name <replaceable>event_name</replaceable> will be included. |
| 1501 | </para> |
| 1502 | <para> |
| 1503 | </para> |
| 1504 | </enum> |
| 1505 | <enum name="header(<header_name>)"> |
| 1506 | <para> |
| 1507 | Only events containing a header with a name of <replaceable>header_name</replaceable> |
| 1508 | will be included and the <literal>Filter</literal> parameter (if supplied) will only be |
| 1509 | matched against the value of the header. |
| 1510 | </para> |
| 1511 | <para> |
| 1512 | </para> |
| 1513 | </enum> |
| 1514 | <enum name="<match_method>"> |
| 1515 | <para>Specifies how the <literal>Filter</literal> parameter |
| 1516 | is to be applied to the results of applying any |
| 1517 | <literal>name(<event_name>)</literal> and/or |
| 1518 | <literal>header(<header_name>)</literal> parameters |
| 1519 | above. |
| 1520 | </para> |
| 1521 | <para> |
| 1522 | One of the following: |
| 1523 | </para> |
| 1524 | <enumlist> |
| 1525 | <enum name="regex"> |
| 1526 | <para>The <literal>Filter</literal> parameter contains a regular expression |
| 1527 | which will be matched against the result. (default) |
| 1528 | </para> |
| 1529 | <para> |
| 1530 | </para> |
| 1531 | </enum> |
| 1532 | <enum name="exact"> |
| 1533 | <para>The <literal>Filter</literal> parameter contains a string which must |
| 1534 | exactly match the entire result. |
| 1535 | </para> |
| 1536 | <para> |
| 1537 | </para> |
| 1538 | </enum> |
| 1539 | <enum name="startsWith"> |
| 1540 | <para>The <literal>Filter</literal> parameter contains a string which must |
| 1541 | match the beginning of the result. |
| 1542 | </para> |
| 1543 | <para> |
| 1544 | </para> |
| 1545 | </enum> |
| 1546 | <enum name="endsWith"> |
| 1547 | <para>The <literal>Filter</literal> parameter contains a string which must |
| 1548 | match the end of the result. |
| 1549 | </para> |
| 1550 | <para> |
| 1551 | </para> |
| 1552 | </enum> |
| 1553 | <enum name="contains"> |
| 1554 | <para>The <literal>Filter</literal> parameter contains a string |
| 1555 | which will be searched for in the result. |
| 1556 | </para> |
| 1557 | <para> |
| 1558 | </para> |
| 1559 | </enum> |
| 1560 | <enum name="none"> |
| 1561 | <para>The <literal>Filter</literal> parameter is ignored. |
| 1562 | </para> |
| 1563 | </enum> |
| 1564 | </enumlist> |
| 1565 | </enum> |
| 1566 | </enumlist> |
| 1567 | </parameter> |
| 1568 | <parameter name="Filter"> |
| 1569 | <para>The match expression to be applied to the event.</para> |
| 1570 | <para>See the manager.conf.sample file in the configs/samples |
| 1571 | directory of the Asterisk source tree for more information.</para> |
| 1572 | </parameter> |
| 1573 | </syntax> |
| 1574 | <description> |
| 1575 | <para>See the manager.conf.sample file in the configs/samples |
| 1576 | directory of the Asterisk source tree for a full description |
| 1577 | and examples.</para> |
| 1578 | <note> |
| 1579 | <para> |
| 1580 | The filters added are only used for the current session. |
| 1581 | Once the connection is closed the filters are removed. |
| 1582 | </para> |
| 1583 | </note> |
| 1584 | <note> |
| 1585 | <para> |
| 1586 | This command requires the system permission because |
| 1587 | this command can be used to create filters that may bypass |
| 1588 | filters defined in manager.conf |
| 1589 | </para> |
| 1590 | </note> |
| 1591 | </description> |
| 1592 | </manager> |
| 1593 | <manager name="BlindTransfer" language="en_US"> |
| 1594 | <since> |
| 1595 | <version>12.0.0</version> |
| 1596 | </since> |
| 1597 | <synopsis> |
| 1598 | Blind transfer channel(s) to the given destination |
| 1599 | </synopsis> |
| 1600 | <syntax> |
| 1601 | <parameter name="Channel" required="true"> |
| 1602 | </parameter> |
| 1603 | <parameter name="Context"> |
| 1604 | </parameter> |
| 1605 | <parameter name="Exten"> |
| 1606 | </parameter> |
| 1607 | </syntax> |
| 1608 | <description> |
| 1609 | <para>Redirect all channels currently bridged to the specified channel to the specified destination.</para> |
| 1610 | </description> |
| 1611 | <see-also> |
| 1612 | <ref type="manager">Redirect</ref> |
| 1613 | <ref type="managerEvent">BlindTransfer</ref> |
| 1614 | </see-also> |
| 1615 | </manager> |
| 1616 | <managerEvent name="ExtensionStatus" language="en_US"> |
| 1617 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 1618 | <since> |
| 1619 | <version>18.26.0</version> |
| 1620 | <version>20.11.0</version> |
| 1621 | <version>21.6.0</version> |
| 1622 | <version>22.1.0</version> |
| 1623 | </since> |
| 1624 | <synopsis>Raised when a hint changes due to a device state change.</synopsis> |
| 1625 | <syntax> |
| 1626 | <parameter name="Exten"> |
| 1627 | <para>Name of the extension.</para> |
| 1628 | </parameter> |
| 1629 | <parameter name="Context"> |
| 1630 | <para>Context that owns the extension.</para> |
| 1631 | </parameter> |
| 1632 | <parameter name="Hint"> |
| 1633 | <para>Hint set for the extension</para> |
| 1634 | </parameter> |
| 1635 | <parameter name="Status"> |
| 1636 | <para>Numerical value of the extension status. Extension |
| 1637 | status is determined by the combined device state of all items |
| 1638 | contained in the hint.</para> |
| 1639 | <enumlist> |
| 1640 | <enum name="-2"> |
| 1641 | <para>The extension was removed from the dialplan.</para> |
| 1642 | </enum> |
| 1643 | <enum name="-1"> |
| 1644 | <para>The extension's hint was removed from the dialplan.</para> |
| 1645 | </enum> |
| 1646 | <enum name="0"> |
| 1647 | <para><literal>Idle</literal> - Related device(s) are in an idle |
| 1648 | state.</para> |
| 1649 | </enum> |
| 1650 | <enum name="1"> |
| 1651 | <para><literal>InUse</literal> - Related device(s) are in active |
| 1652 | calls but may take more calls.</para> |
| 1653 | </enum> |
| 1654 | <enum name="2"> |
| 1655 | <para><literal>Busy</literal> - Related device(s) are in active |
| 1656 | calls and may not take any more calls.</para> |
| 1657 | </enum> |
| 1658 | <enum name="4"> |
| 1659 | <para><literal>Unavailable</literal> - Related device(s) are |
| 1660 | not reachable.</para> |
| 1661 | </enum> |
| 1662 | <enum name="8"> |
| 1663 | <para><literal>Ringing</literal> - Related device(s) are |
| 1664 | currently ringing.</para> |
| 1665 | </enum> |
| 1666 | <enum name="9"> |
| 1667 | <para><literal>InUse&Ringing</literal> - Related device(s) |
| 1668 | are currently ringing and in active calls.</para> |
| 1669 | </enum> |
| 1670 | <enum name="16"> |
| 1671 | <para><literal>Hold</literal> - Related device(s) are |
| 1672 | currently on hold.</para> |
| 1673 | </enum> |
| 1674 | <enum name="17"> |
| 1675 | <para><literal>InUse&Hold</literal> - Related device(s) |
| 1676 | are currently on hold and in active calls.</para> |
| 1677 | </enum> |
| 1678 | </enumlist> |
| 1679 | </parameter> |
| 1680 | <parameter name="StatusText"> |
| 1681 | <para>Text representation of <literal>Status</literal>.</para> |
| 1682 | <enumlist> |
| 1683 | <enum name="Idle" /> |
| 1684 | <enum name="InUse" /> |
| 1685 | <enum name="Busy" /> |
| 1686 | <enum name="Unavailable" /> |
| 1687 | <enum name="Ringing" /> |
| 1688 | <enum name="InUse&Ringing" /> |
| 1689 | <enum name="Hold" /> |
| 1690 | <enum name="InUse&Hold" /> |
| 1691 | <enum name="Unknown"> |
| 1692 | <para>Status does not match any of the above values.</para> |
| 1693 | </enum> |
| 1694 | </enumlist> |
| 1695 | </parameter> |
| 1696 | </syntax> |
| 1697 | <see-also> |
| 1698 | <ref type="manager">ExtensionState</ref> |
| 1699 | </see-also> |
| 1700 | </managerEventInstance> |
| 1701 | </managerEvent> |
| 1702 | <managerEvent name="PresenceStatus" language="en_US"> |
| 1703 | <managerEventInstance class="EVENT_FLAG_CALL"> |
| 1704 | <since> |
| 1705 | <version>18.26.0</version> |
| 1706 | <version>20.11.0</version> |
| 1707 | <version>21.6.0</version> |
| 1708 | <version>22.1.0</version> |
| 1709 | </since> |
| 1710 | <synopsis>Raised when a hint changes due to a presence state change.</synopsis> |
| 1711 | <syntax> |
| 1712 | <parameter name="Exten" /> |
| 1713 | <parameter name="Context" /> |
| 1714 | <parameter name="Hint" /> |
| 1715 | <parameter name="Status" /> |
| 1716 | <parameter name="Subtype" /> |
| 1717 | <parameter name="Message" /> |
| 1718 | </syntax> |
| 1719 | <see-also> |
| 1720 | <ref type="manager">PresenceState</ref> |
| 1721 | </see-also> |
| 1722 | </managerEventInstance> |
| 1723 | </managerEvent> |
| 1724 | </docs> |