Some telephony services support 'screen popping' web based applications when a call is answered or dialled out. Here's a couple of examples of how to screen pop FLG.
Search for or Access a Lead
Use the following URL called with a HTTP GET method to screen pop the search leads page or to go directly to a known lead ID:
https://<hostname>/bo/BOSearchLeads.php?a=qsearch&strSearch=<keyword>
Replace <hostname> with the FLG hostname (usually in the format example.flg360.co.uk), and replace <keyword> with a search term. The search term can be:
- An FLG lead ID (e.g. 1234567)
- A phone number, without spaces (e.g. '01282570003')
- A postal code, with spaces (e.g. BB12 6EG)
- An email address
- An address first line
- A full or partial name
Create a New Lead
Make a HTTP POST request to the following URL (replacing <hostname> with the FLG hostname):
http://<hostname>/bo/BOLeadNew.php
The full set of available variables and possible values can be obtained from examining the HTML forms on steps 1 and 2 of the new lead feature within FLG. All form fields on steps 1 and 2 can be posted at once.
If any fields are missing, the user will be asked to complete them before submitting the lead. If all required details are posted, the user will be taken directly to the lead summary of the new lead.
Here's an example POST request:
a=form_2
intLeadGroupID=<leadgroupid>
strSource=<source>
intTitleID=<titleid>
strLeadFirstName=<firstname>
strLeadLastName=<lastname>
strLeadPhone1=<phone1>
strLeadPhone2=<phone2>
strLeadEmail=<email>
strLeadAddress=<address>
strLeadAddress2=<address2>
strLeadAddress3=<address3>
strLeadTownCity=<towncity>
strLeadPostcode=<postcode>