Dispo Call URL: Only for one Disposition

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Dispo Call URL: Only for one Disposition

Postby Nefariousparity » Thu Oct 17, 2013 3:20 pm

Hi is it possible to have Dispo Call URL: only work for one status? I would like it to where my marketers if they get a service, could set the disposition of service and only that disposition gets sent out, and not everyone.

The goal is that its getting sent somewhere else to compile a list of service calls for our servicemen. Not everything else. :D
|| 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
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

Re: Dispo Call URL: Only for one Disposition

Postby mflorell » Thu Oct 17, 2013 7:30 pm

We have clients that have just created an intermediate PHP script that can send out a URL request conditionally on a certain status received from the Dispo Call URL. Any solution like this would require programming, although nothing major or complex.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Dispo Call URL: Only for one Disposition

Postby Nefariousparity » Fri Oct 18, 2013 11:10 am

I assumed as much. Man if I could learn php. I would be unstoppable. Alas, not really one of my strong suites. Thanks for the response Mflorrel.
|| 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
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

Re: Dispo Call URL: Only for one Disposition

Postby 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
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 55 guests