cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Problem with AXL addPhoneButtonTemplate

I am having some troubles with the AXL addPhoneButtonTemplate method; I am able to create a button template and it appears to be correct when viewing it in the CUCM Admin web interface, but when I apply it to the phone it doesn't work properly. I suspect this may be a bug but I could use some help confirming if this a problem on the CUCM or something I'm doing wrong with my AXL request.

 

Example: I create a button template that should look like this:

  1. Line 1
  2. Line 2
  3. Speed Dial 1
  4. Speed Dial 2
  5. Speed Dial 3
  6. Speed Dial 4
  7. Speed Dial 5
  8. Service URL

But when I apply it to a phone it looks like this:

ButtonTemplateIssue-PhoneScreenshot.png

 

I checked the database side and it looks like the paramn1 column isn't set correctly. Here's is a query that shows the values on the button template created via the AXL API (top) and a button template created using the normal admin interface (bottom)

 

admin:run sql SELECT phonetemplate.pkid, name, tkmodel, buttonnum, tkfeature, label, paramn1 FROM phonetemplate LEFT JOIN phonebutton ON phonebutton.fkphonetemplate = phonetemplate.pkid WHERE phonetemplate.pkid IN ('01582c3e-4b8c-9e07-b254-7084068d1ae7', '7960d8ca-b09d-9fd2-15ac-ded2408acc19') ORDER BY phonetemplate.pkid, buttonnum
pkid name tkmodel buttonnum tkfeature label paramn1
==================================== ======== ======= ========= ========= ============ =======
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 1 9 Line 1 1
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 2 9 Line 2 1
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 3 2 Speed Dial 2
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 4 2 Speed Dial 3
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 5 2 Speed Dial 4
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 6 2 Speed Dial 5
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 7 2 Speed Dial 6
01582c3e-4b8c-9e07-b254-7084068d1ae7 API-Test 30016 8 20 Service URL 7



7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 1 9 Line 1 1
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 2 9 Line 2 2
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 3 2 Speed Dial 1 1
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 4 2 Speed Dial 2 2
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 5 2 Speed Dial 3 3
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 6 2 Speed Dial 4 4
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 7 2 Speed Dial 5 5
7960d8ca-b09d-9fd2-15ac-ded2408acc19 Web-Test 30016 8 20 Service URL 1

The Paramn1 column for the rows ends up being 1, 1, 2, 3, 4, 5, 6, 7 instead of being 1-X for each button type.

 

I've tried this on several different CUCM servers running versions 12.5.1.10000-22 and 12.5.1.11900-146

Who Me Too'd this topic