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
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.
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)