Cannot run external application from dial plan, but it is working from the CLI

Hello,
Thanks guy’s, the issue is solved.
Although that the application was run from the CLI, it was permission problem.
it solved by using sudo before the command in order to have root access for asterisk user.

in order to use sudo for asterisk user without the need to enter password, I added it to the sudoers file using the visudo.

I added the following line:
asterisk ALL=(ALL) NOPASSWD:ALL

from my opinion it is a temporary solution, I have to fix the permission in order to have the ability to run it without sudo.

Guy

1 Like