[asterisk-app-dev] ARI method of posting log messages to Asterisk

Matthew Jordan mjordan at digium.com
Wed Oct 16 14:58:20 CDT 2013


On Wed, Oct 16, 2013 at 2:41 PM, Alistair Cunningham <
acunningham at integrics.com> wrote:

> On 16/10/13 14:22, Matthew Jordan wrote:
>
>>
>> On Wed, Oct 16, 2013 at 2:10 PM, Brad Watkins
>> <bwatkins at thinkingphones.com <mailto:bwatkins@**thinkingphones.com<bwatkins at thinkingphones.com>>>
>> wrote:
>>
>>     I don't personally see a need for logging functionality within ARI.
>>     There are so many ways in any language you can think of to log to
>>     files/database/etc. that complicating the ARI in order to pollute
>>     asterisk's logs more seems unnecessary.
>>
>>     - Brad
>>
>> Actually, a few people (/me looks at Alistair and Lenz) at AstriDevCon
>> expressed an interest in this functionality.
>>
>
> What both Steve Davies and I were interested in at AstriDevCon was the
> ability to do the equivalent of the UserEvent() dialplan application, so
> that there's a way to send a message from an ARI application through
> Asterisk to something listening on AMI (and perhaps ARI too). This is very
> useful when you have a complex telephony system with different components
> written by different people/companies but which need to be aware of each
> other's telephony actions.
>
>
The UserEvent functionality is on another issue -
https://issues.asterisk.org/jira/browse/ASTERISK-22697. Right now it needs
the ability to POST JSON up with requests, so Paul's issue in
https://issues.asterisk.org/jira/browse/ASTERISK-22685 has to come first.


>
> > [Oct 16 17:20:23] ERROR[20023] my_first_queue.py:1234: Oh snap! There >
> aren't any agents! Bail - bail - bail
>
> We weren't talking about ARI to log files specifically, but I agree that
> this would also be very useful to have, for exactly this sort of example.
> Having logging of all telephony actions in one place is a Very Good Thing
> for auditing and debugging purposes.
>

Is Paul's suggestion of using syslog or logstash (which can aggregate logs
from multiple sources) a valid work around?

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20131016/58143ca3/attachment-0001.html>


More information about the asterisk-app-dev mailing list