> the files:  I have asterisk running as the user asterisk also.

who is the web server running as?

isn't the system() function seeing this:

sudo -u asterisk /usr/sbin/asterisk -rx database put cidname
$PhoneNumber \"$PhoneName\""

when it should be seeing this after the sudo -u asterisk :

"asterisk /usr/sbin/asterisk -rx database put cidname (etc)" <-- whole
cmd in quotes

Try typing this at the linux prompt:

asterisk -rx database put cidname 123 "Julius Ceasar"

I don't think it will work
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to