Thank you to all those who replied to my last query. For them and for the suggestion, I can monitor asterisk using the asterisk -r -x "<command>" option. What I would like to know is that using asterisk -r -x way I can only use the *CLI commands. Is there any other way in which I can monitor asterisk? Moreover it will be very helpful is someone can provide me the C file of the ASTERISK-MIB. I will be using C language to develop my agent for the monitoring of asterisk. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080214/dd3966b6/attachment.htm
Thank you to all those who replied to my last query. For them and for the suggestion, I can monitor asterisk using the asterisk -r -x "<command>" option. What I would like to know is that using asterisk -r -x way I can only use the *CLI commands. Is there any other way in which I can monitor asterisk? Moreover it will be very helpful is someone can provide me the C file of the ASTERISK-MIB. I will be using C language to develop my agent for the monitoring of asterisk. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080214/bfa152a9/attachment.htm
Soumya Kat wrote:> Thank you to all those who replied to my last query. For them and for > the suggestion, I can monitor asterisk using the asterisk -r -x > "<command>" option. What I would like to know is that using asterisk > -r -x way I can only use the *CLI commands. Is there any other way in > which I can monitor asterisk?Soumya, Yes, "asterisk -rx" will only allow you to execute CLI commands. It also tends to spew out a bunch of garbage that makes parsing difficult unless verbosity is always set to 0. I recommend taking a look at the Asterisk Manager Interface (AMI) <http://www.voip-info.org/wiki-Asterisk+manager+API>. It's a cleaner interface that will allow you to read events and issue commands. All of the CLI commands are available through the AMI, as well as an array of additional manager actions. I recently wrote a program that maps the SIP call IDs of the two legs that make up a call using the "POE::Component::Client::Asterisk::Manager" Perl module <http://search.cpan.org/~xantus/POE-Component-Client-Asterisk-Manager/>. It provides a simple interface for filtering events, so if you're familiar with Perl I recommend taking a look at it. Regards, Matthew Roth InterMedia Marketing Solutions Software Engineer and Systems Developer
Can someone tell me how can I monitor asterisk for proxy and redirect services. The only way I can monitor asterisk now is by using asterisk -r -x "*CLI Command". I need to monitor proxy and redirect service. Can you tell me how can I achieve it? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080217/3e6e73bc/attachment.htm
Hi, I have some experience with Asterisk. What I would like to know is, are there any programmable APIs that we can use to get the information monitored by asterisk. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080223/fa7a4991/attachment.htm
You can try using the asterisk -r -x "CLI command" This allows you connect to the asterisk on the machine u run the command. As for APIs have I have no ideas. May be the seniors can help you. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080223/090a21fb/attachment.htm