Tuesday, October 5, 2010

trixbox 2.8 and cisco 7971

I was handed a cisco 7971 and told, if I can make it work it's mine. So I thought, geez, it can't be that hard. Well, it appears as though I may have been wrong. However, after MANY hours, I finally got the little sucker going. Surprisingly enough I don't want to go through the pain again. I can only hope that someone else finds this useful. I will have to pass credit onto voicecom with whom I found the current xml format. Now I have got mine working perfectly with cisco SIP firmware version 8.5.2 that is because I managed to find that through google (hint) it took me a lot of effort to get the firmware. But for those hunting for the firmware you may have luck searching around for cmterm-7970_7971-sip8-5-2.zip that is how I eventually found it.
That was actually almost he easy part, or at least not confusing. Now once I got that installed, getting the xml file right is a whole new kettle of fish. which is where the voicecom helped me out. Here is a little quote that I can vouch for!!!
"Be careful with the syntax of the .xml files as they will return an error if not correct that may take a bit of time"
The symptom is that your config won't update on your phone, and you can check by going into the settings and then into status and then view the status messages, it lists what the phone went through on boot.
<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>D/M/Ya</dateTemplate>

<timeZone>AUS Eastern Standard/Daylight Time</timeZone>

</dateTimeSetting>

<callManagerGroup>

<name>5.0 Beta</name>

<tftpDefault>true</tftpDefault>

<members>

<member priority="0">

<callManager>

<name>192.168.2.161</name>

<description>Your PBX</description>

<ports>

<ethernetPhonePort>2000</ethernetPhonePort>

<sipPort>5060</sipPort>

<securedSipPort>5061</securedSipPort>

<mgcpPorts>

<listen>2427</listen>

<keepAlive>2428</keepAlive>

</mgcpPorts>

</ports>

<processNodeName>ccm-beta-5-1</processNodeName>

</callManager>

</member>

</members>

</callManagerGroup>

<srstInfo uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">

<name>Disable</name>

<srstOption>Disable</srstOption>

<userModifiable>false</userModifiable>

<ipAddr1>192.168.2.161</ipAddr1>

<port1>2000</port1>

<ipAddr2></ipAddr2>

<port2>2000</port2>

<ipAddr3></ipAddr3>

<port3>2000</port3>

<sipIpAddr1>192.168.2.161</sipIpAddr1>

<sipPort1>5060</sipPort1>

<sipIpAddr2></sipIpAddr2>

<sipPort2>5060</sipPort2>

<sipIpAddr3></sipIpAddr3>

<sipPort3>5060</sipPort3>

<isSecure>false</isSecure>

</srstInfo>

<mlppDomainId>-1</mlppDomainId>

<mlppIndicationStatus>Default</mlppIndicationStatus>

<preemption>Default</preemption> <connectionMonitorDuration>120</connectionMonitorDuration>

</devicePool>

<sipProfile>

<sipProxies>

<backupProxy></backupProxy>

<backupProxyPort>5060</backupProxyPort>

<emergencyProxy></emergencyProxy>

<emergencyProxyPort>5060</emergencyProxyPort>

<outboundProxy></outboundProxy>

<outboundProxyPort>5060</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>true</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>Tom Higgins</phoneLabel>

<stutterMsgWaiting>1</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>221</featureLabel>

<proxy>192.168.2.161</proxy>

<port>5060</port>

<name>221</name>

<displayName>Tom Higgins</displayName>

<autoAnswer>

<autoAnswerEnabled>2</autoAnswerEnabled>

</autoAnswer>

<callWaiting>3</callWaiting>

<authName>221</authName>

<authPassword>pracapps</authPassword>

<sharedLine>false</sharedLine>

<messageWaitingLampPolicy>3</messageWaitingLampPolicy>

<messagesNumber>*97</messagesNumber>

<ringSettingIdle>4</ringSettingIdle>

<ringSettingActive>5</ringSettingActive>

<contact>221</contact>

<forwardCallInfoDisplay>

<callerName>true</callerName>

<callerNumber>false</callerNumber>

<redirectedNumber>false</redirectedNumber>

<dialedNumber>true</dialedNumber>

</forwardCallInfoDisplay>

</line>





<line button="8">

<featureID>2</featureID>

<featureLabel>Pickup</featureLabel>

<speedDialNumber>*8</speedDialNumber>

</line>



</sipLines>

<voipControlPort>5060</voipControlPort>

<dscpForAudio>184</dscpForAudio>

<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>

<dialTemplate>dialplan.xml</dialTemplate>

<softKeyFile>SK50719900-3bee-4594-bc3f-6400e1a33bf0.xml</softKeyFile>

</sipProfile>

<commonProfile>

<phonePassword></phonePassword>

<backgroundImageAccess>true</backgroundImageAccess>

<callLogBlfEnabled>2</callLogBlfEnabled>

</commonProfile>

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

<vendorConfig>

<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,2,3,4,5,6,7</daysDisplayNotActive>

<displayOnTime>08:00</displayOnTime>

<displayOnDuration>10:30</displayOnDuration>

<displayIdleTimeout>00:10</displayIdleTimeout>

<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>

<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>New_Zealand</networkLocale>

<networkLocaleInfo>

<name>New_Zealand</name>

<version>5.0(2)</version>

</networkLocaleInfo>

<deviceSecurityMode>1</deviceSecurityMode>

<idleTimeout>0</idleTimeout>

<authenticationURL></authenticationURL>

<directoryURL>http://192.168.2.161/xmlservices/directory.xml</directoryURL>

<idleURL></idleURL>

<informationURL>http://192.168.2.161/ccmcip/GetTelecasterHelpText.jsp</informationURL>

<messagesURL></messagesURL>

<proxyServerURL>192.168.2.161</proxyServerURL>

<servicesURL>http://192.168.2.161/xmlservices/service.xml</servicesURL>

<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>

<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>

<dscpForCm2Dvce>96</dscpForCm2Dvce>

<transportLayerProtocol>4</transportLayerProtocol>

<capfAuthMode>0</capfAuthMode>



<capfList>

<capf>

<phonePort>3804</phonePort>

<processNodeName>ccm-beta-5-1</processNodeName>

</capf>

</capfList>

<certHash></certHash>

<encrConfig>false</encrConfig>

</device>


You also need to have your extension setup with nat = never in trixbox in order to get the phone to register properly, or else your extension with register with asterisk, but the phone won't think it's registered.
for further reading goto:
http://voicecom.co.nz/7971.pdf

Please feel free to ask questions or post comments!!!

Tom

No comments:

Post a Comment