[asterisk-users] Question on AMI

Jerry Geis geisj at pagestation.com
Tue May 17 13:57:56 CDT 2011


Jerry Geis wrote:
> I am using asterisk 1.4.41 and the AMI
>
> I am trying to execute a command over AMI, specifically "core show 
> channels concise"
> "sometimes" I get this back:
> asterisk_command_show_channels() execute failed. 'Response: Follows[CR 
> ][LF ]Privilege: Command[CR ][LF 
> ]OutgoingSpoolFailed!smvoice-dialout!failed!1!Down!AGI!smvoice|-digium_failed!!!3!0!(None)[LF 
> ]'
>
> I'm not expecting to see that...
>
> My manager.conf file section is:
> [JJJJ]
> secret=YES
> permit=127.0.0.1/255.255.255.0
> read = system,call,command,agent,user
> write = system,call,command,agent,user,originate
> ;read = system,call,log,verbose,command,agent,user
> ;write = system,call,log,verbose,command,agent,user
>
> Is there something not configured right?
> At the time I get the above error I had PREVIOUSLY tryied to dispatch 
> a call to an invalid extension. Which is correct (I am testing that).
> however I am not expecting to see the above error over the interface 
> when I am asking for show channels. Certainly the AGI smvoice will 
> execute about that is fine.
> I just dont want to see that particular message come over the AMI when 
> I am asking for show channels result.
>
> How do I disable that?
>
> Thanks,
>
> Jerry
>
One thing I forgot to add was that when I login the AMI I have "Events: 
off".

jerry




More information about the asterisk-users mailing list