[asterisk-dev] Asterisk Manager API Command list with examples

Paul Belanger paul.belanger at polybeacon.com
Mon Jul 26 20:40:38 CDT 2010


On Mon, Jul 26, 2010 at 8:20 PM, Tom Szabo <tom at intersoft.net.au> wrote:
> This was very useful but this is all I have. Can anyone point me where can I
> find the rest?
>
*CLI> manager show commands

There is also an issue [1] currently under review to better document
manager events.  While they don't currently provide examples, I agree
it would be nice to have something included in the documentation.

An example example?
---
<manager name="Ping" language="en_US">
  <synopsis>
    Keepalive command.
  </synopsis>
  <syntax>
    <xi:include
xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])"
/>
  </syntax>
  <description>
    <para>A 'Ping' action will ellicit a 'Pong' response. Used to keep the
    manager connection open.</para>
  </description>
  <example>
    <action>
      Action: Ping
    </action>
    <returns>
      Response: Pong
    </returns>
  </example>
</manager>


[1] https://issues.asterisk.org/view.php?id=17173
-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com



More information about the asterisk-dev mailing list