This Technical Note explains what is Popup URL/ App and how to set up web application/ page integration by using it.

Permalink: https://wildix.atlassian.net/wiki/x/jx-OAQ

Requirements

What is Popup URL / App and what is it used for?

Popup URL / App allows you to open an application or a web page upon receiving or placing a call and pass parameters (static parameters or supported variables). To add it, go to Collaboration Settings -> Personal -> Popup URL / App 

You can set up the popup URL / App to be for incoming / outgoing call and select the triggering event:

Note: "Ringing", "Call generation" and "Answer" Triggering events don't work for colleague numbers.

Which variables are supported?

Click on the question mark “?” to view the prompt:

Examples of URLs:

Supported variables {param}:

Variable manipulation:

{CALLERNUM:1} – removes the first digit -> in this way you can remove the first digit from the caller number

Callback URLs

Callback URLs are set up globally for all PBX users and allow opening Zoho CRM or other CRM systems upon receiving or placing a call and pass parameters (static parameters or supported variables). You can set up Callback URLs to be opened for the following events: "new call", "call updated" (for example, call transfer), "call ended". When the selected event occurs, PBX makes an HTTP request to the specified URL. 

For example, http://192.168.140.4/?wildix={CALLERNAME}&cnum={CALLERNUM}&uname={USERNAME}&unum={USERNUM}&cdirection={CALLTYPE} .

Other examples of URLs:

Supported variables {param}:

Popup URL examples

You can enter one or several parameters which can be passed to the specified URL.

When you receive an incoming call, the application opens the web page where the new ticket is created, fields “To”, “Subject”, “From number” are filled out automatically, where “To” and “Subject” are the static parameters entered by you and “From number” is the phone number variable entered automatically. Example:

http://www.yourhost.com/index.pl?Action=AgentTicketPhone&Subaction=StoreNew&To={CALLERNAME}&Subject=New%20Ticket%20from%20{USERNAME}&From={CALLERNUM}

Where

Integration with Solve360 CRM

Requirements:

Solve360 CRM can be integrated with Wildix via Popup URL/ App. The following URL is set up for automatic opening of a contact record when an incoming call occurs:

https://secure.solve360.com/phonenumber/0{CALLERNUM:3}

Where

Demo video: Open Solve360 contact record upon receiving an incoming call in Collaboration


http://youtube.com/watch?v=E8o-NvyLZuo


<div class="container">
    <div class="video">
<iframe width="560" height="315" src="https://www.youtube.com/embed/E8o-NvyLZuo?rel=0" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
</div>
</div>


Popup App examples

For Windows it is necessary to indicate a complete path to the executable file, and to use the special character “^” before “&”. Example:

“C:\Program Files\Internet Explorer\iexplore.exe” http://www.yourhost.com/index.pl?Action=AgentTicketPhone^&Subaction=StoreNew^&To={CALLERNAME}^&Subject=New%20Ticket%20from%20{USERNAME}^&From={CALLERNUM}

One more example:

iexplorer.exe “http://yourhost.com/param1=value1&m2=value2&variable1={CALLERNUM}”

Where

iexplorer.exe “http://yourhost.com/Name={USERNAME}&Department=Support&Number={CALLERNUM}”