Cisco 7961 headaches


Man, I never liked Cisco stuff, and after today my esteem for the SF router and switch giant has dropped another notch.  Why?. well try to get a Cisco 7961 (or 7960 for that matter) work in Asterisk, then you’ll understand. So to ease the burden of some of you out there that try to do the same, here is the Asterisk  / FreePBX template that finally made it work for me.

We used the freely available SIP41.8-4-3S fimware, just create yourself an account on Cisco support and fetch it, we tried some of the 9 versions without any luck, so stick to the 8 versions i’d say, works just fine.

Also as other blogs outline in great detail, <natEnabled>false</natEnabled> seem to be quite important :),

well good luck…

<?xml version="1.0" ?>
<device>
 <deviceProtocol>SIP</deviceProtocol>
 <sshUserId>root</sshUserId>
 <sshPassword>KHGSHJGD##J</sshPassword>
 <devicePool>
 <dateTimeSetting>
 <dateTemplate>{$date_template}</dateTemplate>
 <timeZone>China Standard/Daylight Time</timeZone>
 <ntps>
 <ntp>
 <name>192.168.1.10</name>
 <ntpMode>Unicast</ntpMode>
 </ntp>
 </ntps>
 </dateTimeSetting>
 <callManagerGroup>
 <members>
 <member priority="0">
 <callManager>
 <processNodeName>{$server.ip.1}</processNodeName>
 <ports>
 <sipPort>5060</sipPort>
 </ports>
 </callManager>
 </member>
 </members>
 </callManagerGroup>
 </devicePool>
 <sipProfile>
 <natEnabled>false</natEnabled>
 <natAddress></natAddress>
 <sipProxies>
 <registerWithProxy>true</registerWithProxy>
 <outboundProxy>{$outbound_host.line.1}</outboundProxy>
 <outboundProxyPort>{$outbound_port.line.1}</outboundProxyPort>
 <backupProxy>{$server_host.line.1}</backupProxy>
 <backupProxyPort>{$server_port.line.1}</backupProxyPort>
 </sipProxies>
 <preferredCodec>{$preferredcodec}</preferredCodec>
 <phoneLabel>{$displayname.line.1}</phoneLabel>
 <stutterMsgWaiting>1</stutterMsgWaiting>
 <callStats>true</callStats>
 <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
 <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
 <startMediaPort>16384</startMediaPort>
 <stopMediaPort>32766</stopMediaPort>
 <sipLines>
{line_loop}
 <line button="{$line}">
 <featureID>9</featureID>
 <featureLabel>{$username}</featureLabel>
 <proxy>{$server_host}</proxy>
 <port>{$server_port}</port>
 <name>{$username}</name>
 <authName>{$username}</authName>
 <authPassword>{$secret}</authPassword>
 <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
 <messagesNumber>{$voicemail_extension}</messagesNumber>
 <forwardCallInfoDisplay>
 <callerName>true</callerName>
 <callerNumber>true</callerNumber>
 <redirectedNumber>false</redirectedNumber>
 <dialedNumber>true</dialedNumber>
 </forwardCallInfoDisplay>
 </line>
{/line_loop}
 </sipLines>
 <dialTemplate>dialplan.xml</dialTemplate>
 </sipProfile>
 {$image_name}
 {$tonescheme}
 <vendorConfig>
 <disableSpeaker>false</disableSpeaker>
 <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
 <pcPort>1</pcPort>
 <settingsAccess>1</settingsAccess>
 <garp>0</garp>
 <voiceVlanAccess>0</voiceVlanAccess>
 <videoCapability>0</videoCapability>
 <autoSelectLineEnable>0</autoSelectLineEnable>
 <webAccess>0</webAccess>
 <spanToPCPort>1</spanToPCPort>
 <loggingDisplay>1</loggingDisplay>
 <loadServer></loadServer>
 </vendorConfig>
</device>