[asterisk-dev] [Code Review] Dialplan function for manager account checks - AMI_CLIENT()

Olle E Johansson reviewboard at asterisk.org
Mon Oct 31 10:32:48 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/421/
-----------------------------------------------------------

(Updated Oct. 31, 2011, 10:32 a.m.)


Review request for Asterisk Developers.


Changes
-------

Updated to ao2_callback, finally :-)

Thanks Russell for all the examples!

Tested again, it works.


Summary
-------

Implementation of a dialplan function for checking manager accounts. I've made it extensible so that we can add other parameters when needed. Right now it only checks the number of logged in sessions for a manager account.


Diffs (updated)
-----

  /trunk/main/manager.c 342755 

Diff: https://reviewboard.asterisk.org/r/421/diff


Testing
-------

Tested on my Linux system and it reports manager logins properly - 0, 1 and 2 concurrent sessions...


Thanks,

Olle E

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111031/064253ce/attachment-0001.htm>


More information about the asterisk-dev mailing list