cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2706
Views
0
Helpful
17
Replies

Registering IP Phones with CME

Moatazmcitp
Level 1
Level 1

Dear Friends

 

I just got my CCNA RS and decided to go for CCNA Voice, and brought a lab kit (2811 router, 1841 router, 2 3560 switches, 2 phones 7961g)

I use CBT Nuggets to study, and I use the following infrastructure:

 

 

 

The problem that I have for three days looking and searching my whole day without any solution is my phones are not registering and I do not see them getting IP address while in DHCP binding in my DHCP Server I see that the server giving ips for devices that match the mac address of my phones.

Another thing is that I think that the phones are not getting firmware files from the CME              ,

CME Flash shows the flowing

1   59482968  c2800nm-adventerprisek9-mz.124-24.T5.bin

  2   3153295  apps41.9-3-1ES26.sbn

  3   556679   cnu41.9-3-1ES26.sbn

  4   2686807  cvm41sip.9-3-1ES26.sbn

  5   561605   dsp41.9-3-1ES26.sbn

  6   1631776  jar41sip.9-3-1ES26.sbn

  7   648      SIP41.9-3-1SR4-1S.loads

  8   648      term41.default.loads

  9   648      term61.default.loads

 10   5771325  cmterm-7941_7961-sip.9-3-1SR4-1.cop.sgn

 11   2215949  cvm41sccp.9-3-1ES26.sbn

 12   1630052  jar41sccp.9-3-1ES26.sbn

 13   652      SCCP41.9-3-1SR4-1S.loads

 14   5298719  cmterm-7941_7961-sccp.9-3-1SR4-1.cop.sgn

 15   1926568  cnu41.2-7-5-50.sbn

 16   1941998  CVM41.2-0-1-45.sbn

 17   689772   Jar41.2-9-1-45.sbn

 18   591      TERM41.7-0-2-0S.loads

One of my phone is rested to factory default and stuck on upgrade screen, because it is looking for suitable files to load.

When I issue load command I get:

 

CME_Voice(config-telephony)#load 7961 SCCP41.9-3-1SR4-1S.loads

LOAD COMMAND ERROR:cnf-file location system is not supported for creating automatic tftp bindings. Please use file location flash | slot0 | tftp OR create tftp bindings manually

 

Updating CNF files

 

CNF-FILES: Clock is not set or synchronized, retaining old versionStamps

CNF files update complete for phonetype(7961)

 

Command of “Show ephone”:

 

ephone-1[0] Mac:001B.D40B.A49F TCP socket:[-1] activeLine:0 whisperLine:0 UNREGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:0

IP:0.0.0.0 0 Unknown 0  keepalive 0 max_line 0 available_line 0

Preferred Codec: g711ulaw

 

 

Show run on ever device:

 

CME_Voice#show run

Building configuration...

 

 

Current configuration : 1366 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname CME_Voice

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

!

no aaa new-model

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

voice-card 0

!

!

!

!

!

archive

 log config

  hidekeys

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

 no ip address

 duplex auto

 speed auto

!

interface FastEthernet0/0.10

 encapsulation dot1Q 10

 ip address 172.16.1.1 255.255.255.0

 ip helper-address 172.16.2.5

!

interface FastEthernet0/0.50

 encapsulation dot1Q 50

 ip address 172.16.2.1 255.255.255.0

!

interface FastEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

!

!

!

!

!

!

!

control-plane

!

!

!

!

!

!

!

!

!

!

telephony-service

 max-ephones 5

 max-dn 5

 load 7961 SCCP41.9-3-1SR4-1S.loads

 max-conferences 8 gain -6

 transfer-system full-consult

 create cnf-files version-stamp Jan 01 2002 00:00:00

!

!

ephone-dn  1

 number 1111

!

!

ephone  1

 device-security-mode none

 mac-address 001B.D40B.A49F

 button  1:1

!

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

 login

!

scheduler allocate 20000 1000

end

 

 

 

 

 

 

 

 

DHCP_Router#show run

Building configuration...

 

Current configuration : 1042 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname DHCP_Router

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

ip cef

!

!

no ip dhcp use vrf connected

ip dhcp excluded-address 172.16.1.1 172.16.1.10

ip dhcp excluded-address 172.16.2.1 172.16.2.10

!

ip dhcp pool voice

   network 172.16.1.0 255.255.255.0

   default-router 172.16.1.1

   dns-server 8.8.8.8

   option 150 ip 172.16.1.1

!

ip dhcp pool data

   network 172.16.2.0 255.255.255.0

   default-router 172.16.2.1

   dns-server 8.8.8.8

   option 150 ip 172.16.1.1

!

!

no ip domain lookup

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

 ip address 172.16.2.5 255.255.255.0

 duplex auto

 speed auto

!

interface FastEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

!

!

ip http server

no ip http secure-server

!

!

!

!

!

!

!

control-plane

!

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

 login

!

scheduler allocate 20000 1000

end

 

SwitchB#show run

Building configuration...

 

Current configuration : 4152 bytes

!

version 12.2

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname SwitchB

!

boot-start-marker

boot-end-marker

!

!

!

!

no aaa new-model

system mtu routing 1500

authentication mac-move permit

ip subnet-zero

no ip domain-lookup

!

!

!

!

crypto pki trustpoint TP-self-signed-1166977408

 enrollment selfsigned

 subject-name cn=IOS-Self-Signed-Certificate-1166977408

 revocation-check none

 rsakeypair TP-self-signed-1166977408

!

!

crypto pki certificate chain TP-self-signed-1166977408

 certificate self-signed 01

  30820240 308201A9 A0030201 02020101 300D0609 2A864886 F70D0101 04050030

  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274

  69666963 6174652D 31313636 39373734 3038301E 170D3933 30333031 30303031

  30365A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649

  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 31363639

  37373430 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281

  8100D202 98000B00 CF0D0218 07FC8755 D177C77A CF40EF87 D2A97AD2 6E38745C

  2F576E90 6B209439 6870FF25 0F97EA0A 790ED758 4E8398D8 A0A298F6 757C024C

  98B40CFF 06D87E9F 820AA991 42B266F7 5F707ADF B358F1E9 F4B2107D F7FAF725

  8B9596FB 0CE7D8B5 E2B20013 A10488CD EC07738F 0C18BCC0 89791F1C 8CAB26F6

  24D90203 010001A3 68306630 0F060355 1D130101 FF040530 030101FF 30130603

  551D1104 0C300A82 08537769 74636842 2E301F06 03551D23 04183016 801430B0

  BEB6793B 76D031B7 B9E44AFA 49E1F6DF 2CFE301D 0603551D 0E041604 1430B0BE

  B6793B76 D031B7B9 E44AFA49 E1F6DF2C FE300D06 092A8648 86F70D01 01040500

  03818100 C09602F4 02F86AA8 DFF6E55D FF5EC7E3 6AAA6A00 2F63422A C8FF8154

  368D5449 0AD30EE3 FC0AA464 FE612EAE 53CA0985 282171D3 E982FF1C 8F56EBF2

  77782ABD BE63FAA9 968B0CFD 59ADD411 B147E1EC 816D56FF 1C271630 0125B202

  BDE3E9DD 93862426 82844D08 254F460A 424A99A0 15E00BAB E94C6E4B E043C213 44CD9C0B

  quit

!

!

!

spanning-tree mode pvst

spanning-tree etherchannel guard misconfig

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

!

!

!

interface FastEthernet0/1

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/2

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/3

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/4

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/5

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/6

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/7

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/8

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/9

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/10

 switchport access vlan 50

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

 no ip address

!

ip classless

ip http server

ip http secure-server

!

!

ip sla enable reaction-alerts

!

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

line vty 0 4

 login

line vty 5 15

 login

!

end

 

 

 

 

SwitchA#show run

Building configuration...

 

Current configuration : 1488 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname SwitchA

!

!

no aaa new-model

system mtu routing 1500

ip subnet-zero

no ip domain-lookup

!

!

!

!

no file verify auto

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

 switchport access vlan 50

 switchport mode access

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

 switchport trunk encapsulation dot1q

 switchport mode trunk

 spanning-tree portfast

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

 no ip address

 shutdown

!

ip classless

ip http server

!

!

control-plane

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

line vty 0 4

 login

line vty 5 15

 login

!

end

 

 

 

 

Please Help it has been three days since I am working and no solution and I am thinking of giving up on CCNA Voice and go ahead and study for CCNP, since I studied for the whole CCNA RS and no such problem happened to me.

 

Kind Regards

 

 

 

2 Accepted Solutions

Accepted Solutions

Put in the command "ntp server" or sync NTP to a source outside the firewall which will give you good time. 

 

Please rate useful posts.

View solution in original post

I would delete the ITL file by going to Settings -> Network Config -> Security and Delete the ITLs (I dont know the exact path off the top of my head). Better yet, i would factory reset the phone.

Please rate useful posts.

View solution in original post

17 Replies 17

George Thomas
Level 10
Level 10

Under telephony-service, make sure that you specify the source address as the IP of the CME. Also make sure that the uplinks to the two routers are trunked on the switch.

Please rate useful posts.

Thanks for the reply 

when i set the source address under the telephony service it give me this message:

 

Updating CNF files

 

CNF-FILES: Clock is not set or synchronized, retaining old versionStamps

CNF files update complete for phonetype(7961)

 

About the trunk for the two routers, as you can see in the diagram dhcp port is access port (data vlan only) and CME is trunk port (for both voice and data) and voice devices get ip using ip helper to the main dhcp.

 

 

Put in the command "ntp server" or sync NTP to a source outside the firewall which will give you good time. 

 

Please rate useful posts.

Thanks again 

I got the time working and added the source address under telephony service, but still the phone is not registering.

I added the files in the flash to the tftp server hoping it can work but it did not.

here is my new config after making these amendments:

CME_Voice#show run
Building configuration...


Current configuration : 2195 bytes
!
! Last configuration change at 22:07:51 UTC Mon Jul 28 2014
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CME_Voice
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address 172.16.1.1 255.255.255.0
 ip helper-address 172.16.2.5
!
interface FastEthernet0/0.50
 encapsulation dot1Q 50
 ip address 172.16.2.1 255.255.255.0
!
interface FastEthernet0/1
 ip address dhcp
 duplex auto
 speed auto
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
tftp-server flash:apps41.9-3-1ES26.sbn
tftp-server flash:cnu41.9-3-1ES26.sbn
tftp-server flash:cvm41sip.9-3-1ES26.sbn
tftp-server flash:dsp41.9-3-1ES26.sbn
tftp-server flash:jar41sip.9-3-1ES26.sbn
tftp-server flash:SIP41.9-3-1SR4-1S.loads
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:cmterm-7941_7961-sip.9-3-1SR4-1.cop.sgn
tftp-server flash:cvm41sccp.9-3-1ES26.sbn
tftp-server flash:jar41sccp.9-3-1ES26.sbn
tftp-server flash:SCCP41.9-3-1SR4-1S.loads
tftp-server flash:cmterm-7941_7961-sccp.9-3-1SR4-1.cop.sgn
tftp-server flash:cnu41.2-7-5-50.sbn
tftp-server flash:CVM41.2-0-1-45.sbn
tftp-server flash:Jar41.2-9-1-45.sbn
tftp-server flash:TERM41.7-0-2-0S.loads
!
control-plane
!
!
!
!
!
!
!
!
!
!
telephony-service
 max-ephones 5
 max-dn 5
 ip source-address 172.16.1.1 port 2000
 load 7961 flash:
 max-conferences 8 gain -6
 transfer-system full-consult
 create cnf-files version-stamp 7960 Jul 28 2014 21:49:21
!
!
ephone-dn  1
 number 1111
!
!
ephone  1
 device-security-mode none
 mac-address 001B.D40B.A49F
 button  1:1
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 login
!
scheduler allocate 20000 1000
ntp server asia.pool.ntp.org
ntp server ru.pool.ntp.org
end

 

Can you try to register a CIPC (Cisco IP Communicator), it doesn't needs firmware.

Can you give below command under telephony-service and then create cnf.

 load 7961 SCCP41.9-3-1SR4-1S

 

Please attach "debug tftp event" as well when you trying to register 7961 phone.

Suresh

 

Thanks Man 

I got my CIPC Registered. but once i ssue (load 7961 SCCP41.9-3-1SR4-1S)

it shows me :

CME_Voice(config-telephony)#load 7961 SCCP41.9-3-1SR4-1S.loads
LOAD COMMAND ERROR:cnf-file location system is not supported for creating automatic tftp bindings. Please use file location flash | slot0 | tftp OR create tftp bindings manually

Updating CNF files
CNF files update complete for phonetype(7961)

 

Please Help

Plz put below command under telephony-service and check.

cnf-file location flash:

 

Suresh

Thank you very much, it worked you helped me alot

Hi

1- delete your ephone 1

2-kindly go to telephony-service and put the below

telephony-service

cnf-file location flash:

no  load 7961 flash:

no create cnf-files

create cnf-files

exit

3-Create again your ephone 1

4-Test

5-Share please  "show telephony-server tftp".

 

Thanks

please rate all useful information

Hi

1- configure ntp server 

ntp server x.x.x.x  where x.x.x.x public ntp server

or 

interface loopback 0

ip address x.x.x.x x.x.x.x

exit

ntp server x.x.x.x  

ntp source loopback 0

or

ntp server x.x.x.x source loopback0 

then


R1#clock set 20:00:00 july 29 2014

2-look do under telephony-service

telephony-service

time-zone x   where x indicates your timezone ,

no create cnf-files

create cnf-files

 

Thanks

please rate all useful information

Thanks, but I did what you told me and still nothing new.

 

here are the status messages i see in my phone

 

Also I see now in my phone under "network Statistics"  "IPV4 DHCP TIMEOUT"

I do not know if the problem is that my phone is not getting ip or something related to CME in TFTP or another thing?

 

Please Help me

I would move the DHCP server to the CME just for testing to isolate it as a network or config issue.

Please rate useful posts.

Ok I move the DHCP to CME

CME_Voice#show run | s dhcp
ip dhcp excluded-address 172.16.1.1 172.16.1.10
ip dhcp pool voice
   network 172.16.1.0 255.255.255.0
   dns-server 8.8.8.8
   option 150 ip 172.16.1.1
   default-router 172.16.1.1
 ip address dhcp

and my phone got a valid IP, but still does not register.

 

status messages shows: 

trust list update failed

tftp timeout:sep001bd40ba49f (last 12 charterers are my PHONE MAC) 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: