[asterisk-users] Check which client access Asterisk using AMI

Danny Nicholas
Thu, 27 Oct 2011 14:39:43 -0000

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>