Cisco Phone Not Registering

I’m new to FreePBX and I’m trying to register a Cisco CP-7821 phone (Active Load: sip78xx.10-1-1SR1-4) using a SEPXXXXXXXXXXXX.cnf.xml file (please see below). However, after power cycling the phone, it keeps displaying “Registering” and “Phone not registered”, and tftpd64’s log viewer displays errors about not finding certain files such as ITLSEPXXXXXXXXXXXX.tlv. I also tried including all of the firmware files from Cisco dot com (.sbn, .loads and .cnf.xml) but i get the same output. I have already created an extension in FreePBX and used this extension number and password and IP address for FreePBX in the .cnf.xml file. I’m not sure what the problem is but i’m guessing that either (1) my .cnf.xml file has errors; (2) I need to include additional files in my tftp directory; or (3) my password in FreePBX Extensions is too long for the Cisco phone (27293c572db3e898c19349aa53c5bb82)

My setup is as follows:

  • Host: Windows 10 (bind TFTP to 192.168.100.2)
  • Guest: FreePBX guest in a Hyper-V guest VM (172.28.18.89)
  • Hyper-v Virtual Ethernet Adapter: 172.28.18.81 (unbound interface?)
  • Switch: Cisco
  • Router: Huawei (192.168.100.1, disabled DHCP)
  • TFTP & DHCP server: tftpd64
  • Phone: CP-7821 (IP: 192.168.100.8, TFTP: 192.168.100.2)

I can’t afford the Endpoint Manager at this time, but I still want to learn how to register and use this phone with FreePBX.

Any assistance will be greatly appreciated.

<device>
  <fullConfig>true</fullConfig>
  <deviceProtocol>SIP</deviceProtocol>
  <devicePool>
    <dateTimeSetting>
      <dateTemplate>D/M/YA</dateTemplate>
      <timeZone>Atlantic Standard/Daylight Time</timeZone>
      <ntps>
        <ntp>
          <name>time.google.com</name>
          <ntpMode>unicast</ntpMode>
        </ntp>
      </ntps>
    </dateTimeSetting>
    <callManagerGroup>
      <members>
        <member priority="0">
          <callManager>
            <ports>
              <sipPort>5060</sipPort>
              <securedSipPort>5061</securedSipPort>
            </ports>
            <processNodeName>172.28.18.89</processNodeName>
          </callManager>
        </member>
      </members>
    </callManagerGroup>
  </devicePool>
  <!-- <vpnGroup>
    <mtu>1290</mtu>
    <failConnectTime>30</failConnectTime>
    <authMethod>0</authMethod>
    <pswdPersistent>1</pswdPersistent>
    <autoNetDetect>1</autoNetDetect>
    <enableHostIDCheck>0</enableHostIDCheck>
    <addresses>
      <url1></url1>
    </addresses>
    <credentials>
      <hashAlg>0</hashAlg>
      <certHash1></certHash1>
    </credentials>
  </vpnGroup> -->
  <sipProfile>
    <sipProxies>
      <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>false</rfc2543Hold>
      <callHoldRingback>1</callHoldRingback>
      <localCfwdEnable>true</localCfwdEnable>
      <semiAttendedTransfer>true</semiAttendedTransfer>
      <anonymousCallBlock>3</anonymousCallBlock>
      <callerIdBlocking>3</callerIdBlocking>
      <dndControl>0</dndControl>
      <remoteCcEnable>true</remoteCcEnable>
      <retainForwardInformation>false</retainForwardInformation>
      <uriDialingDisplayPreference>1</uriDialingDisplayPreference>
    </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>Phone</userInfo>
    </sipStack>
    <autoAnswerTimer>1</autoAnswerTimer>
    <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
    <autoAnswerOverride>true</autoAnswerOverride>
    <transferOnhookEnabled>true</transferOnhookEnabled>
    <enableVad>false</enableVad>
    <preferredCodec>none</preferredCodec>
    <dtmfAvtPayload>101</dtmfAvtPayload>
    <dtmfDbLevel>3</dtmfDbLevel>
    <dtmfOutofBand>avt</dtmfOutofBand>
    <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
    <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
    <kpml>0</kpml>
    <phoneLabel></phoneLabel>
    <stutterMsgWaiting>0</stutterMsgWaiting>
    <callStats>true</callStats>
    <offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
    <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
    <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
    <startMediaPort>16384</startMediaPort>
    <stopMediaPort>32766</stopMediaPort>
    <natEnabled>false</natEnabled>
    <natReceivedProcessing>false</natReceivedProcessing>
    <natAddress></natAddress>
    <sipLines>
      <line button="1" lineIndex="1">
        <featureID>9</featureID>
        <featureLabel></featureLabel>
        <proxy>USECALLMANAGER</proxy>
        <port>5060</port>
        <name>1004</name>
        <displayName></displayName>
        <autoAnswer>
          <autoAnswerEnabled>0</autoAnswerEnabled>
        </autoAnswer>
        <callWaiting>3</callWaiting>
        <authName></authName>
        <authPassword>27293c572db3e898c19349aa53c5bb82</authPassword>
        <contact></contact>
        <sharedLine>false</sharedLine>
        <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
        <messageWaitingAMWI>0</messageWaitingAMWI>
        <messagesNumber></messagesNumber>
        <ringSettingIdle>4</ringSettingIdle>
        <ringSettingActive>5</ringSettingActive>
        <forwardCallInfoDisplay>
          <callerName>true</callerName>
          <callerNumber>true</callerNumber>
          <redirectedNumber>false</redirectedNumber>
          <dialedNumber>true</dialedNumber>
        </forwardCallInfoDisplay>
        <maxNumCalls>5</maxNumCalls>
        <busyTrigger>4</busyTrigger>
      </line>
    </sipLines>
    <externalNumberMask></externalNumberMask>
    <voipControlPort>5060</voipControlPort>
    <dscpForAudio>184</dscpForAudio>
    <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
    <dialTemplate></dialTemplate>
    <softKeyFile></softKeyFile>
  </sipProfile>
  <MissedCallLoggingOption>1</MissedCallLoggingOption>
  <featurePolicyFile></featurePolicyFile>
  <commonProfile>
    <phonePassword></phonePassword>
    <backgroundImageAccess>true</backgroundImageAccess>
    <callLogBlfEnabled>2</callLogBlfEnabled>
  </commonProfile>
  <vendorConfig>
    <defaultWallpaperFile></defaultWallpaperFile>
    <disableSpeaker>false</disableSpeaker>
    <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
    <enableMuteFeature>false</enableMuteFeature>
    <enableGroupListen>true</enableGroupListen>
    <holdResumeKey>1</holdResumeKey>
    <recentsSoftKey>1</recentsSoftKey>
    <dfBit>1</dfBit>
    <pcPort>0</pcPort>
    <spanToPCPort>1</spanToPCPort>
    <garp>0</garp>
    <rtcp>1</rtcp>
    <videoRtcp>1</videoRtcp>
    <voiceVlanAccess>0</voiceVlanAccess>
    <videoCapability>1</videoCapability>
    <hideVideoByDefault>0</hideVideoByDefault>
    <separateMute>0</separateMute>
    <ciscoCamera>1</ciscoCamera>
    <usb1>1</usb1>
    <usb2>1</usb2>
    <usbClasses>0,1,2</usbClasses>
    <sdio>1</sdio>
    <wifi>1</wifi>
    <bluetooth>1</bluetooth>
    <bluetoothProfile>0,1</bluetoothProfile>
    <btpbap>0</btpbap>
    <bthfu>0</bthfu>
    <ehookEnable>0</ehookEnable>
    <autoSelectLineEnable>1</autoSelectLineEnable>
    <autoCallSelect>1</autoCallSelect>
    <incomingCallToastTimer>10</incomingCallToastTimer>
    <dialToneFromReleaseKey>0</dialToneFromReleaseKey>
    <joinAndDirectTransferPolicy>0</joinAndDirectTransferPolicy>
    <minimumRingVolume></minimumRingVolume>
    <simplifiedNewCall>0</simplifiedNewCall>
    <actionableAlert>0</actionableAlert>
    <showCallHistoryForSelectedLine>0</showCallHistoryForSelectedLine>
    <kemOneColumn>0</kemOneColumn>
    <lineMode>0</lineMode>
    <allCallsOnPrimary>0</allCallsOnPrimary>
    <softKeyControl>0</softKeyControl>
    <settingsAccess>1</settingsAccess>
    <webProtocol>0</webProtocol>
    <webAccess>0</webAccess>
    <webAdmin>1</webAdmin>
    <adminPassword></adminPassword>
    <sshAccess>0</sshAccess>
    <detectCMConnectionFailure>0</detectCMConnectionFailure>
    <g722CodecSupport>1</g722CodecSupport>
    <handsetWidebandEnable>2</handsetWidebandEnable>
    <headsetWidebandEnable>2</headsetWidebandEnable>
    <headsetWidebandUIControl>1</headsetWidebandUIControl>
    <handsetWidebandUIControl>1</handsetWidebandUIControl>
    <daysDisplayNotActive>1,7</daysDisplayNotActive>
    <displayOnTime>08:00</displayOnTime>
    <displayOnDuration>10:00</displayOnDuration>
    <displayIdleTimeout>00:10</displayIdleTimeout>
    <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
    <displayRefreshRate>0</displayRefreshRate>
    <daysBacklightNotActive>1,7</daysBacklightNotActive>
    <backlightOnTime>08:00</backlightOnTime>
    <backlightOnDuration>10:00</backlightOnDuration>
    <backlightIdleTimeout>00:10</backlightIdleTimeout>
    <backlightOnWhenIncomingCall>1</backlightOnWhenIncomingCall>
    <recordingTone>0</recordingTone>
    <recordingToneLocalVolume>100</recordingToneLocalVolume>
    <recordingToneRemoteVolume>50</recordingToneRemoteVolume>
    <recordingToneDuration></recordingToneDuration>
    <moreKeyReversionTimer>5</moreKeyReversionTimer>
    <peerFirmwareSharing>0</peerFirmwareSharing>
    <loadServer></loadServer>
    <problemReportUploadURL></problemReportUploadURL>
    <enableCdpSwPort>1</enableCdpSwPort>
    <enableCdpPcPort>0</enableCdpPcPort>
    <enableLldpSwPort>1</enableLldpSwPort>
    <enableLldpPcPort>0</enableLldpPcPort>
    <cdpEnable>true</cdpEnable>
    <outOfRangeAlert>0</outOfRangeAlert>
    <scanningMode>2</scanningMode>
    <applicationURL></applicationURL>
    <appButtonTimer>0</appButtonTimer>
    <appButtonPriority>0</appButtonPriority>
    <specialNumbers></specialNumbers>
    <sendKeyAction>0</sendKeyAction>
    <powerOffWhenCharging>0</powerOffWhenCharging>
    <homeScreen>0</homeScreen>
    <accessContacts>1</accessContacts>
    <accessFavorites>1</accessFavorites>
    <accessVoicemail>1</accessVoicemail>
    <accessApps>1</accessApps>
  </vendorConfig>
  <versionStamp>d902ed5a-c1e5-4233-b1d6-a960d53d1c3a</versionStamp>
  <loadInformation></loadInformation>
  <!-- <addOnModules>
    <addOnModule idx="1">
      <deviceType></deviceType>
      <deviceLine></deviceLine>
      <loadInformation></loadInformation>
    </addOnModule>
  </addOnModules> -->
  <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>
  </phoneServices>
  <userLocale>
    <name>English_United_States</name>
    <uid>1</uid>
    <langCode></langCode>
    <version></version>
    <winCharSet>utf-8</winCharSet>
  </userLocale>
  <networkLocale></networkLocale>
  <networkLocaleInfo>
    <name>English_United_States</name>
    <version></version>
  </networkLocaleInfo>
  <deviceSecurityMode>1</deviceSecurityMode>
  <idleTimeout>0</idleTimeout>
  <authenticationURL></authenticationURL>
  <messagesURL></messagesURL>
  <servicesURL></servicesURL>
  <directoryURL></directoryURL>
  <idleURL></idleURL>
  <informationURL></informationURL>
  <proxyServerURL></proxyServerURL>
  <secureAuthenticationURL></secureAuthenticationURL>
  <secureMessagesURL></secureMessagesURL>
  <secureServicesURL></secureServicesURL>
  <secureDirectoryURL></secureDirectoryURL>
  <secureInformationURL></secureInformationURL>
  <secureIdleURL></secureIdleURL>
  <transportLayerProtocol>1</transportLayerProtocol>
  <TLSResumptionTimer>3600</TLSResumptionTimer>
  <phonePersonalization>1</phonePersonalization>
  <autoCallPickupEnable>true</autoCallPickupEnable>
  <blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
  <blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
  <dndCallAlert>1</dndCallAlert>
  <dndReminderTimer>5</dndReminderTimer>
  <advertiseG722Codec>1</advertiseG722Codec>
  <rollover>0</rollover>
  <joinAcrossLines>0</joinAcrossLines>
  <capfAuthMode>0</capfAuthMode>
  <capfList></capfList>
  <certHash></certHash>
  <encrConfig>false</encrConfig>
  <sshUserId></sshUserId>
  <sshPassword></sshPassword>
</device>

You claim to not be able to afford $149 for EPM yet you want to use Cisco phones that cost nearly that much each?
Recommended Assistance: Buy EPM if that phone is a supported phone.

Thank you for your reply. The cisco phone was loaned to me in order to learn how to do this. Previously i was using softphones like 3CX and X-lite.

That’s a cruel trick to play on anyone, especially someone new.

The Cisco 79xx phones are the most challenging phones there are to get working with SIP. As i recently said in another thread, I wouldn’t use one of these to beat a hobo to death with.

If you want something that allows the phones to work with the native SEPMAC configurations, you can install Chan-SCCP-B from GitHub. This is not a “first time SIP PBX” kind of installation, but once you’ve got your feet under you, it’s an interesting project.

I get and use Cisco phones all the time. They usually sell for about 80 cents a pound because they are so hard to use with anything except CallManager. Mine stay in Skinny mode and I get excellent functionality out of them.

I use Chan-SCCP-B (and work with and advocate for it) with my own phone installations. I like the phones and they have a reputation of being a tough, hard-working phone. That said, I do NOT recommend them to people that have a lot of quit in them already. They will try your patience - one misplaced letter in any config file, and you’ll be searching for days trying to figure it out. I literally spent a month searching for a comma in an IP address…

You are going to need an Option 66 specifically for the Cisco to work in your TFTPd configuration.

Other than that, it’s just going to be trying to figure out the hundred of little issues, and then they phones don’t work like Cisco phones once they are connected.

So - recommendation is to choose one of the following:

  1. Don’t start down the path of Madness with the Cisco phone. Get a different, cheap, Chinese knock-off (PY-90 phones are about $20 apiece).
  2. Don’t try to use the Cisco phone with the crippled SIP load. Stay with Skinny mode and work your way through installing Chan-SCCP-B.

Either way, we’re here to help.

1 Like

I sent you a PM, as you can see you are not going to get much help here.

1 Like

Here we go with the constructive answers. The first reply and you call the guy a liar. The attitude sometimes on this forum is combative.

1 Like

I never called him a liar. Try reading it again.

Had he said he received a phone for free in the initial post, I would have answered differently.
Though the answer would have then been to return the phone and use something that is designed to work with SIP.

Also, he has posted across multiple sites and still cannot make this work.

You are correct, you never used the word liar. But you did in fact question the validity of his statement unnecessarily. It was also unnecessary for you to follow him over to spice works to continue your unpleasantness. But I think the down votes over there might give you a clue.

I wish the moderators of this forum would realize that this drives good people away. They come here for help and get harassed because they don’t have the answer to their question already.

Oh, and another thing the EPM doesn’t even support that phone so not only was your comment unnecessary it was bad advice.

1 Like

Do you have some agenda here? Because again, if you read what I wrote, it clearly states if.

@sorvani @Ami_mac @cynjut

Well…a forum patron reported a thread in this post.

So, let’s all stop. If someone wants to use Cisco phones that is their right. Let’s respect that and respect those who wish to do so.

@Ami_mac please stop private messaging people about your Cisco configs. I know you are trying to help and I appreciate that but it doesn’t help the community in any way to private message individuals with your solutions because you are mad or frustrated at other users.

@sorvani @cynjut Please take a step back and see how some of your responses can come off as demeaning to new users. Not everyone has the level of expertise that you two do and you must take that into account when you reply to new users.

We do realize this and it is draining. But please do not think that private messaging users to tell them how awful others are and then sharing your private configurations with those users instead of the community at large is any better, messaging users privately with good information also drives good people away because they don’t see any good.

Every single user (except @helpme123) has something to learn from this thread. I hope you all see that and take some constructive criticism and use it in your future posts.

3 Likes