Need help in monitoring calls on remote asteriskserver
Hi,
Can anyone suggest any way , how to monitor calls of an asterisk server from another asterisk server installed different ubuntu system with SNMP. I have already installed and tested SNMP . Net-snmp agent is getting connected and on SCLI I am able to moniter another system but unable to monitor calls through that asterisk server. Any help will be solicited. Thankyou Regards Shweta |
Quote:
If you say you're able to monitor another system, then why can't you set up THIS system the same way and do what you're after?? And you don't say what you mean by "monitor". Do you want to log call source/destination/time, record the actual conversations, or just flag some to certain numbers??? |
Quote:
I am sorry for not being clear in my words. You got right I want log call source and destination. Let me make it clear a bit, Asterisk server(1) with ip 192.168.1.152 is main one which is to be monitored. On CLI of asterisk server(1) I can see if sip calls are initiated , state of call like ringing, answered, etc and sip peers. I have to monitor the same from another system with ip 192.168..116 asterisk server(2). After configuring SNMP, Net-SNMP agent x is connected. Using scli command in asterisk server(2) when I try to monitor asterisk server(1) I get the system process information, which command is typed in last, which file it read, but I don't know command or configuration which will give me call log source and destination, state of sip call (ringing, answered ,etc) of asterisk server(1) on asterisk server(2). So, my question was not vague but it's just I was not clear in my explanation. Kindly help, if you could. I need to monitor calls via asterisk server, from a remote system asterisk. Thank you Regards Shweta |
Quote:
Quote:
The first hit in Google for "monitor asterisk server calls with snmp" is: http://www.voip-info.org/wiki/view/Asterisk+SNMP ...a how-to guide. Which even tells you where to get the Asterisk SNMP mibs...you did load them, right? |
Asterisk Call monitor from remote server
Hi,
I am already done with installing SNMP, agentX connection and testing with snmpwalk, everything successful. My need is, if a sip phone with extension say "5004" initiate call to "5006" (both extension registered with server to be monitored ip being 192.168.1.152), I could able to see that on terminal of monitoring server with ip 192.168.1.116. No call processing can be seen from either of the terminal where Net-SNMP agent is connected is shown, or terminal open with "scli <ip>" command. Although scli command monitors remote system's process ongoing tcp listener, udp listener, command executed last, etc. Here monitoring asterisk is 192.168.1.116 and asterisk to be monitored is 192.168.1.152. Thankyou for being supportive, please suggest something to accomplish the above mentioned. Regards Shweta |
Quote:
|
Yes I have downloaded the mib files, both asterisk mib and digium mib, saved all mibs in /usr/share/snmp/mibs. snmpwalk testing was successful because those mibs were available. Final testing with snmpwalk, which is given in Voxilla asterisk monitoring with snmp website is successful.
I need to know what else is needed to configure to monitor calls of remote server and where I would be able to see that, on asterisk cli or snmp scli. |
Quote:
http://planet-diversity.blogspot.com...sing-snmp.html There are MANY tools available to graph calls, and see them via web page or CLI. Pick one. |
I have already gone through this link during my research, but thing is that I am not allowed to use any such tools like cacti or openNMS, etc.
Till now whatever you have suggested I already did that before, and after trying all those when I was unable to find how to make my asterisk server to monitor calls going through remote asterisk server I posted for the same on this website. But stilll thankyou for being helpful. |
Someone please come up with a solution for monitoring calls going through remote asterisk sever
|
Quote:
You have BEEN TOLD what you can do, and led to things...so this: Quote:
To put it VERY SIMPLY for you:
|
I have enabled SNMP support in asterisk server by installing and rebuild Net-SNMP.
I have installed required packages for res-snmp module. I have configured snmpd.conf file as per the requirement, created a user, congigured agentX for snmp daemon, com2sec, etc. . I have enabled UDP for all access instead of localhost in /etc/snmp/snmpd.conf I got the ASTERISK and Digium MIB files. Made agenX executable. Configured res_snmp.conf (enabled and subagent uncomment) Restarted asterisk and did final testing with snmpwalk successfully. Now what next I need to do to see/monitor calls going through remote asterisk server with ip 192.168.1.152. and where I will be able to see that from my asterisk server (192.168.1.116), like : 5004 initiated call to 1002, ringing, answered, both extension registered with 192.168.1.152. I have tried $scli 192.168.1.152 ; from my asterisk (192.168.1.116) But I can monitor only system processes of 192.168.1.152 here but not call going through that asterisk. Next I have configured manager.conf also, enabled the required ones. |
Quote:
Quote:
|
Thankyou for helping so much, without google none can accomplish to an extent in R&D if the thing is new to him/her. If I am not giving my effort then why will I bother to find a solution from this forum. If anyone go through my queries he/she'll understand that I want to see result on Linux CLI not on gui of any openNMs or CACTI type tool.
Already I have did that with openNMS but my boss clearly mentioned I don't have to monitor like this. Please stop giving rude reply. I am here for a solution to my problem not for to making myself understand how incapable I am, or I just want solution with effort. I'll find a way, no more help is needed. Thankyou so much. |
Quote:
Quote:
Quote:
Sorry, no. AGAIN, if you bothered to show a TINY bit of effort, you would have your answer. You were told very plainly what to put into Google...again, "cli asterisk monitoring". Did you bother to do it??? You were also told that if you DID, the first two hits would give you what you need...did you read those things???? Since you obviously didn't bother with even trying to look this up, despite being HANDED the search query (which you COULD have done yourself, before ever posting here), you would have seen this: http://www.commandlinefu.com/command...n-asterisk-pbx ...and if you bothered to read/understand that, you would have seen this command: Code:
watch -n 1 "sudo asterisk -vvvvvrx 'core show channels' | grep call |
All times are GMT -5. The time now is 12:31 PM. |