Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X
Post

VICIDIAL Tips and Tricks: Webform and how to make one.

I created this tip because I kept on forgetting what’s the URL of the VICIDIAL test output for the webform variables.

Here’s how,

$filedate = date("Ymd");
$filetime = date("H:i:s");
$IP = getenv ("REMOTE_ADDR");
$BR = getenv ("HTTP_USER_AGENT");

$lead_id=$_GET["lead_id"];
$vendor_id=$_GET["vendor_id"];
$list_id=$_GET["list_id"];
$phone_code=$_GET["phone_code"];
$phone_number=$_GET["phone_number"];
$title=$_GET["title"];
$first_name=$_GET["first_name"];
$middle_initial=$_GET["middle_initial"];
$last_name=$_GET["last_name"];
$address1=$_GET["address1"];
$address2=$_GET["address2"];
$address3=$_GET["address3"];
$city=$_GET["city"];
$state=$_GET["state"];
$province=$_GET["province"];
$postal_code=$_GET["postal_code"];
$country_code=$_GET["country_code"];
$gender=$_GET["gender"];
$date_of_birth=$_GET["date_of_birth"];
$alt_phone=$_GET["alt_phone"];
$email=$_GET["email"];
$security=$_GET["security"];
$comments=$_GET["comments"];
$user=$_GET["user"];
$pass=$_GET["pass"];
$fronter=$_GET["fronter"];
$closer=$_GET["closer"];
$campaign=$_GET["campaign"];
$group=$_GET["group"];
$SQLdate=$_GET["SQLdate"];
$epoch=$_GET["epoch"];
$uniqueid=$_GET["uniqueid"];
$cust_zap_chan=$_GET["customer_zap_channel"];
$server_ip=$_GET["server_ip"];
$SIPexten=$_GET["SIPexten"];
$session_id=$_GET["session_id"];
$dialed_number=$_GET["dialed_number"];
$dialed_label=$_GET["dialed_label"];
$rank=$_GET["rank"];
$owner=$_GET["owner"];

?>

VICIDIAL - TEST VICIDIAL OUTPUT


echo "lead_id: $lead_id\n";
echo "vendor_id: $vendor_id\n";
echo "list_id: $list_id\n";
echo "phone_code: $phone_code\n";
echo "phone_number: $phone_number\n";
echo "title: $title\n";
echo "first_name: $first_name\n";
echo "middle_initial: $middle_initial\n";
echo "last_name: $last_name\n";
echo "address1: $address1\n";
echo "address2: $address2\n";
echo "address3: $address3\n";
echo "city: $city\n";
echo "state: $state\n";
echo "province: $province\n";
echo "postal_code: $postal_code\n";
echo "country_code: $country_code\n";
echo "gender: $gender\n";
echo "date_of_birth: $date_of_birth\n";
echo "alt_phone: $alt_phone\n";
echo "email: $email\n";
echo "security: $security\n";
echo "comments: $comments\n";
echo "user: $user\n";
echo "pass: $pass\n";
echo "fronter: $fronter\n";
echo "closer: $closer\n";
echo "campaign: $campaign\n";
echo "group: $group\n";
echo "SQLdate: $SQLdate\n";
echo "epoch: $epoch\n";
echo "uniqueid: $uniqueid\n";
echo "cust_zap_chan: $customer_zap_channel\n";
echo "server_ip: $server_ip\n";
echo "SIPexten: $SIPexten\n";
echo "session_id: $session_id\n";
echo "dialed_number: $dialed_number\n";
echo "dialed_label: $dialed_label\n";
echo "rank: $rank\n";
echo "owner: $owner\n";

?>




This is really located at http://astguiclient.sourceforge.net/test_VICIDIAL_output.phps

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Fark
  • LinkedIn
  • Live
  • MSN Reporter
  • MySpace
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Leave a comment  

name*

email*

website

Submit comment

CommentLuv badge

Switch to our mobile site