domingo, 23 de diciembre de 2018

ingroup urls and campaing dispo

Enter In-Group URL: (When call  enter to the ingroup)
VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&phone_number=--A--phone_number--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&type=Enter In-Group

Start Call URL: (when call is sent to an email)
VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--


Dispo Call URL:
This one use the  container setting  and the  send_emil.php script


VARhttp://207.246.65.53/agc/dispo_send_email.php?container_id=1000&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=EMAIL&log_to_file=1&call_notes=--A--call_notes--B--

No Agent Call URL:
it is populated it is called every time a call that is not handled by an agent is hung up or transferre


VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&type=NO_Agent




------------------------

CAMPAING EMAIL using dynamic email, from the lead email field


VARhttp://207.246.65.53/agc/dispo_send_email.php?container_id=AGENT_CALLBACK_EMAIL&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&email=--A--email--B--



email_from => customerservice@hotmail.com
email_to => --A--email--B--


subject of the email


email_subject => Scheduled callback alert for --A--agent_name--B--

email_body_begin =>
This is a reminder that you have a scheduled callback right now for the following lead:

Name: --A--first_name--B-- --A--last_name--B--
Phone: --A--phone_number--B--
Alt. phone: --A--alt_phone--B--
Email: --A--email--B--
CB Comments: --A--callback_comments--B--
Lead Comments: --A--comments--B--

Please don't respond to this, fool.

email_body_end

---------------------

php script

<?php
print_r($_GET);
$subject="Vici email";
$body="";

foreach($_GET as $value){
$body.="$value\n";
}
system("echo \"$body\" | mail -s \"$subject\" ambiorixg12@gmail.com");

?>

http://vicidial.org/docs/DISPO_SEND_EMAIL.txt


No hay comentarios:

Publicar un comentario