Cisco Support Community

Not able to insert new IP phones through the BAT. The "error code 9 Subscript out of range" error message appears. During an attempt to create a phone button template from the Phone Template Configuration page, it gives the "'arrDeviceDetails.51' is null

Core Issue

This issue has been observed with these versions:

  • Cisco CallManager 4.1.2 SR1
  • BAT 5.1.3

You cannot import txt file after you use the the BAT.xls in order to generate the file format to insert phones. You see the Subscript out of range error message even though the file validated fine.

This type of problem usually happens after a Cisco CallManager upgrade. The phone template can get corrupted in the process.

The issue has also been tracked in Cisco bug ID CSCsb54987.


In order to resolve the issue, recreate the template with the same settings but a different name, and then try to add the phone again.

Remove the service settings from the phone template. Insert phones without services. Follow the insert transaction with BAT update phones functionality in order to assign services to phones.

The issue is fixed with Cisco CallManager version 4.1(3) SR2. You can either complete the workaround provided, or you can upgrade to 4.1(3) SR2 in order to resolve this issue.

Problem Type

Voice applications  (CRS, PA, CCM Plugins, CER, CCC, MeetingPlace, etc.)

Call control software  (CallManager, CallManager Express, ICS7750, SRST, SS7 call agents)

IP Phones and Clients

IP phone error messages

Failure Type

Error message

CallManager Versions

CallManager 4.0

CallManager 4.1

Computer Telephony Integration (CTI) Port

Phone button template

CallManager Configuration, Administration, Accounts and Passwords

CCM Configuration pages

Voice Applications

Bulk Administration Tool (BAT)