We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Phone System

Web Application Pop-Up URL

  • Last updated on

The Barracuda Phone System Communication Command Center can pop up a web browser when a call comes into a user from a queue or a call router. This feature allows incoming calls to activate user-defined features from the browser. Configure the URL using the queue or call router configuration. The target URL can be anything you define, for example, a Google search. The following example demonstrates one way to use this feature.

Create the Sample Call Router

To create a call router

  1. Create a new call router in the Extensions > Advanced Call Routers page, and specify the target extension 2009.
  2. Select New Action Set, and enter a name to identify the action set.
  3. Click Create. In the Default Action section, click Edit to the right of the Default Action Set.
  4. In the Options section, turn on Launch Web Application Popup, and specify the URL: http://www.google.com/webhp?hl=en#hl=en&output=search&q=__CID__
  5. Click Save.

Test the Pop-Up URL

For this Call Router, set an external number as a secondary extension to allow an outside caller to dial directly into the call router for the test. (An inbound call to a telephone manually transferred to the call router, or an outside call into an automated attendant transferred to your call router could have been used to test this feature as well.) Once the call hits the call router, it is sent to the target extension.

Be sure to enable pop-up windows on your browser before testing this feature. Most browsers allow exceptions to pop-up blocking rules.

  1. Open a new browser window, and log in to the Communication Command Center for the user whose extension was specified as the target.
  2. To test this feature, call the Call Router. Extension 2009 rings. Answer the call, and a new browser window opens and performs a Google search on the caller ID number.
  3. The following shows a browser lookup for a call coming in from Barracuda Networks HQ:
    URLPopupCIDGoogle.png
  4. The call is established a few moments before the screen actually pops up, depending upon the speed of your network connection.

Available Pop-up URL Data Fields

Table 1 lists the available data fields when specifying pop up URLs.

Table 1. Available Data Fields.

FieldDescription
__CID__Caller ID Number
__CIDNAME__Caller ID Name
__DESTNUM__Destination Number (usually the extension number of the router or queue)
__ORIGDESTNUM__Original destination number (usually the phone number the caller dialed before being transferred).

To display each field in use, you can use the following Perl CGI script on a web server you control:

#!/usr/bin/perl
use strict;
use CGI qw(:standard);
my $q = CGI->new;
print $q->header();
print $q->start_html('Test');
my @params = $q->param;
foreach ( sort @params ) {
print $q->p("$_: " . $q->param($_));
}
print $q->end_html;

Put the script into the cgi-bin directory of your web server, then use this URL in your call router or queue:

http://1.2.3.4/cgi-bin/test.cgi?CID=__CID__&CIDNAME=__CIDNAME__&DESTNUM=__DESTNUM__&ORIGDESTNUM=__ORIGDESTNUM_

The script displays the value for each field. Following is a simple PHP example:
print “<pre>\n”;
foreach ($_REQUEST as $key => $val) {
    print “$key: $val\n”;
}
print “</pre>\n”;

Put the script into the cgi-bin directory of your web server, then use this URL in your call router or queue:

http://1.2.3.4/cgi-bin/test.php?CID=__CID__&CIDNAME=__CIDNAME__&DESTNUM=__DESTNUM__&ORIGDESTNUM=__ORIGDESTNUM__

The script displays the value for each field.

Web Application Pop-up URL Example: SalesForce.com

The following URL has been used to allow the browser to search the user's SalesForce.com account for the incoming caller ID value. Note that the user must be logged in to SalesForce in the same browser as the Communication Command Center . URL:

https://na4.salesforce.com/search/SearchResults?searchType=1&sen=0&setLast=1&sbstr=__CID__&search=Search



 

 

 

Last updated on