System() error - cannot execute a script

hi - I have searched everywhere for a relevant fix or a cause for this error but can’t seem to put my finger on it

i am trying to execure a script as part of the dialplan

exten => 1,n(empty),System(/usr/bin/call/ ${CALLERID(num)} Queue1)


 app_system.c:138 system_exec_helper: Unable to execute '/usr/bin/call/ 7075551111 Queue1'

ls output

[root@localhost call]# pwd
[root@localhost call]# ls -al
total 32
drwxr-xr-x  2 asterisk root  4096 Jul  2 15:22 .
dr-xr-xr-x. 3 root     root 20480 Jul  2 13:24 ..
-rwxr-xr-x  1 asterisk root   287 Jul  2 15:22
-rwxr-xr-x  1 asterisk root   307 Jul  2 15:22

Also if I execute this command as root
/usr/bin/call/ 7075551111 Queue1

it works

if i change /etc/passwd and give asterisk user /bin/sh unsead of /sbin/nologon
and then
su - asterisk
and execure as that user it also works

so it only doesn’t work from the dial plan

Any ideas ?

Are you sure you are not running in a chroot jail?

it is definitely behaving as if it is - but I reviewed the start up scripts and it doesn’t seem like so

I am running asterisk now (no freepbx)

i shut down the system and started as root

it worked at this point.

how do i allow asterisk to execure som eof these commands

/etc/init.d/asterisk starts safe asterisk and somehow it’s chrooted but i dont’ see where