You are here: Integrate with External CRM > Define Screen Pop Settings for External CRM > Example of a Screen Pop

Example of a Screen Pop

The following example illustrates how to configure screen pop.

In the above image:

The following example shows a PHP script invoked by the screen pop configuration illustrated in the above image.

<?php

/* scriptPop.php – This script should return a web page depending on the phone number dialed */

$channel=$_POST[‘Channel’];

if (is_null($channel)) {

  printf(“No channel data was given”);

}

else {

  switch ($channel) {

  case ‘18005551212’:

    header(‘Location: http://www.8x8.com’);

    break;

  default:

    header(‘Location: http://www.example.com’);

    break;

}

}

The script evaluates the Call ANI:

See Also

 


Send us your Feedback