|
|
||
The integration in a Browser based application is easy to do.
There are several options:
•Dial with a Hyperlink (preferred option)
•Dial using an XML file (see developer SDK) and Configuration for Remote Applications
To implement incoming calls, a direct access via ODBC etc. to the database is required. CTI Data Connector Enterprise Edition can do the caller identification.
Step 1 - define SQL Statements
•Define SQL statements (see developer SDK)
Step 2 - configure the Browser Pop-up
|
[WEBREQUESTER] UrlACCOUNT="http://AccountID=$ACCOUNTKEY$_and_CustomerId=$CUSTOMERID$" UrlCONTACT="http://ContactId=$CONTACTKEY$_and_CustomerId=$CUSTOMERID$" UrlNOTFOUND="http://NotFound/ft=$ForeignTel$&it=$CallerIDInternational$&ot=$OwnerTel$" |
The URL can contain variables. The values are retrieved depending on the defined SQL statements (see developer SDK)
$ACCOUNTKEY$ = primary key index of the account or unique identifier of the account
$CUSTOMERID$" = customer number
$CONTACTKEY$ = primary key index of the contact person or unique identifier of the contact person
$CallerIDInternational$ = this phone number is in international format and should be used for caller identification
$ForeignTel$ = phone number of the caller in the format the TAPI driver sends it
$OwnerTel$ = phone number which was caller (your own phone number)
Edit the file cdc.xml and change
<Description>Enterprise Application</Description>
<Executable>popup.exe</Executable>
to
<Description>Enterprise Application</Description>
<Executable>popup-browser.exe</Executable>
Make an incoming call. Click on the desktop notification. The URL should open.
If the database is hosted, CTI Data Connector Enterprise Edition cannot make the caller identification but can pass the phone number to the browser application.
Step 1 - change configuration settingsCTI Data Connector Enterprise Edition has to be configured in the way, that the phone number is directly passed to the URL without displaying a desktop notification. Start the Configuration Wizard and change
•Signaling call with Desktop Notification - uncheck both options (incoming / outgoing) •Signaling call with call details - uncheck both options (incoming / outgoing) •Development API - check Always write XML file •Development API - check Create calls.xml only once per call •Delete the default database as you do not need it (button Delete)
Step 2 - configure the Browser Pop-up
|
[WEBREQUESTER] UrlACCOUNT="http://AccountID=$ACCOUNTKEY$_and_CustomerId=$CUSTOMERID$" UrlCONTACT="http://ContactId=$CONTACTKEY$_and_CustomerId=$CUSTOMERID$" UrlNOTFOUND="http://NotFound/ft=$ForeignTel$&it=$CallerIDInternational$&ot=$OwnerTel$" |
The URL can contain variables. The values are retrieved depending on the defined SQL statements (see developer SDK)
$ACCOUNTKEY$ = primary key index of the account or unique identifier of the account
$CUSTOMERID$" = customer number
$CONTACTKEY$ = primary key index of the contact person or unique identifier of the contact person
$CallerIDInternational$ = this phone number is in international format and should be used for caller identification
$ForeignTel$ = phone number of the caller in the format the TAPI driver sends it
$OwnerTel$ = phone number which was caller (your own phone number)
Edit the file cdc.xml and change
<DEFAULTS>
<Executable></Executable>
to
<DEFAULTS>
<Executable>browser-popup.exe</Executable>
Make an incoming call. The URL, configured with UrlNOTFOUND in the browser-popup.ini file, should open instantly.