Cisco Sample XML Config

From FreeSWITCH Wiki
Revision as of 18:05, 30 April 2014 by Mario G (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




Warning

This page was converted to Confluence April 30 2014. The new page is located at: https://confluence.freeswitch.org/display/FREESWITCH/Cisco+Sample+XML+Config

 




Contents


Introduction

This page includes a Cisco Sample XML Configuration for XML-based phones, such as the 7945, 7965, 7970 models.

Replace Freeswitch_IP_Address, Freeswitch_Extension, Freeswitch_Password and Freeswitch_Voicemail with your own settings.

This configuration is tested to work as of SIP45.8-5-2S on XML based Cisco phones. G.722 wideband support should work out of the box and a sample speed dial entry is included in the configuration.

Cisco SIP-based IP phones will use DHCP option 66 to determine their call control server. Cisco SCCP-based IP phones will use DHCP option 150 to determine their call control server. If you are converting existing Cisco Unified CallManager phones to SIP, or they were purchased as SCCP, you may find it valuable to program both options into your DHCP server for automated TFTP software upgrading and configuration.

To reboot your IP phone, press the Settings button and then enter the following keys rapidly: **#**

To unlock your IP phone, press the Settings button and then enter **# and enter your phone's password. The default is Cisco and it is case sensitive. Since 8.0 series builds were released, Cisco has locked out a majority of the SIP settings from user modification - unlocking your phone is useful to do a factory reset or change your phone's IP address.

To erase your phone's configuration, unlock the phone as shown above, then press the More softkey and click Erase.

To get detailed call statistics on a call, press the blue Help button twice rapidly. (It has a blue Question mark icon on Global sets - i.e. 7945G)

XML Configuration

<device xsi:type="axl:XIPPhone" ctiid="203849429" uuid="{96f8508b-10ef-f98c-d20d-0471777ec725}"> 
<fullConfig>true</fullConfig> 
<deviceProtocol>SIP</deviceProtocol> 
<sshUserId>user</sshUserId> 
<sshPassword>pass</sshPassword> 
<devicePool uuid="{a755aa55-089c-2b47-9603-c7d51b9ca4b5}"> 
<name>Dallas 5.0 Beta</name> 
<dateTimeSetting uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}"> 
<name>CMLocal</name> 
<dateTemplate>M/D/Ya</dateTemplate> 
<timeZone>Pacific Standard/Daylight Time</timeZone> 
</dateTimeSetting> 
<callManagerGroup> 
<name>5.0 Beta</name> 
<tftpDefault>true</tftpDefault> 
<members> 
<member priority="0"> 
<callManager> 
<name>Freeswitch_IP_Address</name> 
<description>CallManager 5.0 Beta Pub - 5.0.1.032</description> 
<ports> 
<ethernetPhonePort>2000</ethernetPhonePort> 
<sipPort>5060</sipPort> 
<securedSipPort>5061</securedSipPort> 
</ports> 
<processNodeName>Freeswitch_IP_Address</processNodeName> 
</callManager> 
</member> 
</members> 
</callManagerGroup> 
</devicePool> 

<sipProfile> 
<sipProxies> 
<backupProxy></backupProxy> 
<backupProxyPort></backupProxyPort> 
<emergencyProxy></emergencyProxy> 
<emergencyProxyPort></emergencyProxyPort> 
<outboundProxy></outboundProxy> 
<outboundProxyPort></outboundProxyPort> 
<registerWithProxy>true</registerWithProxy> 
</sipProxies> 

<sipCallFeatures> 
<cnfJoinEnabled>true</cnfJoinEnabled> 
<callForwardURI>x-cisco-serviceuri-cfwdall</callForwardURI> 
<callPickupURI>x-cisco-serviceuri-pickup</callPickupURI> 
<callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI> 
<callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI> 
<meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI> 
<abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI> 
<rfc2543Hold>false</rfc2543Hold> 
<callHoldRingback>2</callHoldRingback> 
<localCfwdEnable>true</localCfwdEnable> 
<semiAttendedTransfer>true</semiAttendedTransfer> 
<anonymousCallBlock>2</anonymousCallBlock> 
<callerIdBlocking>2</callerIdBlocking> 
<dndControl>0</dndControl> 
<remoteCcEnable>true</remoteCcEnable> 
</sipCallFeatures> 

<sipStack> 
<sipInviteRetx>6</sipInviteRetx> 
<sipRetx>10</sipRetx> 
<timerInviteExpires>180</timerInviteExpires> 
<timerRegisterExpires>3600</timerRegisterExpires> 
<timerRegisterDelta>5</timerRegisterDelta> 
<timerKeepAliveExpires>120</timerKeepAliveExpires> 
<timerSubscribeExpires>120</timerSubscribeExpires> 
<timerSubscribeDelta>5</timerSubscribeDelta> 
<timerT1>500</timerT1> 
<timerT2>4000</timerT2> 
<maxRedirects>70</maxRedirects> 
<remotePartyID>true</remotePartyID> 
<userInfo>None</userInfo> 
</sipStack> 

<autoAnswerTimer>1</autoAnswerTimer> 
<autoAnswerAltBehavior>false</autoAnswerAltBehavior> 
<autoAnswerOverride>true</autoAnswerOverride> 
<transferOnhookEnabled>false</transferOnhookEnabled> 
<enableVad>false</enableVad> 
<preferredCodec>none</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload> 
<dtmfDbLevel>3</dtmfDbLevel> 
<dtmfOutofBand>avt</dtmfOutofBand> 
<alwaysUsePrimeLine>false</alwaysUsePrimeLine> 
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail> 
<kpml>3</kpml> 
<phoneLabel>Freeswitch_Extension</phoneLabel> 
<stutterMsgWaiting>2</stutterMsgWaiting> 
<callStats>false</callStats> 
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer> 
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts> 
<disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig> 
<startMediaPort>16384</startMediaPort> 
<stopMediaPort>32766</stopMediaPort> 

<sipLines> 
<line button="1"> 
<featureID>9</featureID> 
<featureLabel>Freeswitch_Extension</featureLabel> 
<proxy>Freeswitch_IP</proxy> 
<port>5060</port> 
<name>Freeswitch_Username</name> 
<displayName>Freeswitch_Extension</displayName> 
<autoAnswer> 
<autoAnswerEnabled>2</autoAnswerEnabled> 
</autoAnswer> 
<callWaiting>3</callWaiting> 
<authName>Freeswitch_Extension</authName> 
<authPassword>Freeswitch_Password</authPassword> 
<sharedLine>false</sharedLine> 
<messageWaitingLampPolicy>3</messageWaitingLampPolicy> 
<messagesNumber>Freeswitch_Voicemail_Number</messagesNumber> 
<ringSettingIdle>4</ringSettingIdle> 
<ringSettingActive>5</ringSettingActive> 
<contact>Freeswitch_Extension</contact> 
<forwardCallInfoDisplay> 
<callerName>true</callerName> 
<callerNumber>false</callerNumber> 
<redirectedNumber>false</redirectedNumber> 
<dialedNumber>true</dialedNumber> 
</forwardCallInfoDisplay> 
</line> 

<line button="2"> 
<featureID></featureID> 
<featureLabel>Speed Dial</featureLabel> 
<speedDialNumber>1234</speedDialNumber> 
</line> 
</sipLines> 

<voipControlPort>5060</voipControlPort> 
<dscpForAudio>184</dscpForAudio> 
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy> 
<dialTemplate>dialplan.xml</dialTemplate> 
<softKeyFile>softkeyDefault.xml</softKeyFile> 
</sipProfile> 

<commonProfile> 
<phonePassword>Cisco</phonePassword> 
<backgroundImageAccess>true</backgroundImageAccess> 
<callLogBlfEnabled>1</callLogBlfEnabled> 
</commonProfile> 

<loadInformation>SIP45.8-5-2S</loadInformation> 

<vendorConfig> 
<g722CodecSupport>2</g722CodecSupport>
<disableSpeaker>false</disableSpeaker> 
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset> 
<pcPort>0</pcPort> 
<settingsAccess>1</settingsAccess> 
<garp>0</garp> 
<voiceVlanAccess>0</voiceVlanAccess> 
<videoCapability>0</videoCapability> 
<autoSelectLineEnable>0</autoSelectLineEnable> 
<webAccess>1</webAccess> 
<daysDisplayNotActive>1,7</daysDisplayNotActive> 
<displayOnTime>08:00</displayOnTime> 
<displayOnDuration>10:30</displayOnDuration> 
<displayIdleTimeout>01:00</displayIdleTimeout> 
<spanToPCPort>1</spanToPCPort> 
</vendorConfig> 

<versionStamp>1136931633-57191cee-5ffc-4342-b286-4246b4991890</versionStamp> 

<userLocale> 
<name>English_United_States</name> 
<uid>1</uid> 
<langCode>en_US</langCode> 
<version>1.0.0.0-1</version> 
<winCharSet>iso-8859-1</winCharSet> 
</userLocale> 

<networkLocale>United_States</networkLocale> 
<networkLocaleInfo> 
<name>United_States</name> 
<uid>64</uid> 
<version>1.0.0.0-1</version> 
</networkLocaleInfo> 

<deviceSecurityMode>1</deviceSecurityMode> 
<idleTimeout>0</idleTimeout> 
<authenticationURL></authenticationURL> 
<directoryURL></directoryURL> 
<idleURL></idleURL> 
<informationURL></informationURL> 
<messagesURL></messagesURL> 
<proxyServerURL></proxyServerURL> 
<servicesURL></servicesURL> 
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig> 
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices> 
<dscpForCm2Dvce>96</dscpForCm2Dvce> 
<transportLayerProtocol>4</transportLayerProtocol> 
<capfAuthMode>0</capfAuthMode> 

<capfList> 
<capf> 
<phonePort>3804</phonePort> 
</capf> 
</capfList> 

<certHash></certHash> 
<encrConfig>false</encrConfig> 
<advertiseG722Codec>1</advertiseG722Codec>
</device>