cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
946
Views
0
Helpful
5
Replies

Batch provisioning existing DN's to users

mikeputz1
Level 1
Level 1

Hello,

I am batch provisioning users with a device (giving them a service template, mac address, etc). 

Is there a way to associate the Line to the endpoint when doing this? I've tried: using Cisco's AddLine.txt and adding MAC address to it. Tried adding Line information to my AddPhone.txt with no success. Looking through all of the sample templates I didn't see anything.

Thanks,

Mike

1 Accepted Solution

Accepted Solutions

Boobalan Rathinam
Cisco Employee
Cisco Employee

Hello Mike,

Phone and line service bundle is referred a "Phone Service" in Prime Collaboration Provisioning.

"AddPhoneService.txt" sample will be of help for your requirement.

View solution in original post

5 Replies 5

mikeputz1
Level 1
Level 1

I forgot to mention I'm using PCP 11.2

Mike,

Not seeing the objects/settings defined in PCP it is a little hard to tell exactly what is not passing validation.  Some suggestions to look at are below.

  1. I assume all the object names in the spreadsheet are identical to the ones defined in PCP.
  2. I would leave out the call processor column as you specified the call processor already by having the Service area listed. If there is any difference in the name of the call processor in the SA vs. the column, the order will not work. 
  3. I assume the MAC address is not the one used as it is not valid and PCP would fail the job based on an invalid MAC format.
  4. I would make ProductName = Phone Service if I am trying to create a phone with a line, or leave as Phone if you are just creating a phone (and remove any line info). If you want to add a line to a phone, use the addline.txt template.
  5. The first name is optional as the system already knows it from the userID. Last name is usually there because CUCM may need it. There are a lot of optional fields and less used is better.
OrderType UserID FirstName LastName Domain ProductName Service Area Phone Type MAC Address Protocol Phone Button Template Line Type Directory Number Service Template Call Processor
add ttwo test two UC Davis Phone CR-83 Cisco 7841 abcdzyxwabc0 SIP Standard 7841 SIP Chosen Line 5307521385 NationalUser-Line cucm-CiscoUnifiedCM

Below are the examples and what they do. They are all very similar and use mostly the save fields.

Add a line to an existing user's phone (AddLine.txt):

OrderType UserID FirstName LastName Domain ProductName Line Type ServiceArea SelectedPhone
add SampleUser1 Sample User1 SampleDomain Line Auto-Assigned Line SampleServiceArea 10000002

Add a phone to a user (AddPhone.txt):

OrderType UserID FirstName LastName Domain ProductName Phone Type ServiceArea MAC Address Phone Button Template Enable Extension Mobility
add SampleUser1 Sample User1 SampleDomain Phone Cisco 7960 SampleServiceArea 10000002 Standard 7960 yes

Add a phone with a line to a user (AddPhoneService.txt):

OrderType UserID FirstName LastName Domain ProductName Phone Type ServiceArea MAC Address Enable Extension Mobility Line Type Phone Button Template
add SampleUser1 Sample User1 SampleDomain Phone Service Cisco 7960 SampleServiceArea 10000004 yes Auto-Assigned Line Standard 7960 SCCP

It is possible to add more than one line within the same batch task line, download the examples from PCP to see how this is done.

Regards

I appreciate your time. "Phone service" for the product name might've been the ticket there! I also added the service template in the form of 'deviceTemplate;LineTemplate' to correspond to the row. Thank you! I finally have working batch templates.

Boobalan Rathinam
Cisco Employee
Cisco Employee

Hello Mike,

Phone and line service bundle is referred a "Phone Service" in Prime Collaboration Provisioning.

"AddPhoneService.txt" sample will be of help for your requirement.

I wonder if you can proof read this for me. I see nothing wrong with it, but PCP 11 doesn't take it. The rest of the information the template gave me was irrelevant.