با سلام،
در ابتدا باید عرض کنم این کار در ناک کاربری و تنظیماتی که برای آن ساخته اید امکان پذیر است، دقیقا در فایل /etc/asterisk/manager_custom.conf احتمالا در این فایل برای ساخت کاربر چیزی مثل زیر ایجاد کرده اید:
[admin]
secret = **********
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
در بخش read می توانید event های ارسالی را فیلتر کنید یا در بخش write میتوانید دستوراتی که می توان در بخش action ارسال کرد را مدیریت کنید.
کلمه هایی که در این بخش می توانید بنویسید معانی زیر را دارند:
system – General information about the system and ability to run system management commands, such as Shutdown, Restart, and Reload.
call – Information about channels and ability to set information in a running channel.
log – Logging information. Read-only.
verbose – Verbose information. Read-only.
agent – Information about queues and agents and the ability to add queue members to a queue.
user – Permission to send and receive UserEvent.
config – Ability to read and write configuration files.
command – Permission to run CLI commands. Write-only.
dtmf – Receive DTMF events. Read-only.
reporting – Ability to get information about the system.
cdr – Output of cdr_manager, if loaded. Read-only.
dialplan – Receive NewExten and VarSet events. Read-only.
originate – Permission to originate new calls. Write-only.
درواقع برای کار شما call می حتما باید باشد.
موفق باشید