Displaying 1 result from an estimated 1 matches for "phonename".
Did you mean:
phone_name
2004 Dec 12
1
I'm stumped
...I have asterisk running as the user asterisk also.
---cid-store.php----
<HTML>
<HEAD>
<TITLE>Storing Asterisk CID data</TITLE>
</HEAD>
<BODY>
<h1>Asterisk phone book</h1>
<?php
set_time_limit(5);
if ($PhoneNumber <> "" && $PhoneName <> "") {
system("sudo -u asterisk /usr/sbin/asterisk -rx " .
escapeshellarg("database put cidname $PhoneNumber \"$PhoneName\"") . " &>
/tmp/error");
print "Successfully stored <b>$PhoneNumber</b> as <b&g...