[asterisk-users] Registering Cisco 7942G IP phone with Asterisk!.

Andrew Latham lathama at gmail.com
Wed Mar 2 06:01:55 CST 2011


On Wed, Mar 2, 2011 at 8:47 AM, Srinivas Dubasi
<srinivas.dubasi at yahoo.com> wrote:
>
> Hi,
>
> We are new to IP phone firmware upgradation (Sorry if it is a re-post of previous question(s)).
>
> Recently we have bought a cisco 7942G IP phone.
> It currently has SIP 42.9-0-2SR1S firmware loaded on it.
> We do not see any option to configure a SIP Proxy where we can provide SIP Server (Asterisk PC/Device)  IP address (with current firmware on it) to register it with Asterisk.
>
> Do we need to upgrade the SIP firmware to any latest versions?
> If yes, to which version we should be updating it?
> It would be of great help if you advice us on what are files we need to have in the tftpboot directory apart from the firmware (like SIP Default.conf, SIP<MAC>.cnf.xml, CTLSEP<MAC>.tlv, etc) for the upgradation.
>
> Regards,
> Srinivas


On the back of the phone there should be an AUX port.  It is a console
port and you can use it for watching the phone load.  Very handy...

Here is a sample from my res_phoneprov setup. I am sure the email
system will mess this up...  You can read more at
http://etel.wiki.oreilly.com/wiki/index.php/Dynamic_Phone_Provisioning_with_res_phoneprov_and_TFTP
and in the comming weeks I should have a better TFTP proxy ready along
with some ATA support.

#####################################
/var/lib/asterisk/phoneprov/Dynamic# cat SEP000000000000.cnf.xml
<device>
 <deviceProtocol>SIP</deviceProtocol>
 <sshUserId>cisco</sshUserId>
 <sshPassword>cisco</sshPassword>
 <devicePool>
  <dateTimeSetting>
   <dateTemplate>D/M/Y</dateTemplate>
   <timeZone>Pacific SA Daylight Time</timeZone>
   <ntps>
    <ntp>
     <name>${SERVER}</name>
     <ntpMode>Unicast</ntpMode>
    </ntp>
   </ntps>
  </dateTimeSetting>
  <callManagerGroup>
   <members>
    <member priority="0">
     <callManager>
      <ports>
       <ethernetPhonePort>2000</ethernetPhonePort>
       <sipPort>5061</sipPort>
       <securedSipPort>5061</securedSipPort>
      </ports>
      <processNodeName>${SERVER}</processNodeName>
     </callManager>
    </member>
   </members>
  </callManagerGroup>
  <loadInformation12  model="Cisco ATA 186"></loadInformation12>
  <loadInformation307  model="Cisco 7911"></loadInformation307>
  <loadInformation30007  model="Cisco 7912"></loadInformation30007>
  <loadInformation124  model="7914 14-Button Line Expansion
Module">S00105000300</loadInformation124>
  <loadInformation115  model="Cisco 7941"></loadInformation115>
  <loadInformation7  model="Cisco 7960"></loadInformation7>
 </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--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>
  <dtmfAvtPayload>101</dtmfAvtPayload>
  <dtmfDbLevel>3</dtmfDbLevel>
  <dtmfOutofBand>avt</dtmfOutofBand>
  <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
  <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
  <kpml>3</kpml>
  <natEnabled>false</natEnabled>
  <phoneLabel>${LABEL}</phoneLabel>
  <stutterMsgWaiting>1</stutterMsgWaiting>
  <callStats>false</callStats>
  <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
  <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
  <startMediaPort>16384</startMediaPort>
  <stopMediaPort>32766</stopMediaPort>
  <sipLines>
   <line
     button="1">
    <featureID>9</featureID>
    <displayName>${USERNAME}</displayName>
    <contact>${USERNAME}</contact>
    <featureLabel>${LABEL}</featureLabel>
    <proxy>${SERVER}</proxy>
    <port>5060</port>
    <name>${USERNAME}</name>
    <autoAnswer>
     <autoAnswerEnabled>2</autoAnswerEnabled>
    </autoAnswer>
    <callWaiting>3</callWaiting>
    <authName>${USERNAME}</authName>
    <authPassword>${SECRET}</authPassword>
    <sharedLine>false</sharedLine>
    <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
    <messagesNumber>${VOCIEMAIL_EXTEN}</messagesNumber>
    <ringSettingIdle>4</ringSettingIdle>
    <ringSettingActive>5</ringSettingActive>
    <contact>${USERNAME}</contact>
    <forwardCallInfoDisplay>
     <callerName>true</callerName>
     <callerNumber>false</callerNumber>
     <redirectedNumber>false</redirectedNumber>
     <dialedNumber>true</dialedNumber>
    </forwardCallInfoDisplay>
   </line>
   <line button="2">
    <featureID>21</featureID>
    <featureLabel>Testing</featureLabel>
    <speedDialNumber>999</speedDialNumber>
    <featureOptionMask>1</featureOptionMask>
   </line>
  </sipLines>
  <voipControlPort>5061</voipControlPort>
  <dscpForAudio>184</dscpForAudio>
  <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
  <dialTemplate>dialplan.xml</dialTemplate>
 </sipProfile>
 <commonProfile>
   <phonePassword></phonePassword>
   <backgroundImageAccess>true</backgroundImageAccess>
   <callLogBlfEnabled>2</callLogBlfEnabled>
 </commonProfile>
 <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>00:00</displayOnTime>
  <displayOnDuration>00:00</displayOnDuration>
  <displayIdleTimeout>00:00</displayIdleTimeout>
  <spanToPCPort>1</spanToPCPort>
  <loggingDisplay>1</loggingDisplay>
  <loadServer></loadServer>
  </vendorConfig>
 <versionStamp></versionStamp>
 <userLocale>
  <name>Spanish_Spain</name>
  <langCode>es</langCode>
 </userLocale>
 <networkLocale>Spain</networkLocale>
 <networkLocaleInfo>
  <name>Spain</name>
  <uid>56</uid>
  <version>4.2.1.3100</version>
 </networkLocaleInfo>
 <deviceSecurityMode>1</deviceSecurityMode>
 <authenticationURL></authenticationURL>
 <directoryURL>http://192.168.1.3/directory/${MAC}-directory.xml</directoryURL>
 <idleURL></idleURL>
 <informationURL></informationURL>
 <messagesURL></messagesURL>
 <proxyServerURL></proxyServerURL>
 <servicesURL></servicesURL>
 <transportLayerProtocol>4</transportLayerProtocol>
 <capfAuthMode>0</capfAuthMode>
 <capfList>
   <capf>
    <phonePort>3804</phonePort>
   </capf>
  </capfList>
 <certHash></certHash>
 <encrConfig>false</encrConfig>
</device>
#####################################


~~~ Andrew "lathama" Latham lathama at gmail.com ~~~



More information about the asterisk-users mailing list