If you only want connects and disconnects, verbose should suffice [Oct 27 14:39:55] VERBOSE[3192] logger.c: == Parsing '/etc/asterisk/manager.conf': [Oct 27 14:39:55] VERBOSE[3192] logger.c: Found
[Oct 27 14:39:55] VERBOSE[3192] logger.c: == Manager 'debsman' logged on from 192.168.23.172 [Oct 27 14:39:56] WARNING[3192] chan_sip.c: No such host: 104 [Oct 27 14:39:56] NOTICE[3192] channel.c: Unable to request channel SIP/104 [Oct 27 14:39:58] VERBOSE[3192] logger.c: == Manager 'debsman' logged off from 192.168.23.172 [Oct 27 14:40:22] VERBOSE[13080] logger.c: -- Remote UNIX connection [Oct 27 14:48:30] VERBOSE[3238] logger.c: -- Remote UNIX connection disconnected From: [email protected] [mailto:[email protected]] On Behalf Of Ahmed Munir Sent: Thursday, October 27, 2011 2:07 PM To: [email protected] Subject: Re: [asterisk-users] Check which client access Asterisk using AMI Is there other way around doing it instead of enabling debug and verbose from logger.conf? Message: 1 Date: Thu, 27 Oct 2011 10:36:08 -0400 From: Ahmed Munir <[email protected]> Subject: [asterisk-users] Check which client access Asterisk using AMI To: [email protected] Message-ID: <CAGMN=JdNtgAu-yjWB_-Yi7rr=0jk5osjqz7ibygufgejd4b...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi, In manager.conf file I created a user profile by which clients can access Asterisk server as listed below; [cbusapp] secret = cbus123 deny=0.0.0.0/0.0.0.0 permit=192.168.1.0/255.255.255.0 read = system,call,log,verbose,command,agent,user,originate write = system,call,log,verbose,command,agent,user,originate Using above configuration clients are successfully access the asterisk and forward its parameters to asterisk. The thing I would like to know how can I keep track from which client does asterisk receives request from? Like client A, B and C need to know from which clients the request was made to asterisk. -- Regards, Ahmed Munir Chohan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111027/ff89e a1a/attachment.html> ------------------------------ Message: 2 Date: Thu, 27 Oct 2011 09:39:43 -0500 From: "Danny Nicholas" <[email protected]> Subject: Re: [asterisk-users] Check which client access Asterisk using AMI To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" This information might be in /var/log/asterisk/messages or /v/l/a/full. If not, you can change the logging and get it there (turn on debug in one of them) (/etc/asterisk/logger.conf) -- Regards, Ahmed Munir Chohan
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
