06-05-2008 11:47 PM - edited 03-13-2019 05:19 PM
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
06-06-2008 04:06 AM
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.
06-06-2008 01:21 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide