To retrieve or upload call centers you need to add the following to package.xml
:
<types>
<members>*</members>
<name>CallCenter</name>
</types>
This is the example of the .callCenter
XML file:
<?xml version="1.0" encoding="UTF-8"?>
<CallCenter xmlns="http://soap.sforce.com/2006/04/metadata">
<adapterUrl>/apex/DialerSidebarPage</adapterUrl>
<customSettings>{"reqSoftphoneHeight":"400","reqUseApi":"true","reqSoftphoneWidth":"300"}</customSettings>
<displayName>Demo Call Center Adapter Open CTI</displayName>
<displayNameLabel>Display Name</displayNameLabel>
<internalNameLabel>InternalName</internalNameLabel>
<sections>
<items>
<label>CTI Adapter URL</label>
<name>reqAdapterUrl</name>
<value>/apex/DialerSidebarPage</value>
</items>
<items>
<label>Use CTI API</label>
<name>reqUseApi</name>
<value>true</value>
</items>
<items>
<label>Softphone Height</label>
<name>reqSoftphoneHeight</name>
<value>400</value>
</items>
<items>
<label>Softphone Width</label>
<name>reqSoftphoneWidth</name>
<value>300</value>
</items>
<label>General Information</label>
<name>reqGeneralInfo</name>
</sections>
<sections>
<items>
<label>Outside Prefix</label>
<name>reqOutsidePrefix</name>
<value>9</value>
</items>
<items>
<label>Long Distance Prefix</label>
<name>reqLongDistPrefix</name>
<value>1</value>
</items>
<items>
<label>International Prefix</label>
<name>reqInternationalPrefix</name>
<value>01</value>
</items>
<label>Dialing Options</label>
<name>reqDialingOptions</name>
</sections>
</CallCenter>
It should have .callcenter
extension and being placed in callCenters
folder of your deployment archive.