[cisco-voip] CM Admin AXL - question about updatePhone/Lines

Lelio Fulgenzi lelio at uoguelph.ca
Tue Oct 11 10:28:31 EDT 2011


OK - So I wasn't reading that incorrectly. 

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

It's an option that might get you over the hump if you need to do something quickly. 

Good luck! 

--- 
Lelio Fulgenzi, B.A. 
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1 
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN) 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Cooking with unix is easy. You just sed it and forget it. 
- LFJ (with apologies to Mr. Popeil) 


----- Original Message -----
From: "Ed Leatherman" <ealeatherman at gmail.com> 
To: "Lelio Fulgenzi" <lelio at uoguelph.ca> 
Cc: "Cisco VOIP" <cisco-voip at puck.nether.net> 
Sent: Tuesday, October 11, 2011 10:22:08 AM 
Subject: Re: [cisco-voip] CM Admin AXL - question about updatePhone/Lines 

Unfortunately there is no way to update the "line appearance" settings 
from that element in AXL, at least that I can see. Items such as 
display name, external phone number mask, max calls/busy trigger, etc. 
look like they can only be altered as children of the <updatePhone> 
tag. 

I'm looking at just using SQL instead, just getting started digging up 
the data dictionary and figuring out the tables i'm interested in. 

On Tue, Oct 11, 2011 at 10:11 AM, Lelio Fulgenzi <lelio at uoguelph.ca> wrote: 
> 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? 
> 
> --- 
> Lelio Fulgenzi, B.A. 
> Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1 
> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> Cooking with unix is easy. You just sed it and forget it. 
> - LFJ (with apologies to Mr. Popeil) 
> 
> 
> ________________________________ 
> From: "Ed Leatherman" <ealeatherman at gmail.com> 
> To: "Cisco VOIP" <cisco-voip at puck.nether.net> 
> Sent: Tuesday, October 11, 2011 8:23:51 AM 
> Subject: [cisco-voip] CM Admin AXL - question about updatePhone/Lines 
> 
> Good morning, 
> 
> I am working on a script to update line appearances on phones to 
> properly set the external phone number mask on each appearance on the 
> system where it is not currently set. 
> 
> This is the first time i've worked with the AXL Admin interfaces, so 
> this is probably a very simple question. 
> 
> I've noticed so far that when I send an update for a line appearance 
> on a phone that has multiple lines configured, it will properly update 
> the line i've specified but it will un-associate the other lines from 
> the phone. . for example 
> <updatePhone> 
> <name>SEP88F0778994A1</name> 
> <lines> 
> <line> 
> <index>1</index> 
> <dirn> 
> 
> <pattern>52003</pattern> 
> 
> <routePartitionName>DP_WVU_Phones</routePartitionName> 
> </dirn> 
> 
> <e164Mask>3042952003</e164Mask> 
> </line> 
> </lines> 
> </updatePhone> 
> 
> This correctly sets e164 mask on the line appearance, but any other 
> appearances are removed from the phone. I suspect to make this work 
> correctly, I must also specify all the other line appearances, even if 
> i'm not going to make any changes to them, is this accurate? I will 
> try it this later today, would appreciate confirmation though. Any 
> options I can specify to avoid that? 
> 
> I'm thinking this may be more simply done with a SQL query or two if 
> I'm going to have to explicitly list every line appearance. 
> 
> Thanks! 
> 
> -- 
> Ed Leatherman 
> _______________________________________________ 
> cisco-voip mailing list 
> cisco-voip at puck.nether.net 
> https://puck.nether.net/mailman/listinfo/cisco-voip 
> 



-- 
Ed Leatherman 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20111011/1c34c6e1/attachment.html>


More information about the cisco-voip mailing list