Web Server Customization

Top  Previous  Next  Contents  Index 

The Ascendis Caller ID web server can be customized to change the appearance or to serve your own HTML documents.

 

The web server documents are stored in the "WebRoot" folder of the Ascendis Caller ID settings folder.  This is normally

C:\Users\All Users\Ascendis Software\Ascendis Caller ID\2\WebRoot

 

You can add new files or edit the HTML files there to change the appearance.

 

Ascendis Caller ID information is accessed within the HTML files by using special directives:

 

Directive

Description

###CALLS###

start repeat block for all calls

###CONTACTSS###

start repeat block for all contacts

###ACTIONS###

start repeat block for all actions

###END###

end repeat block

 


Within CALLS block:


###DISPLAYNAME###

caller's, or contact's name

###NAME###

same as ###DISPLAYNAME###

###RAWNAME###

caller's name from caller id device

###FIRSTNAME###

caller's first name

###LASTNAME###

caller's last name

###SPEAKNAME###

contact's Speak Name

 


###DISPLAYNUMBER###

caller's formatted phone number

###NUMBER###

same as ###DISPLAYNUMBER###

###RAWNUMBER###

phone number without formatting

 


###CALLBEGAN###

start of call timestamp

###CALLENDED###

end of call timestamp

 


###DESCRIPTION###

description of phone number, from contact

###COMPANY###

contact's company

###TITLE###

contact's title

###ADDRESS###

contact's address

###CITY###

contact's city

###COUNTY###

contact's county

###STATE###

contact's state

###POSTALCODE###

contact's postal code

###COUNTRY###

contact's country

 


###INCOMINGCALL###

True for incoming calls, False for outgoing

###RINGS###

number of times the phone rang

###RINGTYPE###

type of ring (usually blank)

###NEW###

True if call has not been acknowledged, else False

###DISPLAYLINE###

line on which calls was received

###LINE###

same as ###DISPLAYLINE###

###DEVICENAME###

device on which call was received

###SERVERNAME###

server on which call was received

###ADDRESSID###

address of call on line

###LABEL###

label for the call

###NOTES###

notes for the call

 


###ACTIONNAME###

name of action currently associated with the call

 


 


Within CONTACTS block:


###DISPLAYNAME###

contact's Display Name

###NAME###

same as ###DISPLAYNAME###

###RAWNAME###

contact's name from caller id device

###FIRSTNAME###

contact's first name

###LASTNAME###

contact's last name

###SPEAKNAME###

contact's Speak Name

 


###DISPLAYNUMBER###

contact's formatted phone number

###NUMBER###

same as ###DISPLAYNUMBER###

###RAWNUMBER###

contact's phone number without formatting

 


###TITLE###

contact's title

###COMPANY###

contact's company

 


###DESCRIPTION###

description of phone number, from contact

###ADDRESS###

contact's address

###CITY###

contact's city

###COUNTY###

contact's county

###STATE###

contact's state

###POSTALCODE###

contact's postal code

###COUNTRY###

contact's country

 


###FIRSTCALLED###

when contact first called

###LASTCALLED###

when contact last called

 


###CALLSMADE###

number of calls made to contact's phone number

###CALLSRECEIVED###

number of calls received from contact's phone number

 


###ACTIONNAME###

name of action for contact

###ACTIONTYPE###

type of action

 


 


Within ACTIONS block:


###ACTIONNAME###

action name

###ACTIONTYPE###

type of action

###ACTIONSCRIPT###

script for action

 


 


Other:


###ALTERNATECOLOR###

returns white or #CCCCFF depending on row index mod 2

(think verb alternate, not noun alternate)

(this directive added only so old-style appearance is still possible)

 


###FIRST###

index of first record shown

###LAST###

index of last record shown

###NEXTFIRST###

index of first record on next page

###NEXTLAST###

index of last record for next page

###PREVIOUSFIRST###

index of first record on previous page

###PREVIOUSLAST###

index of last record on previous page

 

 

In addition, the parameters "first" and "last" in the URL are interpreted as the index of the first and last records to show.  These change the meaning of "all" within the Calls, Contacts, and Actions blocks, as specified above.  See "calls.html" in the WebRoot folder for an example of usage.