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

how add a line in the database with axl?

Hi, i would like add the line for a phone, with axl if it is possible.

But I must add a line in the table deviceNumPlanMap to associate a phone with a second line. the phone has already a first line.

How can I add the line in the table deviceNumPlanMap with AXL or other?

thanks you for your answer

2 REPLIES

Re: how add a line in the database with axl?

first execute an addLine AXL operation, followed by an updatePhone operation (where you add the newly created line to the existing phone).

If you need help, execute a getPhone operation on an existing phone, then add a line via ccmadmin, do another getPhone and you'll see the difference and thus how a new line is being added.

Re: how add a line in the database with axl?

careful, when you updatPhone with lines, it will remove all lines and add the stated lines..

so you need to read your phone first to get the uuid and device-specific settings, then updatePhone with the existing line1 and the new line2

(when you add a line to a phone it has device-specific settings like label, E164 mask etc)

hth

178
Views
0
Helpful
2
Replies
CreatePlease to create content