by Nefariousparity » Fri Oct 18, 2013 11:30 am
}
$user_id = $_REQUEST['user'];
// $location = $WEB_SERVER . $WEB_PATH .
$status = $_REQUEST['dispo'];
$lead_id = $_REQUEST['lead_id'];
$phone_number = $_REQUEST['phone_number'];
$filename = $_REQUEST['recording_filename'];
$customername = $_REQUEST['first_name'] . " " . $_REQUEST['last_name'];
if($status == "SOLD")
{
emailinfo($_REQUEST['user'], "CallCenter1", $lead_id, $phone_number, $customername , " ", " ", " ", "testemail@destination.com");
//You can also add code here to do something else like store the lead information into another database or table.
}
If I change the ifstatus=''sale" to say service, and it will only email the services?
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1