<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>OK - So I wasn't reading that incorrectly.<br><br>There's also the bulk admin tool for updating lines. It's only query based in v7, not sure if you can use a custom file in v8 (although you can use custom file to update phones?).<br><br>It's an option that might get you over the hump if you need to do something quickly.<br><br>Good luck!<br><span><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>"Lelio Fulgenzi" <lelio@uoguelph.ca><br><b>Cc: </b>"Cisco VOIP" <cisco-voip@puck.nether.net><br><b>Sent: </b>Tuesday, October 11, 2011 10:22:08 AM<br><b>Subject: </b>Re: [cisco-voip] CM Admin AXL - question about updatePhone/Lines<br><br>Unfortunately there is no way to update the "line appearance" settings<br>from that element in AXL, at least that I can see. Items such as<br>display name, external phone number mask, max calls/busy trigger, etc.<br>look like they can only be altered as children of the <updatePhone><br>tag.<br><br>I'm looking at just using SQL instead, just getting started digging up<br>the data dictionary and figuring out the tables i'm interested in.<br><br>On Tue, Oct 11, 2011 at 10:11 AM, Lelio Fulgenzi <lelio@uoguelph.ca> wrote:<br>> Ed, I'm not versed with AXL admin at all, but looking at the API<br>> documentation, there's an updateLine object as well. Have you tried that?<br>><br>> ---<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>><br>><br>> ________________________________<br>> From: "Ed Leatherman" <ealeatherman@gmail.com><br>> To: "Cisco VOIP" <cisco-voip@puck.nether.net><br>> Sent: Tuesday, October 11, 2011 8:23:51 AM<br>> Subject: [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>><br><br><br><br>-- <br>Ed Leatherman<br></div></body></html>