Cisco 7975G Stuck on “Registering” When Connecting to FreePBX via SEP XML

If you can help, I would really appreciate it. I’ve been struggling with this a lot.

I want to register a Cisco 7975G in FreePBX using the SEPxxxxxx.xml file method. I have tried many scripts, and now the phone shows the number and name on the screen, but it stays stuck on “Registering” and does not proceed further.

I created this configuration for SIP, and the phone is also running SIP firmware.
If you know the correct method or can guide me to fix this issue, I would be very grateful.

Using PJSIP or CHAN?

Without having all the details, if using PJSIP in Extensions>Advanced setting:

Rewrite Contact = No

Force Rport = No

The following is the SEPMAC file for my Cisco model 7961G with a 7914 sidecar. You can remove the parts of the config for the sidecar since you don’t have one. The 7961G and 7975G are a similar model line.

$ cat SEP001F6C81328D.cnf.xml

<?xml version="1.0" encoding="UTF-8"?>

<device>
    <fullConfig>true</fullConfig>
    <deviceProtocol>SIP</deviceProtocol>
    <ipAddressMode>0</ipAddressMode>
    <sshUserId>cisco</sshUserId>
    <sshPassword>cisco</sshPassword>
    <devicePool>
        <dateTimeSetting>
            <dateTemplate>M/D/YA</dateTemplate>
            <timeZone>Pacific Standard/Daylight Time</timeZone>
                <ntps>
                    <ntp>
                        <name>172.16.1.1</name>
                        <ntpMode>unicast</ntpMode>
                    </ntp>
                </ntps>
        </dateTimeSetting>
        <callManagerGroup>
            <members>
                <member priority="0">
                    <callManager>
                        <name>172.16.1.16</name>
                        <description>FreePBX</description>
                        <ports>
                            <ethernetPhonePort>2000</ethernetPhonePort>
                            <sipPort>5160</sipPort>
                            <securedSipPort>5061</securedSipPort>
                        </ports>
                        <processNodeName>172.16.1.16</processNodeName>
                    </callManager>
                </member>
            </members>
        </callManagerGroup>
        <connectionMonitorDuration>120</connectionMonitorDuration>
    </devicePool>
    <commonProfile>
        <phonePassword>cisco</phonePassword>
        <backgroundImageAccess>true</backgroundImageAccess>
        <callLogBlfEnabled>1</callLogBlfEnabled>
    </commonProfile>
    <loadInformation model="IP Phone 7961">SIP41.9-4-2SR3-1S</loadInformation>
<addOnModules>
    <addOnModule idx="1">
    <loadInformation model="Addon 7914">S00105000400</loadInformation>
    </addOnModule>
</addOnModules>
<vendorConfig>
    <disableSpeaker>false</disableSpeaker>
    <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
    <pcPort>0</pcPort>
    <settingsAccess>1</settingsAccess>
    <garp>0</garp>
    <voiceVlanAccess>0</voiceVlanAccess>
    <g722CodecSupport>2</g722CodecSupport>
    <handsetWidebandEnable>1</handsetWidebandEnable>
    <headsetWidebandEnable>0</headsetWidebandEnable>
    <headsetWidebandUIControl>0</headsetWidebandUIControl>
    <handsetWidebandUIControl>0</handsetWidebandUIControl>
    <videoCapability>0</videoCapability>
    <autoSelectLineEnable>0</autoSelectLineEnable>
    <daysDisplayNotActive></daysDisplayNotActive>
    <displayOnTime></displayOnTime>
    <displayOnDuration></displayOnDuration>
    <displayIdleTimeout>00:05</displayIdleTimeout>
    <webAccess>0</webAccess>
    <spanToPCPort>0</spanToPCPort>
    <loggingDisplay>1</loggingDisplay>
    <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
    <loadServer></loadServer>
    <sshAccess>0</sshAccess>
    <sshPort>22</sshPort>
</vendorConfig>
<phoneServices useHTTPS="false">
    <provisioning>2</provisioning>
    <phoneService type="1" category="0">
      <name>Missed Calls</name>
      <url>Application:Cisco/MissedCalls</url>
      <vendor></vendor>
      <version></version>
    </phoneService>
    <phoneService type="1" category="0">
      <name>Received Calls</name>
      <url>Application:Cisco/ReceivedCalls</url>
      <vendor></vendor>
      <version></version>
    </phoneService>
    <phoneService type="1" category="0">
      <name>Placed Calls</name>
      <url>Application:Cisco/PlacedCalls</url>
      <vendor></vendor>
      <version></version>
    </phoneService>
    <phoneService  type="2" category="0">
      <name>Voicemail</name>
      <url>Application:Cisco/Voicemail</url>
      <vendor></vendor>
      <version></version>
    </phoneService>
    <phoneService type="1" category="0">
      <name>Contacts</name>
      <url>http://phony.xxxx.com/cisco/directory.xml</url>
      <vendor></vendor>
      <version></version>
    </phoneService>
  </phoneServices>
    <userLocale>
        <name>English_United_States</name>
        <uid>1</uid>
        <langCode>en_US</langCode>
        <version>1.0.0.0-1</version>
        <winCharSet>utf-8</winCharSet>
    </userLocale>
    <networkLocale>United_States</networkLocale>
    <networkLocaleInfo>
        <name>United_States</name>
        <version>1.0.0.0-1</version>
    </networkLocaleInfo>
    <deviceSecurityMode>1</deviceSecurityMode>
    <authenticationURL></authenticationURL>
    <directory></directory>
    <idleTimeout>0</idleTimeout>
    <idleURL></idleURL>
    <informationURL></informationURL>
    <messagesURL></messagesURL>
    <proxyServerURL></proxyServerURL>
    <servicesURL></servicesURL>
    <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
    <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
    <dscpForCm2Dvce>96</dscpForCm2Dvce>
    <transportLayerProtocol>1</transportLayerProtocol>
    <dndCallAlert>5</dndCallAlert>
    <capfAuthMode>0</capfAuthMode>
    <capfList>
        <capf>
            <phonePort>3804</phonePort>
        </capf>
    </capfList>
    <certHash></certHash>
    <encrConfig>false</encrConfig>
    <sipProfile>
        <sipProxies>
            <backupProxy></backupProxy>
            <backupProxyPort></backupProxyPort>
            <emergencyProxy></emergencyProxy>
            <emergencyProxyPort></emergencyProxyPort>
            <outboundProxy></outboundProxy>
            <outboundProxyPort></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-bbrdial</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>0</autoAnswerTimer>
        <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
        <autoAnswerOverride>true</autoAnswerOverride>
        <transferOnhookEnabled>true</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>
        <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>softkeys.xml</softKeyFile>
        <phoneLabel>823</phoneLabel>
        <natEnabled>true</natEnabled>
        <natAddress></natAddress>
        <sipLines>
            <line button="1">
                <featureID>9</featureID>
                <featureLabel>823 TV Room</featureLabel>
                <name>823</name>
                <displayName>823</displayName>
                <contact>823</contact>
                <proxy>USECALLMANAGER</proxy>
                <port>5160</port>
                <autoAnswer>
                    <autoAnswerEnabled>0</autoAnswerEnabled>
                </autoAnswer>
                <callWaiting>1</callWaiting>
                <authName>823</authName>
                <authPassword>29129ca3</authPassword>
                <sharedLine>false</sharedLine>
                <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
                <messagesNumber>*98</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>130</featureID>
        <featureLabel>DND</featureLabel>
      </line>
      <line button="3">
        <featureID>4</featureID>
        <featureLabel>Transfer</featureLabel>
      </line>
      <line button="4">
        <featureID>21</featureID>
        <featureLabel>803 Laptop</featureLabel>
        <speedDialNumber>803</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="5">
        <featureID>21</featureID>
        <featureLabel>804 Mobile</featureLabel>
        <speedDialNumber>804</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="6">
        <featureID>21</featureID>
        <featureLabel>805 PCS</featureLabel>
        <speedDialNumber>805</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="7">
        <featureID>21</featureID>
        <featureLabel>821 Master BR</featureLabel>
        <speedDialNumber>821</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="8">
        <featureID>21</featureID>
        <featureLabel>822 Basement BR</featureLabel>
        <speedDialNumber>822</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="9">
        <featureID>21</featureID>
        <featureLabel>824 Sunset BR</featureLabel>
        <speedDialNumber>824</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="10">
        <featureID>21</featureID>
        <featureLabel>825 Shop</featureLabel>
        <speedDialNumber>825</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="11">
        <featureID>21</featureID>
        <featureLabel>826 Garage</featureLabel>
        <speedDialNumber>826</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
      <line button="12">
        <featureID>21</featureID>
        <featureLabel>827 Main House</featureLabel>
        <speedDialNumber>827</speedDialNumber>
        <featureOptionMask>1</featureOptionMask>
      </line>
            </sipLines>
    </sipProfile>
</device>
$

I have not found this to be needed in chap_pjsip for the Cisco phones for Asterisk 22. This most definitely USED to be required in older Asterisk/FreePBX versions. I don’t know if it’s something I changed in the SEPMAC file or not.

Thank you
solved the issue

@faizi Glad that worked, do you mind marking this as solved with solution, to help others in the future?