Displaying 2 results from an estimated 2 matches for "landmarkcid".
2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...//the print statement returns your SQL data to Asterisk using the SET
VARIABLE statement.
//$vals[x][value] returns the contents of the variable based on it's
variable index, you will
//have to play with the index to determine which one has the data you want
to return
print "SET VARIABLE LANDMARKCID \"".$vals[4][value];
print " ".$vals[2][value].":\"";
?>
6. Rename this script to transformcallerid.agi and drop it into
/var/lib/asterisk/agi-bin, & chmod 755 it.
7. Modify your dialplan with the AGI script called in a distinct context and
that context...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
.../the print statement returns your SQL data to Asterisk using the SET
VARIABLE statement.
//$vals[x][value] returns the contents of the variable based on it's
variable index, you will
//have to play with the index to determine which one has the data you want
to return
print "SET VARIABLE LANDMARKCID \"".$vals[4][value];
print " ".$vals[2][value].":\"";
?>
6. Rename this script to transformcallerid.agi and drop it into
/var/lib/asterisk/agi-bin, & chmod 755 it.
7. Modify your dialplan with the AGI script called in a distinct context and
that conte...