cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3666
Views
25
Helpful
12
Replies

7821 SIP Issue

ilana_ilana
Level 1
Level 1

Hi,

We have 7962 & 7821 phones to add into CME 10.0

7962 phones registered successfully where I am not able to register 7821 SIP.

Phone screen showing " Registering "

Phone got IP Address from DHCP server.

From attachments, 7821 phone is getting correct load but not sure why its not registering:

7821 phone shows Active Server as None

please check the attachments

Following is my configuration

!
ip dhcp pool BMD-voice
 network 10.40.34.0 255.255.255.0
 option 150 ip 10.40.34.7
 default-router 10.40.34.7
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 redirect ip2ip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323     
 sip
  bind control source-interface GigabitEthernet0/0
  bind media source-interface GigabitEthernet0/0
  registrar server expires max 3600 min 1800
!!
voice register pool-type  7821
 xml-config maxNumCalls 2
 xml-config busyTrigger 2
 phoneload-support
 num-lines 2
 description ***Cisco IP Phone 7821 Ref to 6921***
 reference-pooltype 6921
!
voice register global
 mode  cme
 source-address 10.40.34.7 port 5060
 max-dn 500
 max-pool 265
 load 7821 sip78xx.10-1-1SR1-4
 authenticate register
 authenticate realm all
 timezone 31
 date-format D/M/Y
 tftp-path flash:
 create profile sync 0015832366215588
!

voice register dn  6
 number 123
 name ABCD
 label ABCD
!
voice register pool  6
 busy-trigger-per-button 1
 id mac afcd.2Dca.1489
 type 7821
 number 1 dn 68
 dtmf-relay rtp-nte
 no call-waiting
 codec g711alaw
 no vad
!

!
tftp-server flash:kern78xx.10-1-1SR1-4.sbn
tftp-server flash:rootfs78xx.10-1-1SR1-4.sbn
tftp-server flash:sboot78xx.10-1-1SR1-4.sbn
tftp-server flash:sip78xx.10-1-1SR1-4.loads
!

CME#dir flash:      
Directory of flash0:/

    1  -rw-    96347284  Nov 19 2014 16:19:08 +03:00  c3900-universalk9-mz.SPA.153-3.M3.bin
    2  -rw-        3064  Nov 19 2014 16:31:44 +03:00  cpconfig-39xx.cfg
    3  drw-           0  Aug 12 2015 07:46:40 +03:00  its
    4  drw-           0  Nov 19 2014 16:32:16 +03:00  ccpexp
  245  -rw-        2464  Nov 19 2014 16:34:00 +03:00  home.shtml
  252  -rw-     3088960  Aug 18 2015 13:28:40 +03:00  kern78xx.10-1-1SR1-4.sbn
  253  -rw-    36176212  Aug 18 2015 13:29:50 +03:00  rootfs78xx.10-1-1SR1-4.sbn
  254  -rw-      347580  Aug 18 2015 13:30:08 +03:00  sboot78xx.10-1-1SR1-4.sbn
  255  -rw-        1007  Aug 18 2015 13:30:28 +03:00  sip78xx.10-1-1SR1-4.loads

261218304 bytes total (122355712 bytes free)
CME#

CME#show version
Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.3(3)M3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Wed 28-May-14 07:13 by prod_rel_team

ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)

BMD-CME uptime is 4 hours, 1 minute
System returned to ROM by power-on
System image file is "flash0:c3900-universalk9-mz.SPA.153-3.M3.bin"
Last reload type: Normal Reload
Last reload reason: power-on

 

 

1 Accepted Solution

Accepted Solutions

Hi ilana,

 

The reason for failure is the fact that you are enabling SIP digest authentication under voice register global using the command ' authenticate register &  authenticate realm all'. While the phone isn't configured for username/password under voice register pool.

 

I am sure if you enable debug ccsip mess, you will see 401 response all the time.

 

I believe your phone and CME are in the same LAN therefore, digests authentication isn't mandatory and you can disable it be removing the commands ' authenticate register &  authenticate realm all'. Else, you need to configure username/password under voice register pool.

 

Also, as Vivek mentioned, looks to be a mistake in mapping DN to the phone. But I don't think this should impact registration. This will allow the phone to register without DN.

View solution in original post

12 Replies 12

Nadeem Ahmed
Cisco Employee
Cisco Employee

Can you please reset t he phone and collect below debugs

 

1) debug tftp events

2) debug tftp packets

2) debug ccsip messages

 

 

Br,
nadeem

 

Br, Nadeem Please rate all useful post.

Hi Nadeem,

I will be able to share debug outputs by tomorrow.

Thank for your reply.

Regards

Hello all,

Continuing the above post, two of 7821 phones are not registering to CME.

Switch port is in voice vlan, phone is getting TFTP server ip address but not sure why its not registering. Following are the output of debug tftp packet and debug tftp event from CME:

Phones that are not registering are having following mac-address:

84802DD451E1

84802DD451E3

 

CME#
Aug 24 09:17:33.881: TFTP: Server request for port 51788, socket_id 0x1125A264 for process 433
Aug 24 09:17:33.881: TFTP: read request from host 10.40.34.86(51788) via GigabitEthernet0/0
Aug 24 09:17:33.881: TFTP: Looking for CTLSEP84802DD451E1.tlv
Aug 24 09:17:33.881: TFTP: Sending error 1 No such file
Aug 24 09:17:34.041: TFTP: Server request for port 51088, socket_id 0x1956A7FC for process 433
Aug 24 09:17:34.041: TFTP: read request from host 10.40.34.86(51088) via GigabitEthernet0/0
Aug 24 09:17:34.041: TFTP: Looking for ITLSEP84802DD451E1.tlv
Aug 24 09:17:34.041: TFTP: Sending error 1 No such file
Aug 24 09:17:34.249: TFTP: Server request for port 50023, socket_id 0x1125A264 for process 433
Aug 24 09:17:34.249: TFTP: read request from host 10.40.34.86(50023) via GigabitEthernet0/0
Aug 24 09:17:34.249: TFTP: Looking for SEP84802DD451E1.cnf.xml
Aug 24 09:17:34.249: TFTP: Sending error 1 No such file
Aug 24 09:17:34.505: TFTP: Server request for port 52697, socket_id 0x1956A7FC for process 433
Aug 24 09:17:34.505: TFTP: read request from host 10.40.34.86(52697) via GigabitEthernet0/0
Aug 24 09:17:34.505: TFTP: Looking for XMLDefault.cnf.xml
Aug 24 09:17:34.505: TFTP: Opened system:/its/vrf1/XMLDefault.cnf.xml, fd 4, size 3450 for process 433
Aug 24 09:17:34.505: TFTP: Sending block 1 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Received ACK for block 1, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Sending block 2 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Received ACK for block 2, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Sending block 3 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Received ACK for block 3, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Sending block 4 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Received ACK for block 4, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Sending block 5 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Received ACK for block 5, socket_id 0x1956A7FC
Aug 24 09:17:34.509: TFTP: Sending block 6 (retry 0), len 512, socket_id 0x1956A7FC
Aug 24 09:17:34.513: TFTP: Received ACK for block 6, socket_id 0x1956A7FC
Aug 24 09:17:34.513: TFTP: Sending block 7 (retry 0), len 378, socket_id 0x1956A7FC
Aug 24 09:17:34.513: TFTP: Received ACK for block 7, socket_id 0x1956A7FC
Aug 24 09:17:34.513: TFTP: Finished system:/its/vrf1/XMLDefault.cnf.xml, time 00:00:00 for process 433
Aug 24 09:18:04.322: TFTP: Server request for port 51112, socket_id 0x12C6C758 for process 433
Aug 24 09:18:04.322: TFTP: read request from host 10.40.34.141(51112) via GigabitEthernet0/0
Aug 24 09:18:04.322: TFTP: Looking for CTLSEP84802DD451E3.tlv
Aug 24 09:18:04.322: TFTP: Sending error 1 No such file
Aug 24 09:18:04.486: TFTP: Server request for port 50292, socket_id 0x1125A264 for process 433
Aug 24 09:18:04.486: TFTP: read request from host 10.40.34.141(50292) via GigabitEthernet0/0
Aug 24 09:18:04.486: TFTP: Looking for ITLSEP84802DD451E3.tlv
Aug 24 09:18:04.486: TFTP: Sending error 1 No such file
Aug 24 09:18:04.730: TFTP: Server request for port 50927, socket_id 0x12C6C758 for process 433
Aug 24 09:18:04.730: TFTP: read request from host 10.40.34.141(50927) via GigabitEthernet0/0
Aug 24 09:18:04.730: TFTP: Looking for SEP84802DD451E3.cnf.xml
Aug 24 09:18:04.730: TFTP: Sending error 1 No such file
Aug 24 09:18:05.010: TFTP: Server request for port 52519, socket_id 0x1125A264 for process 433
Aug 24 09:18:05.014: TFTP: read request from host 10.40.34.141(52519) via GigabitEthernet0/0
Aug 24 09:18:05.014: TFTP: Looking for XMLDefault.cnf.xml
Aug 24 09:18:05.014: TFTP: Opened system:/its/vrf1/XMLDefault.cnf.xml, fd 4, size 3450 for process 433
Aug 24 09:18:05.014: TFTP: Sending block 1 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Received ACK for block 1, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Sending block 2 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Received ACK for block 2, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Sending block 3 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Received ACK for block 3, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Sending block 4 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Received ACK for block 4, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Sending block 5 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.014: TFTP: Received ACK for block 5, socket_id 0x1125A264
Aug 24 09:18:05.018: TFTP: Sending block 6 (retry 0), len 512, socket_id 0x1125A264
Aug 24 09:18:05.018: TFTP: Received ACK for block 6, socket_id 0x1125A264
Aug 24 09:18:05.018: TFTP: Sending block 7 (retry 0), len 378, socket_id 0x1125A264
Aug 24 09:18:05.018: TFTP: Received ACK for block 7, socket_id 0x1125A264
Aug 24 09:18:05.018: TFTP: Finished system:/its/vrf1/XMLDefault.cnf.xml, time 00:00:00 for process 433
Aug 24 09:18:06.026: TFTP: Server request for port 51489, socket_id 0x14165444 for process 433
Aug 24 09:18:06.026: TFTP: read request from host 10.40.34.86(51489) via GigabitEthernet0/0
Aug 24 09:18:06.026: TFTP: Looking for CTLSEP84802DD451E1.tlv
Aug 24 09:18:06.026: TFTP: Sending error 1 No such file
Aug 24 09:18:06.182: TFTP: Server request for port 49256, socket_id 0x12C6C758 for process 433
Aug 24 09:18:06.182: TFTP: read request from host 10.40.34.86(49256) via GigabitEthernet0/0
Aug 24 09:18:06.182: TFTP: Looking for ITLSEP84802DD451E1.tlv
Aug 24 09:18:06.182: TFTP: Sending error 1 No such file
Aug 24 09:18:06.390: TFTP: Server request for port 51362, socket_id 0x14165444 for process 433
Aug 24 09:18:06.390: TFTP: read request from host 10.40.34.86(51362) via GigabitEthernet0/0
Aug 24 09:18:06.390: TFTP: Looking for SEP84802DD451E1.cnf.xml
Aug 24 09:18:06.390: TFTP: Sending error 1 No such file
Aug 24 09:18:06.646: TFTP: Server request for port 52635, socket_id 0x12C6C758 for process 433
Aug 24 09:18:06.646: TFTP: read request from host 10.40.34.86(52635) via GigabitEthernet0/0
Aug 24 09:18:06.646: TFTP: Looking for XMLDefault.cnf.xml
Aug 24 09:18:06.646: TFTP: Opened system:/its/vrf1/XMLDefault.cnf.xml, fd 4, size 3450 for process 433
Aug 24 09:18:06.646: TFTP: Sending block 1 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Received ACK for block 1, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Sending block 2 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Received ACK for block 2, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Sending block 3 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Received ACK for block 3, socket_id 0x12C6C758
Aug 24 09:18:06.646: TFTP: Sending block 4 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Received ACK for block 4, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Sending block 5 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Received ACK for block 5, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Sending block 6 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Received ACK for block 6, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Sending block 7 (retry 0), len 378, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Received ACK for block 7, socket_id 0x12C6C758
Aug 24 09:18:06.650: TFTP: Finished system:/its/vrf1/XMLDefault.cnf.xml, time 00:00:00 for process 433
Aug 24 09:18:09.654: TFTP: Server request for port 50855, socket_id 0x14165444 for process 433
Aug 24 09:18:09.654: TFTP: read request from host 10.40.34.141(50855) via GigabitEthernet0/0
Aug 24 09:18:09.654: TFTP: Looking for SEP84802DD451E3.cnf.xml
Aug 24 09:18:09.654: TFTP: Sending error 1 No such file
Aug 24 09:18:09.918: TFTP: Server request for port 52692, socket_id 0x12C6C758 for process 433
Aug 24 09:18:09.918: TFTP: read request from host 10.40.34.141(52692) via GigabitEthernet0/0
Aug 24 09:18:09.918: TFTP: Looking for XMLDefault.cnf.xml
Aug 24 09:18:09.918: TFTP: Opened system:/its/vrf1/XMLDefault.cnf.xml, fd 4, size 3450 for process 433
Aug 24 09:18:09.918: TFTP: Sending block 1 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 1, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 2 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 2, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 3 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 3, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 4 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 4, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 5 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 5, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 6 (retry 0), len 512, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Received ACK for block 6, socket_id 0x12C6C758
Aug 24 09:18:09.922: TFTP: Sending block 7 (retry 0), len 378, socket_id 0x12C6C758
Aug 24 09:18:09.926: TFTP: Received ACK for block 7, socket_id 0x12C6C758
Aug 24 09:18:09.926: TFTP: Finished system:/its/vrf1/XMLDefault.cnf.xml, time 00:00:00 for process 433
BMD-CME#
BMD-CME#

Hi,

 

Please share debug ccsip mess.

Hello Mohammed,

Issue solved.

Actually these two mac addresses were added new. I read in some document saying that you should run create profile if newly added SIP phones are not registering.

I did same and both phone registered immediately.

Thanks for your time to reply.

 

 

Hi Nadeem,

As i mentioned above, my issue fixed by removing authenticate register from voice register global.

As issue resolved I didn't need to collect logs.

Appreciated your time to reply here.

Regards,

Vivek Batra
VIP Alumni
VIP Alumni

Please check if it's a type error under voice register pool  6;

number 1 dn 68

However DN index defined in voice register dn is 6 (voice register dn  6).

Hi ilana,

 

The reason for failure is the fact that you are enabling SIP digest authentication under voice register global using the command ' authenticate register &  authenticate realm all'. While the phone isn't configured for username/password under voice register pool.

 

I am sure if you enable debug ccsip mess, you will see 401 response all the time.

 

I believe your phone and CME are in the same LAN therefore, digests authentication isn't mandatory and you can disable it be removing the commands ' authenticate register &  authenticate realm all'. Else, you need to configure username/password under voice register pool.

 

Also, as Vivek mentioned, looks to be a mistake in mapping DN to the phone. But I don't think this should impact registration. This will allow the phone to register without DN.

Hi Mohammed, +5. Seems digest authentication issue as well.

Apart I believe that without DN, SIP phone won't be able to register as DN must be included in respective header of REGISTER message and without DN, phone won't be able to trigger REGISTER message and can't register. That is the reason we see multiple REGISTER requests if SIP phone is assigned multiple DN.

This might be different from SCCP registration behavior where phone doesn't use DN to register and hence can register even without DN assignment.

Thanks

Vivek

 

Good point Vivek. I think you are right. What I said is applicable to SCCP not SIP endpoints.

Hi Vivek,

 

 I had below problems in 7841 IP phone some phone have differnet load ID and some have diffent thats the diffence that In phone there is line in display phone the app load ID is rootfs78xx.10-1-1SR1-4.bin

ilana_ilana
Level 1
Level 1

Hello Mohammad,

Thank you so much for such a confident answer.

Your advise worked. No Authenticate register fixed my issue

Thank you every body who helped here.

Regards,