Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Monitor Asterisk using C


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
lee at datatrakpos.com
Guest





PostPosted: Fri Feb 08, 2008 1:52 pm    Post subject: [asterisk-users] Monitor Asterisk using C Reply with quote

Soumya Kat wrote:
Quote:
Hi,

I have installed Asterisk 1.4 along with net-SNMP 5.4.1 in my Fedora 8
system. Asterisk works fine for me and I can log into Asterisk-GUI and
monitor asterisk.

What I would like to know is how to get information such as SIP users,
number of SIP connections and traffic associated with those from
asterisk using a C Code.

Thank you.



Soumya,

This may help:

http://www.voip-info.org/wiki-Asterisk+manager+API

Not sure what you mean by "traffic" though. For call history, you might look at:
http://www.voip-info.org/wiki/view/CDR

For current status of sip lines, etc. the Asterisk Manager Interface (AMI) is
still your friend. AMI command "SipPeers" will force all event packets to be
issued for sip peers which you can catch and analyze.
--
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to
door."
Back to top
Guest






PostPosted: Fri Feb 08, 2008 2:32 pm    Post subject: [asterisk-users] Monitor Asterisk using C Reply with quote

Soumya Kat wrote:
Quote:
Hi,

I have installed Asterisk 1.4 along with net-SNMP 5.4.1 in my Fedora 8
system. Asterisk works fine for me and I can log into Asterisk-GUI and
monitor asterisk.

What I would like to know is how to get information such as SIP users,
number of SIP connections and traffic associated with those from
asterisk using a C Code.

Thank you.
------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Although the code is pretty messy, you can see how I got this sort of
information from asterisk for my monitor project AstSee. Source is
available at http://www.astsee.com/

Mojo
Back to top
matt at venturevoip.com
Guest





PostPosted: Sun Feb 10, 2008 6:00 pm    Post subject: [asterisk-users] Monitor Asterisk using C Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Soumya Kat wrote:
Quote:
Thank you for replying. The probleam is how do I use the
Asterisk_manager-API and implement them in my C code. Like how do I call a
API in my C program. It will be of great help if I can have an example.

By traffic I mean how much bandwidth or data transferring is taking place in
a call that is network traffic. I want to monitor the asterisk server.

Use your C program to access the Manager - that's what we do for our new
predictive dialer - everything is ANSI C including Manager Parsing.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHr4H4DQNt8rg0Kp4RAl0uAJ0Ur6/rRALdf31P/UcN+OdBzFCikgCcCSXf
0qFqTvhywoeC+kCTY//4aTE=
=J8ev
-----END PGP SIGNATURE-----
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services