<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>Ed, I'm not versed with AXL admin at all, but looking at the API documentation, there's an updateLine object as well. Have you tried that?<span><br><br><span name="x"></span>---<br>Lelio Fulgenzi, B.A.<br>Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1<br>(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)<br>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>Cooking with unix is easy. You just sed it and forget it. <br>                              - LFJ (with apologies to Mr. Popeil)<br><span name="x"></span><br></span><br><hr id="zwchr"><b>From: </b>"Ed Leatherman" <ealeatherman@gmail.com><br><b>To: </b>"Cisco VOIP" <cisco-voip@puck.nether.net><br><b>Sent: </b>Tuesday, October 11, 2011 8:23:51 AM<br><b>Subject: </b>[cisco-voip] CM Admin AXL - question about updatePhone/Lines<br><br>Good morning,<br><br>I am working on a script to update line appearances on phones to<br>properly set the external phone number mask on each appearance on the<br>system where it is not currently set.<br><br>This is the first time i've worked with the AXL Admin interfaces, so<br>this is probably a very simple question.<br><br>I've noticed so far that when I send an update for a line appearance<br>on a phone that has multiple lines configured, it will properly update<br>the line i've specified but it will un-associate the other lines from<br>the phone. . for example<br><updatePhone><br>                                        <name>SEP88F0778994A1</name><br>                                        <lines><br>                                                <line><br>                                                        <index>1</index><br>                                                        <dirn><br><br><pattern>52003</pattern><br><br><routePartitionName>DP_WVU_Phones</routePartitionName><br>                                                        </dirn><br><br><e164Mask>3042952003</e164Mask><br>                                                </line><br>                                        </lines><br></updatePhone><br><br>This correctly sets e164 mask on the line appearance, but any other<br>appearances are removed from the phone. I suspect to make this work<br>correctly, I must also specify all the other line appearances, even if<br>i'm not going to make any changes to them, is this accurate? I will<br>try it this later today, would appreciate confirmation though. Any<br>options I can specify to avoid that?<br><br>I'm thinking this may be more simply done with a SQL query or two if<br>I'm going to have to explicitly list every line appearance.<br><br>Thanks!<br><br>-- <br>Ed Leatherman<br>_______________________________________________<br>cisco-voip mailing list<br>cisco-voip@puck.nether.net<br>https://puck.nether.net/mailman/listinfo/cisco-voip<br></div></body></html>