SIP configuration on cisco 7975

I’m not sure if the TFTP request worked, under that space it just went back to the main root@freepbx,
I am unsure of where to go to check the log files.

image

/var/log/messages

Of course, lots of other stuff gets logged there. Look for entries mentioning tftp.

How does your 7975 xml config file look like?
Here is mine…but be careful, these are German/Austrian settings…anyway you get the idea :wink:
EDIT: this is a patched Asterisk…cisco-usecallmanager.patch

<?xml version="1.0" encoding="UTF-8"?>
<device>
    <fullConfig>true</fullConfig>
    <deviceProtocol>SIP</deviceProtocol>
    <sshUserId>admin</sshUserId>
    <sshPassword>xxx</sshPassword>
    <devicePool>
        <dateTimeSetting>
            <dateTemplate>D.M.Y</dateTemplate>
            <timeZone>W. Europe Standard/Daylight Time</timeZone>
            <ntps>
                <ntp>
                    <name>131.234.137.23</name>
      				<ntpMode>unicast</ntpMode>
    			</ntp>
    			<ntp>
      				<name>192.53.103.108</name>
      				<ntpMode>unicast</ntpMode>
    			</ntp>
            </ntps>
        </dateTimeSetting>
        <callManagerGroup>
            <members>
                <member priority="0">
                    <callManager>
                        <name>192.168.0.34</name>
						<description>asterisk</description>
                        <ports>
                            <ethernetPhonePort>2000</ethernetPhonePort>
                            <sipPort>5160</sipPort>
                            <securedSipPort>5061</securedSipPort>
                        </ports>
                        <processNodeName>192.168.0.34</processNodeName>
                    </callManager>
                </member>
            </members>
        </callManagerGroup>
		<srstInfo  uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
			<srstOption>Disable</srstOption>
			<ipAddr1></ipAddr1>
			<port1>2000</port1>
			<ipAddr2></ipAddr2>
			<port2>2000</port2>
			<ipAddr3></ipAddr3>
			<port3>2000</port3>
			<sipIpAddr1></sipIpAddr1>
			<sipPort1>5160</sipPort1>
			<sipIpAddr2></sipIpAddr2>
			<sipPort2>5160</sipPort2>
			<sipIpAddr3></sipIpAddr3>
			<sipPort3>5160</sipPort3>
			<isSecure>false</isSecure>
		</srstInfo>
		<connectionMonitorDuration>120</connectionMonitorDuration>
	</devicePool>
    <commonProfile>
        <phonePassword></phonePassword>
        <backgroundImageAccess>true</backgroundImageAccess>
        <callLogBlfEnabled>1</callLogBlfEnabled>
    </commonProfile>
    <loadInformation>SIP75.9-4-2SR4-3S</loadInformation>
    <vendorConfig>
        <disableSpeaker>false</disableSpeaker>
        <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
        <pcPort>0</pcPort>
        <settingsAccess>1</settingsAccess>
        <garp>0</garp>
        <voiceVlanAccess>0</voiceVlanAccess>
        <g722CodecSupport>0</g722CodecSupport>
        <handsetWidebandEnable>0</handsetWidebandEnable>
        <headsetWidebandEnable>0</headsetWidebandEnable>
        <headsetWidebandUIControl>1</headsetWidebandUIControl>
        <handsetWidebandUIControl>1</handsetWidebandUIControl>
        <videoCapability>0</videoCapability>
        <autoSelectLineEnable>0</autoSelectLineEnable>
        <daysDisplayNotActive>1,2,3,4,5,6,7</daysDisplayNotActive>
        <displayOnTime></displayOnTime>
        <displayOnDuration></displayOnDuration>
        <displayIdleTimeout>00:05</displayIdleTimeout>
        <webAccess>0</webAccess>
        <spanToPCPort>0</spanToPCPort>
        <loggingDisplay>1</loggingDisplay>
        <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
        <loadServer></loadServer>
    </vendorConfig>
    <userLocale>
        <name>German_Germany</name>
        <uid></uid>
        <langCode>de</langCode>
        <version></version>
        <winCharSet>ISO-8859-1</winCharSet>
    </userLocale>
    <networkLocale>Austria</networkLocale>
    <networkLocaleInfo>
        <name>Austria</name>
        <version></version>
    </networkLocaleInfo>
    <deviceSecurityMode>1</deviceSecurityMode>
    <authenticationURL>http://192.168.0.34/cisco/services/authentication.php</authenticationURL>
    <directoryURL>http://192.168.0.34/xmlservices/index2.php</directoryURL>
    <idleTimeout>0</idleTimeout>
    <idleURL></idleURL>
    <informationURL>http://192.168.0.34/xmlservices/help.php</informationURL>
    <messagesURL></messagesURL>
    <proxyServerURL></proxyServerURL>
    <servicesURL>http://192.168.0.34/xmlservices/index.php</servicesURL>
    <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
    <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
    <dscpForCm2Dvce>96</dscpForCm2Dvce>
    <transportLayerProtocol>4</transportLayerProtocol>
    <dndCallAlert>5</dndCallAlert>
    <capfAuthMode>0</capfAuthMode>
    <capfList>
        <capf>
            <phonePort>3804</phonePort>
        </capf>
    </capfList>
    <certHash></certHash>
    <encrConfig>false</encrConfig>
    <sipProfile>
        <sipProxies>
            <backupProxy></backupProxy>
            <backupProxyPort>5160</backupProxyPort>
            <emergencyProxy></emergencyProxy>
            <emergencyProxyPort>5160</emergencyProxyPort>
            <outboundProxy></outboundProxy>
            <outboundProxyPort>5160</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>true</rfc2543Hold>
            <callHoldRingback>2</callHoldRingback>
            <localCfwdEnable>false</localCfwdEnable>
            <semiAttendedTransfer>true</semiAttendedTransfer>
            <anonymousCallBlock>2</anonymousCallBlock>
            <callerIdBlocking>0</callerIdBlocking>
            <dndControl>0</dndControl>
            <remoteCcEnable>true</remoteCcEnable>
        </sipCallFeatures>
        <sipStack>
            <sipInviteRetx>6</sipInviteRetx>
            <sipRetx>10</sipRetx>
            <timerInviteExpires>180</timerInviteExpires>
            <timerRegisterExpires>1200</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>true</transferOnhookEnabled>
        <enableVad>false</enableVad>
        <preferredCodec>g722</preferredCodec>
        <dtmfAvtPayload>101</dtmfAvtPayload>
        <dtmfDbLevel>3</dtmfDbLevel>
        <dtmfOutofBand>avt</dtmfOutofBand>
        <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
        <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
        <kpml>3</kpml>
        <stutterMsgWaiting>0</stutterMsgWaiting>
        <callStats>false</callStats>
        <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
        <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
        <startMediaPort>16384</startMediaPort>
        <stopMediaPort>32766</stopMediaPort>
        <voipControlPort>5160</voipControlPort>
        <dscpForAudio>184</dscpForAudio>
        <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
        <dialTemplate>dialplan.xml</dialTemplate>
        <softKeyFile>softkeys1.xml</softKeyFile>
        <phoneLabel>myphone</phoneLabel>
        <natEnabled></natEnabled>
        <sipLines>
            <line button="1">
                <featureID>9</featureID>
                <featureLabel>Line 1</featureLabel>
                <name>21</name>
                <displayName>21</displayName>
                <contact>21</contact>
                <proxy>USECALLMANAGER</proxy>
                <port>5160</port>
                <autoAnswer>
                    <autoAnswerEnabled>2</autoAnswerEnabled>
                </autoAnswer>
                <callWaiting>1</callWaiting>
                <authName>21</authName>
                <authPassword>xxxxxx</authPassword>
                <sharedLine>false</sharedLine>
                <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
                <messagesNumber>*9811</messagesNumber>
                <ringSettingIdle>4</ringSettingIdle>
                <ringSettingActive>5</ringSettingActive>
                <forwardCallInfoDisplay>
                    <callerName>true</callerName>
                    <callerNumber>false</callerNumber>
                    <redirectedNumber>false</redirectedNumber>
                    <dialedNumber>true</dialedNumber>
                </forwardCallInfoDisplay>
            </line>
            <line button="2">
			<featureID>21</featureID>
        	<featureLabel>KUECHE</featureLabel>
        	<speedDialNumber>11</speedDialNumber>
        	<featureOptionMask>1</featureOptionMask>
        	</line>
			<line button="3">
			<featureID>21</featureID>
        	<featureLabel>EG</featureLabel>
        	<speedDialNumber>12</speedDialNumber>
        	<featureOptionMask>1</featureOptionMask>
        	</line>
			<line button="4">
			<featureID>21</featureID>
        	<featureLabel>BUERO</featureLabel>
        	<speedDialNumber>14</speedDialNumber>
        	<featureOptionMask>1</featureOptionMask>
        	</line>
        	<line button="5">
			<featureID>21</featureID>
        	<featureLabel>ABC</featureLabel>
        	<speedDialNumber>15</speedDialNumber>
        	<featureOptionMask>1</featureOptionMask>
          	</line>
         	<line button="6">
			<featureID>21</featureID>
        	<featureLabel>DEF</featureLabel>
        	<speedDialNumber>17</speedDialNumber>
        	<featureOptionMask>1</featureOptionMask>
          	</line>         	
          	<line button="7">
         	<featureID>20</featureID>
         	<featureLabel>KAMERA</featureLabel>
         	<serviceURI>http://192.168.0.34/xmlservices/cam.php</serviceURI>
         	</line>
         	<line button="8">
			<featureID>20</featureID>
        	<featureLabel>HAUSTOR ÖFFNEN</featureLabel>
			<serviceURI>http://192.168.0.34/xmlservices/open-door-15.php</serviceURI>
        	</line>
        </sipLines>
    </sipProfile>

</device>

I posted the xml config on the main post, mine looks just about the same obviously with some time zone changes and whatnot

Don’t worry about the contents of the config file, until you have shown that the phone is successfully fetching it. What do you see in /var/log/messages ?

Do I have to be on the box itself in order to view it or am I able to view it on the browser?

Not in the browser, but assuming that there is no firewall blocking access to the box from your PC, you can connect to the PBX command line with SSH. For Linux or Mac, use the built-in ssh command. For Windows, you must first install an SSH client; PuTTY is most popular
https://www.putty.org/

I dont see anything for it fetching the config, I dont have the tftp setup on the pbx server or the files on the server for it to pull it

If you installed the Distro, I believe that the file
/usr/sbin/in.tftpd
should be already present. To enable it, edit
/etc/xinetd.d/tftp
to contain

# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -v  -s /tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

then restart xinetd:
killall -HUP xinetd
and tftpd should be working. Put your file(s) in
/tftpboot

Test using the tftp command, then try from the phone.

So I found that it did actually have the config file, its in the root directory so I enabled and moved over the whole cmterm folder to the tftp file, I will edit with updates

EDIT: I took the files out of the folder cause the phone couldnt find them, it is now trying to reconfigure itself on its own ip address and not doing anything, it errored and restarted, it did pull the config file from tftp but is still blank with no ext or correct time

It failed on pulling the dialplan (I forgot to transfer it), locale and sip75.9-4-2SR3-1s but it did get the extension

So does anything appear in the Asterisk log when it attempts to register?

Why are your Cisco config files in the root directory? Did you copy them? Do you use EPM?
Is this a freePBX distro?

When I was enabling the tftp server I saw that it had the config files in there, I moved all of them into the base tftpboot directory, I dont know what EPM is and yes this is the distro

I’m not sure, I see some activity from the logs regarding the phone

Here is the errors on the phone

5:42:30p No Trust List Installed
5:43:01p SEP40F4ECEEEC42.cnf.xml(TFTP)
5:44:05p Time zone data download failed
5:45:07p Error Updating Locale
5:45:08p Error Updating Locale
5:45:39p TFTP Error : dialplan.xml
5:46:10p TFTP Error : softKey9971.xml
5:50:42p No Trust List Installed
5:51:12p SEP40F4ECEEEC42.cnf.xml(TFTP)
5:52:16p Time zone data download failed

So your Cisco ist able to download the config file, but the config file is not the right one. And you need additional config files.

How would I fix the main config file? I also think I got the missing files figured out but waiting on the phone to restart

Can confirm DialPlan is fixed, I am also getting a 802.1x auth timeout error
I think I got the softkey fixed, it was a change in the config file

Here is an update on the errors I am getting, also there is times that it will show lines and sometimes it wont, it shows them during the registration period

||6:07:44a No Trust List Installed|
||6:08:15a SEP40F4ECEEEC42.cnf.xml(TFTP)|
||6:09:19a Time zone data download failed|
||6:10:22a Error Updating Locale|
||6:10:22a Error Updating Locale|
||6:16:11a No Trust List Installed|
||6:16:42a SEP40F4ECEEEC42.cnf.xml(TFTP)|
||6:17:46a Time zone data download failed|
||6:18:48a Error Updating Locale|
||6:18:48a Error Updating Locale|

Using a Cisco 7975 with Asterisk = pain, lots of pain
Here is one method, but patching Asterisk works differently in freePBX!

https://usecallmanager.nz/sepmac-cnf-xml.html

I don’t know whether the time or local errors are causing trouble (I think not), but try removing the tzdata and olsonTimeZone sections, and setting dateTemplate and timeZone according to
https://usecallmanager.nz/sepmac-cnf-xml.html
With luck, this may display the correct time and/or remove some of the errors.

Whether or not that helps, you really need to capture traffic from the phone to see whether it is attempting to register and if yes, why the requests aren’t being seen by the PBX.