Ahmed Munir
2011-Oct-27 14:36 UTC
[asterisk-users] Check which client access Asterisk using AMI
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/ff89ea1a/attachment.htm>
Danny Nicholas
2011-Oct-27 14:39 UTC
[asterisk-users] Check which client access Asterisk using AMI
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) From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ahmed Munir Sent: Thursday, October 27, 2011 9:36 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Check which client access Asterisk using AMI 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/6686ac58/attachment.htm>
Ahmed Munir
2011-Oct-27 19:06 UTC
[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 <ahmedmunir007 at gmail.com> > Subject: [asterisk-users] Check which client access Asterisk using AMI > To: asterisk-users at lists.digium.com > Message-ID: > <CAGMN=JdNtgAu-yjWB_-Yi7rr=0Jk5OSJQZ7ibyGUfGejd4bjKg at 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/ff89ea1a/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Thu, 27 Oct 2011 09:39:43 -0500 > From: "Danny Nicholas" <danny at debsinc.com> > Subject: Re: [asterisk-users] Check which client access Asterisk using > AMI > To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" > <asterisk-users at lists.digium.com> > Message-ID: <006e01cc94b6$443a6c60$ccaf4520$@debsinc.com> > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111027/114190da/attachment.htm>