Cannot get 7941g to register have been trying for days. please help

This is the error i see in the console.
acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
[2016-05-27 00:05:12] DEBUG[1796]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting ‘localhost.localdomain’ into…
[2016-05-27 00:05:12] DEBUG[1796]: netsock2.c:226 ast_sockaddr_split_hostport: …host ‘localhost.localdomain’ and port ‘’.
[2016-05-27 00:05:12] DEBUG[1796]: acl.c:795 resolve_first: Multiple addresses. Using the first only
[2016-05-27 00:05:12] DEBUG[1796]: acl.c:958 ast_find_ourip: Not an IPv4 nor IPv6 address, cannot get port.
[2016-05-27 00:05:12] DEBUG[1796]: acl.c:963 ast_find_ourip: Attached to given IP address
[2016-05-27 00:05:12] DEBUG[2124]: manager.c:5693 match_filter: Examining AMI
[/hide]

this is my config

<device> 
   <deviceProtocol>SIP</deviceProtocol> 
   <sshUserId>cisco</sshUserId> 
   <sshPassword>cisco</sshPassword> 
   <devicePool> 
      <dateTimeSetting>
         <dateTemplate>D-M-YA:HH:MM</dateTemplate>
         <timeZone>XXX.XXX.XXX.XXX</timeZone>
         <ntps>
              <ntp>
                   <name>ntp.myfloridacity.us</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>192.168.1.10</processNodeName> 
               </callManager> 
            </member> 
         </members> 
      </callManagerGroup> 
   </devicePool> 
   <sipProfile> 
      <sipProxies> 
         <backupProxy>192.168.1.10</backupProxy> 
         <backupProxyPort>5060</backupProxyPort> 
         <emergencyProxy>192.168.1.10</emergencyProxy> 
         <emergencyProxyPort>5060</emergencyProxyPort> 
         <outboundProxy>192.168.1.10</outboundProxy> 
         <outboundProxyPort>5060</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>false</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> 
      <phoneLabel></phoneLabel> 
      <stutterMsgWaiting>1</stutterMsgWaiting> 
      <callStats>false</callStats> 
      <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts> 
      <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig> 
      <sipLines> 
         <line button="1"> 
            <featureID>9</featureID> 
            <featureLabel>101</featureLabel> 
            <proxy>USECALLMANAGER</proxy> 
            <port>5060</port> 
            <name>101</name> 
            <displayName>101</displayName> 
            <autoAnswer> 
               <autoAnswerEnabled>2</autoAnswerEnabled> 
            </autoAnswer> 
            <callWaiting>3</callWaiting> 
            <authName>101</authName> 
            <authPassword>123456789</authPassword> 
            <sharedLine>false</sharedLine> 
            <messageWaitingLampPolicy>1</messageWaitingLampPolicy> 
            <messagesNumber>*97</messagesNumber> 
            <ringSettingIdle>4</ringSettingIdle> 
            <ringSettingActive>5</ringSettingActive> 
            <contact>101</contact> 
            <forwardCallInfoDisplay> 
               <callerName>true</callerName> 
               <callerNumber>false</callerNumber> 
               <redirectedNumber>false</redirectedNumber> 
               <dialedNumber>true</dialedNumber> 
            </forwardCallInfoDisplay> 
         </line>
      </sipLines> 
      <voipControlPort>5060</voipControlPort> 
      <startMediaPort>16348</startMediaPort> 
      <stopMediaPort>20134</stopMediaPort> 
      <dscpForAudio>184</dscpForAudio> 
      <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy> 
      <dialTemplate>dialplan.xml</dialTemplate> 
      <softKeyFile></softKeyFile> 
   </sipProfile> 
   <commonProfile> 
      <phonePassword></phonePassword> 
      <backgroundImageAccess>true</backgroundImageAccess> 
      <callLogBlfEnabled>2</callLogBlfEnabled> 
   </commonProfile> 
   <loadInformation>SIP41.9-3-1SR4-1S</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>00:00</displayOnTime> 
      <displayOnDuration>00:00</displayOnDuration> 
      <displayIdleTimeout>00:00</displayIdleTimeout> 
      <spanToPCPort>1</spanToPCPort> 
      <loggingDisplay>1</loggingDisplay> 
      <loadServer></loadServer> 
   </vendorConfig> 
   <userLocale> 
      <name></name> 
      <uid></uid> 
      <langCode>en_US</langCode> 
      <version>1.0.0.0-1</version> 
      <winCharSet>iso-8859-1</winCharSet> 
   </userLocale> 
   <networkLocale></networkLocale> 
   <networkLocaleInfo> 
      <name></name> 
      <uid></uid> 
      <version>1.0.0.0-1</version> 
   </networkLocaleInfo>    
   <deviceSecurityMode>1</deviceSecurityMode> 
   <authenticationURL></authenticationURL> 
   <directoryURL></directoryURL> 
   <servicesURL></servicesURL> 
   <idleURL></idleURL> 
   <informationURL></informationURL> 
   <messagesURL></messagesURL> 
   <proxyServerURL></proxyServerURL> 
   <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> 
</device>

Where to begin…

First, try running “xmlllint” on your config file. Make sure the XML is correct before and after every set of changes.If there is a single XML error, the phone will reject the file with the error “Loading CMList”.

Second, it would be useful for us to see the /var/log/asterisk/full output for one of the log-in attempts.

Third, I don’t see which version of FreePBX you are running, but in the newer versions, Chan-SIP uses port 5061 and PJ-SIP uses 5060. See below.

is not a valid Timezone.

should be an address instead of a DNS name. Note that it might work sometimes, but I wouldn’t guarantee it.

I don’t think you are probably using a secured SIP socket on 5061. I suspect you are probably using Chan-SIP on 5061 (as that is the standard location for it now). Port 5060 is PJ-SIP and will (the horror) become the standard someday. :smile:

is for SCCP phones only. Don’t include it unless you are using SCCP. Obligatory plug: Chan-SCCP-B from SourceForge supports this phone in native, uncrippled SCCP mode. See my other posts ad nausium about the advantage of using Chan-SCCP-B over Chan-SIP or PJ-SIP with the 79XX phones.

All of these are for Proxies - I doubt you are actually using proxies for your SIP connection.

[quote=“gsfesz, post:1, topic:35147”]
<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>
[/quote]

The ones of these that are URIs should probably be URIs, especially since you are specifically NOT using CallManager.

IIRC, “USECALLMANAGER” is a SCCP-only setting. I believe this needs to be an IP Address. Also, since I don’t think you are actually using proxies, I don’t think the setting is useful.

You’ve turned off the display (off on all days) and in the next stanza, you turn on the display. I doubt it’s a problem, it’s just inconsistent.

The SIP image only supports 8 character passwords. This is the other reason I recommend Chan-SCCP-B.

I’m no expert when it comes to SIP-imaged Cisco phones, so some of the things I pointed out may not be completely accurate. On the other hand, I use Cisco phones almost exclusively, so I’ve had to at least understand what the SIP ones are trying to do.

I figured it out!!

I needed to switch all of the ports on my config to 5061 and between the proxy tags “USECALLMANAGER” must be used on the 9 firmware.