Cisco 7940 SIP error. Please help!!

syntax24
Posts: 7
Member Since:
2011-11-20

Alright, so I have trixbox setup and working, I have a Cisco 7940 also. It boots, configures IP (manually configured), starts pulling files from the TFTP on Trixbox, loads the .loads file, and the phones config file.

Anyway it's telling me Version Error and then says Registration Rejected.

Maybe the problems with my Phones SEP[MAC].cnf.xml file?? My load is: P0S3-08-7-00

On the phone during the process, under status it shows the firmware as being: app load id: P00308000600 boot load id: PC0303010200

Here is the phones SEP[MAC].cnf.xml file:

<device>
   <deviceProtocol>SIP</deviceProtocol>
   <sshUserId>cisco</sshUserId>
   <sshPassword>cisco</sshPassword>
   <devicePool>
      <dateTimeSetting>
         <dateTemplate>M/D/Ya</dateTemplate>
         <timeZone>Central Standard/Daylight Time</timeZone>
         <ntps>
              <ntp>
                  <name>10.0.0.102</name>
                  <ntpMode>Unicast</ntpMode>
              </ntp>
         </ntps>
      </dateTimeSetting>
      <callManagerGroup>
         <members>
            <member priority="0">
               <callManager>
                  <ports>
                     <ethernetPhonePort>2000</ethernetPhonePort>
                     <sipPort>5060</sipPort>
                     <securedSipPort>5061</securedSipPort>
                  </ports>
                  <processNodeName>10.0.0.102</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-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>g711ulaw</preferredCodec>
      <dtmfAvtPayload>101</dtmfAvtPayload>
      <dtmfDbLevel>3</dtmfDbLevel>
      <dtmfOutofBand>avt</dtmfOutofBand>
      <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
      <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
      <kpml>3</kpml>
      <natEnabled>false</natEnabled>
      <natAddress></natAddress>
      <phoneLabel>robbins</phoneLabel>
      <stutterMsgWaiting>0</stutterMsgWaiting>
      <callStats>false</callStats>
      <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
      <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
      <startMediaPort>16384</startMediaPort>
      <stopMediaPort>32766</stopMediaPort>
      <sipLines>
         <line button="1">
            <featureID>9</featureID>
            <featureLabel>_DISPLAY-NAME_</featureLabel>
            <proxy>10.0.0.102</proxy>
            <port>5060</port>
            <name>robbins</name>
            <displayName>robbins</displayName>
            <autoAnswer>
               <autoAnswerEnabled>2</autoAnswerEnabled>
            </autoAnswer>
            <callWaiting>3</callWaiting>
            <authName>robbins</authName>
            <authPassword>secret</authPassword>
            <sharedLine>false</sharedLine>
            <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
            <messagesNumber>3501</messagesNumber>
            <ringSettingIdle>4</ringSettingIdle>
            <ringSettingActive>5</ringSettingActive>
            <contact>_USER_</contact>
            <forwardCallInfoDisplay>
               <callerName>true</callerName>
               <callerNumber>true</callerNumber>
               <redirectedNumber>false</redirectedNumber>
               <dialedNumber>true</dialedNumber>
            </forwardCallInfoDisplay>
	     </line>   
      </sipLines>
      <voipControlPort>5060</voipControlPort>
      <dscpForAudio>184</dscpForAudio>
      <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
      <dialTemplate>dialplan.xml</dialTemplate>
   </sipProfile>
   <commonProfile>
      <phonePassword></phonePassword>
      <backgroundImageAccess>true</backgroundImageAccess>
      <callLogBlfEnabled>1</callLogBlfEnabled>
   </commonProfile>
   <loadInformation>P0S3-08-7-00</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>
      <spanToPCPort>1</spanToPCPort>
      <loggingDisplay>1</loggingDisplay>
      <loadServer></loadServer>
   </vendorConfig>
   <versionStamp>1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c37</versionStamp>
   <networkLocale>US</networkLocale>
   <networkLocaleInfo>
      <name>US</name>
      <version>5.0(2)</version>
   </networkLocaleInfo>
   <deviceSecurityMode>1</deviceSecurityMode>
   <authenticationURL></authenticationURL>
   <directoryURL></directoryURL>
   <idleURL></idleURL>
   <informationURL></informationURL>
   <messagesURL></messagesURL>
   <proxyServerURL></proxyServerURL>
   <servicesURL></servicesURL>
   <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
   <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
   <dscpForCm2Dvce>96</dscpForCm2Dvce>
   <transportLayerProtocol>2</transportLayerProtocol>
   <capfAuthMode>0</capfAuthMode>
   <capfList>
      <capf>
         <phonePort>3804</phonePort>
      </capf>
   </capfList>
   <certHash></certHash>
   <encrConfig>false</encrConfig>
</device>


SkykingOH
Posts: 9675
Member Since:
2007-12-17
7940's don't use xml style

7940's don't use xml style config's. They use text tags.

Did you use the trixbox endpoint manager to generate the config?

--

Scott

aka "Skyking"



syntax24
Posts: 7
Member Since:
2011-11-20
Well, when I remove

Well, when I remove everything and start from scratch except keeping the bin,loads, etc.... I used the endpoint manager to build the config, changed the default to the right bin/version name... I had a tail-f on the /var/log/atftpd.log file and it still tries serving .xml files, or tries having them pulled by the phone is what it appears. it does send the SIP[MAC].cnf that the endpoint manager makes, but tries accessing others like SEP[mac].cnf.xml and CTLSEP[mac].tlv ?!? and XMLDefault.cnf.xml ....

why is that? The phone just says file not found when it tries those .xml files now, and it goes to registration rejected.

on another note... looked at the model number on the back. It's a 7940G, if that makes a big deal...



SkykingOH
Posts: 9675
Member Since:
2007-12-17
The 'G' just means global.

The 'G' just means global. The XMLDefaul.cnf.xml is just a list of model numbers and firmware that automates the process of moving the phone from sccp to sip or updating software in general.

SIPDefault.cnf must contain the version of firmware you are running, you can set this from global settings in the EPM.

The phone specific config file is SIP-mac-.cnf

I am surprised that the phone is trying to pull the SEP file, are you sure the phone is not still on sccp firmware?

The CTLSEP file contains cryptographic keys for encrypted voice and is not needed.

--

Scott

aka "Skyking"



syntax24
Posts: 7
Member Since:
2011-11-20
Chances are, I may be.

Chances are, I may be. Doesn't specifying the right load, in my example "P0S3-08-7-00" provide enough for the phone to changeover to sip? am I missing some other process for switching them from SCCP over to SIP?

I appreciate the help.



SkykingOH
Posts: 9675
Member Since:
2007-12-17
Does the phone say sccp or

Does the phone say sccp or sip on the display?

You need to do a factory reset on the phone and it should pickup and flash the new software.

The config version is later, the first software that is loaded is controlled by the OS79XX.TXT files that was in the software package.

I strongly suggest you study this document:

http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/7960g_7940g/...

--

Scott

aka "Skyking"



syntax24
Posts: 7
Member Since:
2011-11-20
did a factory reset, things

did a factory reset, things seemed good... for some reason it tries pulling a /7960-font.xml and a US/7960-tones.xml and i'm not sure what that's all about. On the phone when that happens I get a "Bad Glyph File"... and still getting a Registration rejected.

I might be fubar and better off getting ahold of a cisco callmanager router or something. fml.

I appreciate the help though. This system hates me.



syntax24
Posts: 7
Member Since:
2011-11-20
actually, the bad glyph file

actually, the bad glyph file is only on the hard reset.

now when it's just cycling it's boot... it just gives version error , registration rejected.



SkykingOH
Posts: 9675
Member Since:
2007-12-17
So it updated the

So it updated the software?

The phone boots all the way and you can access the SIP Settings menu?

I don't have the font or tone files so they must not make any difference.

Post your SIP-mac-.cnf file and SipDefault.cnf

The filenames are case sensitive, watch the log in /var/log/atftpd.log

You never answered my question, are you using the endpoint manager to generate your configs?

--

Scott

aka "Skyking"



syntax24
Posts: 7
Member Since:
2011-11-20
okay, apparently I'm not on

okay, apparently I'm not on sip. I see no such menu. I DID use the endpoint manager to generate the configs. Here's the files requested... another thing, at **** is where I got my bin,etc files.... the one called "cmterm-7940-7960-8.7.00-sip.cop" ... hoping that's an alright version.

heres the configs... again, i guess i'm still on SCCP, even though I did a hard reset, and have the bin, sbn, sb2, and loads files for SIP.

SIP-mac-.cnf:

# Cisco SIP Configuration

phone_label: "robbins"
line1_name: "1000"
line1_shortname: "1000"
line1_displayname: "1000"
line1_password: "secret"
line2_name: "UNPROVISIONED"
line2_shortname: "UNPROVISIONED"
line2_displayname: "UNPROVISIONED"
line2_password: "UNPROVISIONED"
line3_name: "UNPROVISIONED"
line3_shortname: "UNPROVISIONED"
line3_displayname: "UNPROVISIONED"
line3_password: "UNPROVISIONED"
line4_name: "UNPROVISIONED"
line4_shortname: "UNPROVISIONED"
line4_displayname: "UNPROVISIONED"
line4_password: "UNPROVISIONED"
line5_name: "UNPROVISIONED"
line5_shortname: "UNPROVISIONED"
line5_displayname: "UNPROVISIONED"
line5_password: "UNPROVISIONED"
line6_name: "UNPROVISIONED"
line6_shortname: "UNPROVISIONED"
line6_displayname: "UNPROVISIONED"
line6_password: "UNPROVISIONED"
line1_authname: "1000"
line2_authname: "UNPROVISIONED"
line3_authname: "UNPROVISIONED"
line4_authname: "UNPROVISIONED"
line5_authname: "UNPROVISIONED"
line6_authname: "UNPROVISIONED"

sipdefault:

# Image Version
image_version: "P0S3-08-7-00"

# Proxy Server
proxy1_address: "10.0.0.102"
proxy2_address: ""
proxy3_address: "" 
proxy4_address: ""
proxy5_address: ""
proxy6_address: ""
 
# Proxy Server Port (default - 5060)
proxy1_port:"5060"
proxy2_port:""
proxy3_port:""
proxy4_port:""
proxy5_port:""
proxy6_port:""

# Emergency Proxy info
proxy_emergency: "10.0.0.102"
proxy_emergency_port: "5060"

# Backup Proxy info
proxy_backup: ""
proxy_backup_port: "5060"
 
# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5060"
 
# NAT/Firewall Traversal
nat_enable: "0"
nat_address: ""
voip_control_port: "5061"
start_media_port: "16384"
end_media_port:  "32766"
nat_received_processing: "0"

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: "1"
 
# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: "3600"
 
# Codec for media stream (g711ulaw (default), g711alaw, g729)
preferred_codec: "none"
 
# TOS bits in media stream [0-5] (Default - 5)
tos_media: "5"

# Enable VAD (0-disable (default), 1-enable)
enable_vad: "0"
 
# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable: "1"     ; 0-Disabled, 1-Enabled (default)
 
# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: "0"   ; 0-Disabled, 1-Enabled (default)
 
# Telnet Level (enable or disable the ability to telnet into this phone 
telnet_level: "2"      ; 0-Disabled (default), 1-Enabled, 2-Privileged

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: "1"
 
# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
dtmf_outofband: "0"
 
# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
dtmf_db_level: "3"
 
# SIP Timers
timer_t1: "500"                   ; Default 500 msec
timer_t2: "4000"                  ; Default 4 sec
sip_retx: "10"                     ; Default 11
sip_invite_retx: "6"               ; Default 7
timer_invite_expires: "180"        ; Default 180 sec
 
# Setting for Message speeddial to UOne box
messages_uri: "*97"

#*********  Release 2 new config parameters **********
 
# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: "./"
 
# Time Server
sntp_mode: "unicast"
sntp_server: "10.0.0.102"
time_zone: "EST"
dst_offset: "1"
dst_start_month: "Mar"
dst_start_day: ""
dst_start_day_of_week: "Sun"
dst_start_week_of_month: "2"
dst_start_time: "02"
dst_stop_month: "Nov"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "1"
dst_stop_time: "2"
dst_auto_adjust: "1"
 
# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: "0"                  ; Default 0 (Do Not Disturb feature is off)
 
# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: "0"            ; Default 0 (Disable sending all calls as anonymous)
 
# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: "0"         ; Default 0 (Disable blocking of anonymous calls)
 
# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)
call_waiting: "1"                 ; Default 1 (Call Waiting enabled)

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: "101"           ; Default 100
 
# XML file that specifies the dialplan desired
dial_template: "dialplan"

# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"

#Autocompletion During Dial (0-off, 1-on [default])
autocomplete: "1"

#Time Format (0-12hr, 1-24hr [default])
time_format_24hr: "0"


SkykingOH
Posts: 9675
Member Since:
2007-12-17
I deleted the link in your

I deleted the link in your post so as not to encourage other people to download copyrighted software.

What version is the phone running? When it boots you should be able to press the menu key and see the running software. I think it also says sccp or sip in the corner of the display.

This is not a complicated procedure. Reset the phone to default (do you know how to do this?? You have to hold a button down while power cycling, the procedure is in the link I sent you). Watch the log file on the trixbox as the phone tries to grab the load. The problem should be easy to spot.

All I have to do is grab a phone, reset it and it updates and runs.

More Resources:

http://www.cisco.com/univercd/cc/td/doc/product/voice/c_ipphon/en...

Reset Procedure overview:

http://www.cisco.com/en/US/products/hw/phones/ps379/products_tech...

--

Scott

aka "Skyking"



syntax24
Posts: 7
Member Since:
2011-11-20
alright, I'll work on it. I

alright, I'll work on it. I appreciate it Scott, and sorry about the link. I'd pay Cisco and get that $15 account I've read about, but it appears they have removed such an account. I'm just doing this for educational purposes and already bought a Microsoft Technet subscription for OS's/Software, so I just don't want to budget a full cisco account.

but like I said, I really appreciate the time you put into helping me troubleshoot. I'll post an update in the near future. I'm not giving up yet.



SkykingOH
Posts: 9675
Member Since:
2007-12-17
You can still buy Smartnet

You can still buy Smartnet on a single phone, the 79x0 and 79x1 phones are end of support, no new contracts being sold.

Cisco has an incredibly short life cycle for phones. Good for us in the secondary business.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.