Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Subscribe to phone services using BAT

Hi,

We are using BAT to implement Phones & Device profiles for Extension Mobility. However i cannot get the phones or device profiles to subscribe to the extension Mobility service via BAT. I have tried subscribing both the Phone & User Device Profile Templates to the EM service, but when the phones or UDPs are inserted, they do not subscribe to EM & i have to manually subscribe each phone & device to EM. We are using CM6.0(1), but if anyone has got this working in version 5 that might be helpful.

thanx

Colin

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Red

Re: Subscribe to phone services using BAT

Hi Colin,

Just to add a note to the great info from Allan. This may be the Bug from CCM 5.1 and CCM 6.0(1);

CSCsj33055 Bug Details

bulk insert phone or UDP does not add phone service if no svc parameters

Symptom:

Insert UDP fails to insert IP Phone Service if there are no parameters to all

Device Profiles.

Conditions:

'Insert UDP' in Bulk Administration Tool [BAT] doesn't insert IP Phone Service

for all the Device Profiles if no parameter is defined on the Phone Service.

This also happens when the UDP template is not subscribed to the Phone Service.

And this Insert UDP works fine in inserting the IP Phone Service to all DPs if

you are doing one record at a time, it fails if you do it in a BULK.

Workaround:

For Device Profiles:

1. Using a template

- Add a dummy parameter to the EM service. Save it and click on Update

Subscriptions.

- Subscribe EM service on the UDP template. Ignore if already done.

- Upload the Insert file for specific details transaction.

- Submit a job with the uploaded file and the UDP template on which EM is

subscribed.

2. Using a CSV file

- Add a dummy parameter to the EM service

- Specify this dummy parameter with blank values in the CSV. Sample file below

- Upload the Insert file for specific details transaction and submit a job

Once you have inserted DPs, you can go to IP phone service page, select the EM

service. Delete the dummy parameter and click update subscriptions.

sample:

************

DEVICE PROFILE NAME,DESCRIPTION,DIRECTORY NUMBER 1,SERVICE NAME 1,SUBSCRIBED

SERVICE NAME 1,SUBSCRIBED SERVICE NAME ASCII 1,PARAMETER NAME 1,PARAMETER VALUE 1

DP-1,DP1,2001,Extension Mobility,Extension Mobility,Extension Mobility,dummy,

DP-2,DP2,2002,Extension Mobility,Extension Mobility,Extension Mobility,dummy,

************

For phone devices:

1. create bat phone template and subscribed it to the EM service

2. define an update phones job:

enable extension mobility

log out profile: use current device settings

add services from this teamplate: run immediatelyMake sure to check the box to the left of the line item in the BAT job definition. That signifies to BAT that wish to synchronize all selected phones to the value specified. Status

Fixed

Severity

3

Last Modified

In Last 3 Days

Product

Cisco Unified Communications Manager (CallManager)

Technology

1st Found-In

5.1(2)

5.1(2.1000.11)

6.0(1.1000.37)

Fixed-In

5.1(2.2102.1)

5.1(2.9901.12)

6.0(0.9901.293)

5.1(3.1000.12)

6.0(1.2112.1)

Related Bugs

Cannot add service url with BAT

Symptom: IP phone doesn't have a service Url configured Conditions: Service Url was configured with BAT when inserting new IP Phone (CCM 5.1.2) Workaround: Create a "dummy" parameter for the IP Phone service which is subscribed on the BAT phone template

Hope this helps!

Rob

2 REPLIES

Re: Subscribe to phone services using BAT

I experienced the very same issue in 5.1.x, the UDP when inserted were not subscribed to the EM service despite subscribing the device profiles template to it.

In this instance I raised the issue with TAC, and sure enough this was a known issues, and they posted the lastest ES which resolved the issue.

It sounds like you running into a similar bug, I would suggest raising same with TAC.

Regards

Allan.

Hall of Fame Super Red

Re: Subscribe to phone services using BAT

Hi Colin,

Just to add a note to the great info from Allan. This may be the Bug from CCM 5.1 and CCM 6.0(1);

CSCsj33055 Bug Details

bulk insert phone or UDP does not add phone service if no svc parameters

Symptom:

Insert UDP fails to insert IP Phone Service if there are no parameters to all

Device Profiles.

Conditions:

'Insert UDP' in Bulk Administration Tool [BAT] doesn't insert IP Phone Service

for all the Device Profiles if no parameter is defined on the Phone Service.

This also happens when the UDP template is not subscribed to the Phone Service.

And this Insert UDP works fine in inserting the IP Phone Service to all DPs if

you are doing one record at a time, it fails if you do it in a BULK.

Workaround:

For Device Profiles:

1. Using a template

- Add a dummy parameter to the EM service. Save it and click on Update

Subscriptions.

- Subscribe EM service on the UDP template. Ignore if already done.

- Upload the Insert file for specific details transaction.

- Submit a job with the uploaded file and the UDP template on which EM is

subscribed.

2. Using a CSV file

- Add a dummy parameter to the EM service

- Specify this dummy parameter with blank values in the CSV. Sample file below

- Upload the Insert file for specific details transaction and submit a job

Once you have inserted DPs, you can go to IP phone service page, select the EM

service. Delete the dummy parameter and click update subscriptions.

sample:

************

DEVICE PROFILE NAME,DESCRIPTION,DIRECTORY NUMBER 1,SERVICE NAME 1,SUBSCRIBED

SERVICE NAME 1,SUBSCRIBED SERVICE NAME ASCII 1,PARAMETER NAME 1,PARAMETER VALUE 1

DP-1,DP1,2001,Extension Mobility,Extension Mobility,Extension Mobility,dummy,

DP-2,DP2,2002,Extension Mobility,Extension Mobility,Extension Mobility,dummy,

************

For phone devices:

1. create bat phone template and subscribed it to the EM service

2. define an update phones job:

enable extension mobility

log out profile: use current device settings

add services from this teamplate: run immediatelyMake sure to check the box to the left of the line item in the BAT job definition. That signifies to BAT that wish to synchronize all selected phones to the value specified. Status

Fixed

Severity

3

Last Modified

In Last 3 Days

Product

Cisco Unified Communications Manager (CallManager)

Technology

1st Found-In

5.1(2)

5.1(2.1000.11)

6.0(1.1000.37)

Fixed-In

5.1(2.2102.1)

5.1(2.9901.12)

6.0(0.9901.293)

5.1(3.1000.12)

6.0(1.2112.1)

Related Bugs

Cannot add service url with BAT

Symptom: IP phone doesn't have a service Url configured Conditions: Service Url was configured with BAT when inserting new IP Phone (CCM 5.1.2) Workaround: Create a "dummy" parameter for the IP Phone service which is subscribed on the BAT phone template

Hope this helps!

Rob

224
Views
10
Helpful
2
Replies
CreatePlease to create content