Console messages logs.

General discussions about Asterisk.

Moderators: Moderator, Support

Console messages logs.

Postby sandeepdas » Mon Nov 30, 2015 5:52 am

Hi All,

Is it possible to record asterisk console messages in log files? My requirement is, i am in a process of creating a dashbord which will monitor any bridge activity like which participant is connecting and from which number he is connected along with the duration. my application will read the log file and update the dashboard accordingly. Please help.

Br,
Sandeep
sandeepdas
Newsterisk
 
Posts: 1
Joined: Mon Nov 30, 2015 12:16 am

Re: Console messages logs.

Postby jcolp » Mon Nov 30, 2015 9:16 am

You probably want to use the Asterisk Manager Interface for this which is an event based TCP connection instead of reading and parsing a log file. Available events are on the wiki[1] and as it's been around for quite awhile there are examples and existing solutions found using common search engines.

[1] https://wiki.asterisk.org/wiki/display/ ... AMI+Events
Joshua Colp
Digium, Inc. | Senior Software Developer
jcolp
Oldsterisk
 
Posts: 248
Joined: Tue May 19, 2015 6:59 am

Re: Console messages logs.

Postby ambiorixg12 » Wed Dec 02, 2015 11:09 pm

This is your best shot
jcolp wrote:You probably want to use the Asterisk Manager Interface for this which is an event based TCP connection instead of reading and parsing a log file. Available events are on the wiki[1] and as it's been around for quite awhile there are examples and existing solutions found using common search engines.

[1] https://wiki.asterisk.org/wiki/display/ ... AMI+Events


I have 2 questions

1) What programing language would you be using for the dashboard ?

2) how you would you be creating the bridge , using ConfBridge ?
ambiorixg12
Astmaster
 
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic


Return to Asterisk General

Who is online

Users browsing this forum: Google [Bot] and 1 guest