cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4986
Views
10
Helpful
8
Replies

CUCM BAT problem

mmoulson1
Level 4
Level 4

Hi All,

I'm in the process of installing CUCM 8.5 for a customer I want to use BAT to 'Insert Phone with Users'.

I've done this before with CUCM5 & 7 and it worked without issue.


However in 8.5 I'm getting the following error on the job scheduler:

WARNING: Primary Extension does not exist on the devices/profiles controlled by the user. User will be inserted/updated without the primary extension

I have my "<Ext. No> in <Partition>" as my 'Primary Extension' field but no joy.


Any ideas? It's annoying because users cannot be imported into unity connection without a primary extension being set!

Thanks in advance.


Matty

2 Accepted Solutions

Accepted Solutions

Rob Huffman
Hall of Fame
Hall of Fame

HI Matty,

Nice work my friend

Thanks for posting back with your workaround (+5) this will likely

help someone else down the road.

Cheers!

Rob

View solution in original post

Hi Gary,

For the primary extension number you need to specify the partition, as above " in "

So your example:

pfinch,,,,,,,,119205,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A141

Needs to be:

pfinch,,,,,,,,119205 in Internal,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A141

Where 'Internal' is the name of the partition.

Let me know if that works.

Matty

View solution in original post

8 Replies 8

Rob Huffman
Hall of Fame
Hall of Fame

Hey Matty,

It sounds like this bug

CSCtj31109

                                            ▼
BAT Insert of Phones/Users does not associate Primary Extension
CallManager Versions:
8.0.1 and above
8.5.1.10000-26 (Customer Reported)

Issue/Symptoms:
When trying to add "Users and Phones" using the BAT tool the "Primary Extension" field on the user page does not get associated to a directory number.

Functionality does not work in any of the following cases:

BAT File Without Partition and Phone Line Template DN with Partition
BAT File Without Partition and Phone Line Template DN without Partition
BAT File With Partition and Phone Line Template DN with Partition
BAT File With Partition and Phone Line Template DN without Partition

Note: All of the above 4 cases do not work with Dummy MAC or Real MAC addresses

There are two type of errors we see in the BPS Logs:
1. If the BAT Phone Line Template DN has a Partition assigned to it then we see:
WARNING : PRIMARY EXTENSION :  does not exist. If all other values in the CSV are correct, then user will be inserted/updated without primary extension.

2. If the BAT Phone Line Template DN does not have a Partition assigned to it then we see
WARNING: Primary Extension does not exist on the devices/profiles controlled by the user. User will be inserted/updated without the primary extension

Work Around:
1) Insert Phone and User using "BAT->Phone-Users->Insert Phone-Users"
2) Update primary extension for users using "BAT->Users->Update Users"

Note: Workaround cannot be used if you have the Primary Extension assigned to a partition. In which case you will have to manually update each user.




Related Bug





Status

Fixed

Severity

3 - moderate

Last Modified

Jun 28,2011

Product

Cisco Unified Communications Manager (CallManager)

Platform

Dependent

Technology

nav

1st Found-in

8.0, 8.5(1)

Fixed-in

8.6(0.98000.51), 8.6(0.98000.18), 8.5(1.12013.1), 8.6(0.99981.2), 8.6(1.10000.1), 8.6(1.95040.1), 8.6(1.10001.1), 8.6(1.96000.51), 8.6(1.96000.1), 8.6(1.95190.40), 8.6(1.97011.1), 8.6(1.97011.2), 8.6(1.99989.1), 8.6(0.95180.9), 9.0(0.95010.1), 8.6(1.99986.1), 8.6(1.95020.58), 8.6(1.10000.43), 8.6(1.95020.1), 9.0(0.95070.38), 9.0(0.95070.39)

Cheers!

Rob

Hi Rob!

Wow a reply from the main man!

I agree I am probably hitting the bug however I’m managed to find a work around since I posted the above. If I add a ‘PRIMARY USER DEVICE’ field the ‘Primary Extension is then accepted!

I can’t think of any detriment that would be caused by the user having a device selected under ‘Mobility Information’

Kind Regards

Matt

Rob Huffman
Hall of Fame
Hall of Fame

HI Matty,

Nice work my friend

Thanks for posting back with your workaround (+5) this will likely

help someone else down the road.

Cheers!

Rob

gary.hicks
Level 1
Level 1

I am running into this same issue when I try to update users.  I am running on version 8.6.2

I tried the work-around listed above and it did not help at all.  Anyone have any ideas?

Thanks

Gary

Hi Gary,

Do you want to post your file so I can have a look?


Matty

gary.hicks
Level 1
Level 1

Matty,

These are just the test files before I do all 200 or so phones and users.  I have the phone insert and update users files.  Only updating users as I am using LDAP integration.  Everything But the assigning of the primary extension is working fine.

Phone file:

MAC ADDRESS,DESCRIPTION,DEVICE POOL,LOCATION,OWNER USER ID,DIRECTORY

NUMBER  1,LINE DESCRIPTION  1,ALERTING NAME  1,ASCII ALERTING NAME 

1,DISPLAY  1,ASCII DISPLAY  1,LINE TEXT LABEL  1,ASCII LINE TEXT LABEL 

1,EXTERNAL PHONE NUMBER MASK  1

108CCFE1A141,Paula Finch

x119205,Corporate_DP,Corporate_Location,pfinch,119205,Paula Finch

x119205,Paula Finch x119205,Paula Finch x119205,Paula Finch

x119205,Paula Finch x119205,Paula Finch x119205,Paula Finch

x119205,3173969205

108CCF74162B,Jeff Schwarz

x119206,Corporate_DP,Corporate_Location,jschwarz,119206,Jeff Schwarz

x119206,Jeff Schwarz x119206,Jeff Schwarz x119206,Jeff Schwarz

x119206,Jeff Schwarz x119206,Jeff Schwarz x119206,Jeff Schwarz

x119206,3173969206

108CCF741A97,John Schwarz

x119207,Corporate_DP,Corporate_Location,joschwarz,119207,John Schwarz

x119207,John Schwarz x119207,John Schwarz x119207,John Schwarz

x119207,John Schwarz x119207,John Schwarz x119207,John Schwarz

x119207,3173969207

108CCF741651,Jean Kelley

x119208,Corporate_DP,Corporate_Location,jkelley,119208,Jean Kelley

x119208,Jean Kelley x119208,Jean Kelley x119208,Jean Kelley

x119208,Jean Kelley x119208,Jean Kelley x119208,Jean Kelley

x119208,3173969208

8CB64F5618B9,Sandy Powell

x119209,Corporate_DP,Corporate_Location,spowell,119209,Sandy Powell

x119209,Sandy Powell x119209,Sandy Powell x119209,Sandy Powell

x119209,Sandy Powell x119209,Sandy Powell x119209,Sandy Powell

x119209,3173969209

8CB64F5613D4,Cheri Jones

x119210,Corporate_DP,Corporate_Location,cjones,119210,Cheri Jones

x119210,Cheri Jones x119210,Cheri Jones x119210,Cheri Jones

x119210,Cheri Jones x119210,Cheri Jones x119210,Cheri Jones

x119210,3173969210

108CCFE1798E,temp temp

x119211,Corporate_DP,Corporate_Location,,119211,temp temp x119211,temp

temp x119211,temp temp x119211,temp temp x119211,temp temp x119211,temp

temp x119211,temp temp x119211,3173969211

108CCFE18001,Helen Fortune

x112912,Corporate_DP,Corporate_Location,hfortune,112912,Helen Fortune

x112912,Helen Fortune x112912,Helen Fortune x112912,Helen Fortune

x112912,Helen Fortune x112912,Helen Fortune x112912,Helen Fortune

x112912,3173969212

8CB64F56164A,Laura Dujmovich

x119213,Corporate_DP,Corporate_Location,ldujmovich,119213,Laura

Dujmovich x119213,Laura Dujmovich x119213,Laura Dujmovich x119213,Laura

Dujmovich x119213,Laura Dujmovich x119213,Laura Dujmovich x119213,Laura

Dujmovich x119213,3173969213

108CCF741D1A,Kathy Thornton

x119214,Corporate_DP,Corporate_Location,kthornton,119214,Kathy Thornton

x119214,Kathy Thornton x119214,Kathy Thornton x119214,Kathy Thornton

x119214,Kathy Thornton x119214,Kathy Thornton x119214,Kathy Thornton

x119214,3173969214

108CCFE1A16C,Linda Cochran

x119215,Corporate_DP,Corporate_Location,lcochran,119215,Linda Cochran

x119215,Linda Cochran x119215,Linda Cochran x119215,Linda Cochran

x119215,Linda Cochran x119215,Linda Cochran x119215,Linda Cochran

x119215,3173969215

8CB64F5616F7,Betty Uebelhor

x119216,Corporate_DP,Corporate_Location,buebelhor,119216,Betty Uebelhor

x119216,Betty Uebelhor x119216,Betty Uebelhor x119216,Betty Uebelhor

x119216,Betty Uebelhor x119216,Betty Uebelhor x119216,Betty Uebelhor

x119216,3173969216

8CB64F56148C,David Hunt

x119217,Corporate_DP,Corporate_Location,dhunt,119217,David Hunt

x119217,David Hunt x119217,David Hunt x119217,David Hunt x119217,David

Hunt x119217,David Hunt x119217,David Hunt x119217,3173969217

108CCF7417B1,Debbie Hubbard

x119218,Corporate_DP,Corporate_Location,dhubbard,119218,Debbie Hubbard

x119218,Debbie Hubbard x119218,Debbie Hubbard x119218,Debbie Hubbard

x119218,Debbie Hubbard x119218,Debbie Hubbard x119218,Debbie Hubbard

x119218,3173969218

108CCF741643,Bonnie Ade

x119219,Corporate_DP,Corporate_Location,bade,119219,Bonnie Ade

x119219,Bonnie Ade x119219,Bonnie Ade x119219,Bonnie Ade x119219,Bonnie

Ade x119219,Bonnie Ade x119219,Bonnie Ade x119219,3173969219

8CB64F5613D3,Mike Citrino

x119223,Corporate_DP,Corporate_Location,mcitrino,119223,Mike Citrino

x119223,Mike Citrino x119223,Mike Citrino x119223,Mike Citrino

x119223,Mike Citrino x119223,Mike Citrino x119223,Mike Citrino

x119223,3173969223

081735D4245E,Brenda Snell

x119225,Corporate_DP,Corporate_Location,bsnell,119225,Brenda Snell

x119225,Brenda Snell x119225,Brenda Snell x119225,Brenda Snell

x119225,Brenda Snell x119225,Brenda Snell x119225,Brenda Snell

x119225,3173969225

8CB64F5618CF,Aaron Williamson

x119227,Corporate_DP,Corporate_Location,awilliamson,119227,Aaron

Williamson x119227,Aaron Williamson x119227,Aaron Williamson

x119227,Aaron Williamson x119227,Aaron Williamson x119227,Aaron

Williamson x119227,Aaron Williamson x119227,3173969227

108CCF7419BF,x119228,Corporate_DP,Corporate_Location,,119228,x119228,x1

19228,x119228,x119228,x119228,x119228,x119228,3173969228

8CB64F56169D,Chris Patterson

x119229,Corporate_DP,Corporate_Location,cpatterson,119229,Chris

Patterson x119229,Chris Patterson x119229,Chris Patterson x119229,Chris

Patterson x119229,Chris Patterson x119229,Chris Patterson x119229,Chris

Patterson x119229,3173969229

108CCFE1A207,Conference Conference

x119230,Corporate_DP,Corporate_Location,,119230,Conference

x119230,Conference x119230,Conference x119230,Conference

x119230,Conference x119230,Conference x119230,Conference

x119230,3173969230

108CCFE17E6D,SmallConf SmallConf

x119231,Corporate_DP,Corporate_Location,,119231,SmallConf

x119231,SmallConf x119231,SmallConf x119231,SmallConf x119231,SmallConf

x119231,SmallConf x119231,SmallConf x119231,3173969231

Update Users:

USER ID,MANAGER USER ID,DEPARTMENT,DEFAULT PROFILE,USER LOCALE,PASSWORD,PIN,TELEPHONE NUMBER,PRIMARY EXTENSION,ASSOCIATED PC,IPCC EXTENSION,MAIL ID,PRESENCE GROUP,SUBSCRIBE CALLING SEARCH SPACE,DIGEST CREDENTIALS,REMOTE DESTINATION LIMIT,MAXIMUM WAIT TIME FOR DESK PICKUP,ALLOW CONTROL OF DEVICE FROM CTI,ENABLE MOBILITY,ENABLE MOBILE VOICE ACCESS,PRIMARY USER DEVICE,ENABLE EMCC,NAME DIALING,USER GROUP 1,CONTROLLED DEVICE 1

pfinch,,,,,,,,119205,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A141

jschwarz,,,,,,,,119206,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF74162B

joschwarz,,,,,,,,119207,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF741A97

jkelley,,,,,,,,119208,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF741651

spowell,,,,,,,,119209,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F5618B9

cjones,,,,,,,,119210,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F5613D4

hfortune,,,,,,,,112912,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE18001

ldujmovich,,,,,,,,119213,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F56164A

kthornton,,,,,,,,119214,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF741D1A

lcochran,,,,,,,,119215,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A16C

buebelhor,,,,,,,,119216,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F5616F7

dhunt,,,,,,,,119217,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F56148C

dhubbard,,,,,,,,119218,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF7417B1

bade,,,,,,,,119219,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCF741643

mcitrino,,,,,,,,119223,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F5613D3

bsnell,,,,,,,,119225,,,,,,,,,t,,,,,,Standard CCM End Users,SEP081735D4245E

awilliamson,,,,,,,,119227,,,,,,,,,t,,,,,,Standard CCM End Users,SEP8CB64F5618CF

cpatterson,,,,,,,,119229,,,,,,,,,t,,,,,,Standard CCM End

Thanks,

Gary

Hi Gary,

For the primary extension number you need to specify the partition, as above " in "

So your example:

pfinch,,,,,,,,119205,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A141

Needs to be:

pfinch,,,,,,,,119205 in Internal,,,,,,,,,t,,,,,,Standard CCM End Users,SEP108CCFE1A141

Where 'Internal' is the name of the partition.

Let me know if that works.

Matty

gary.hicks
Level 1
Level 1

Thanks Matty,

That was the issue.

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: