12.07.2015 Views

Open CTI Developer's Guide - Salesforce.com

Open CTI Developer's Guide - Salesforce.com

Open CTI Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Call Center Definition FilesOptional Call Center Elements and AttributesOptional Call Center Elements and AttributesIn addition to the required elements for a call definition file, you can add optional elements to configure a SoftPhone. NamereqStandbyUrlreqTimeoutreqSoftphoneWidthDescriptionRepresents the location that hosts the secondary SoftPhone. The standbySoftPhone is used after the timeout period for the primary SoftPhone has elapsedand the notifyInitializationComplete() method hasn’t been called withinthe required timeout period. When you specify a standby URL, you must alsospecify the reqTimeout field.Represents the time in milliseconds after which the standby URL is used to hostthe SoftPhone. Before the timeout period has elapsed, the SoftPhone displays aloading icon indicating that the SoftPhone is initializing. When you specify arequired timeout, you must also specify the reqStandbyUrl field.Represents the width of the SoftPhone in pixels as displayed in <strong>Salesforce</strong>.Specifying Values for ElementsWith the exception of the reqInternalName , whose value must always be specified in a call center definition file,you can specify values either in the call center definition file or in <strong>Salesforce</strong> once the definition file has been imported.To specify a value for an element in a call center definition file, place the value between the opening and closing tagsof the . For example:MyCallCentersets the value of the reqInternalName to MyCallCenter. Note that any value other than the value forreqInternalName can be edited in <strong>Salesforce</strong> after the call center definition is imported.Sample Call Center Definition FileThe following XML code makes up a sample call center definition file:DemoAdapterDemo Call CenterAdapterhttps://c.force.<strong>com</strong>/softphone10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!