[cisco-voip] Update Specific Line Fields in CUCM 6.1(2) using BAT

Go0se me at go0se.com
Wed May 20 17:38:31 EDT 2009


I wouldn't believe you about the negative DLUs except I've seen it with my
own eyes. although it was on a cucumber 7 box. 

 

<soap box> I'm shocked the Cisco licensing Nazis would allow this. </soap
box> 

 

Anyway, I don't know what to tell you - if you delete a single phone will it
let you add it back?

 

-go0se

http://atc.go0se.com

 

From: Anthony Kouloglou [mailto:akoul at dataways.gr] 
Sent: Wednesday, May 20, 2009 3:22 PM
To: Go0se
Cc: 'Dana Tong (AU)'; 'ci >> "cisco-voip at puck-nether.net"'
Subject: Re: [cisco-voip] Update Specific Line Fields in CUCM 6.1(2) using
BAT

 

Hi Goose,
i am afraid of deleting the devices and reentering them. Why?
Because all the device licenses in this CUCM were produced by upgrading the
previous 4.1 CCM.
In that way, i have a -XXX device units.
Were the system allow me to delete these devices and then reenter them?

Cheers
Anthony

Go0se wrote: 

There is an UPDATE feature but unless I'm misunderstanding your request it
won't do what you want to do. If you want to change the external phone
number mask field on every line with an extension that begins with X to
234555XXXX or if you want to change the forward busy internal destination to
4500 on every phone in a certain calling search space then the UPDATE tool
is perfect. But if you want it to change the line text label to something
different on each line of 1000 phones (each line text label has  a different
value), then the update tool won't work. Your description of what you are
trying to achieve is vague - I assume that you want to have a spreadsheet
that has something like:

 

EXT         NEW LINE TEXT LABEL

1000       Joe Smith

1001       Bob Jones

1003       Ann Johnson

1307       Mike Regal

(and so on)

 

And then you want BAT to go thru the above file and if it finds ext. 1000
then it should overwrite the existing line text label with Joe Smith and
then on ext. 1001 replace the existing line text label with Bob Jones, etc.,
etc. It won't to this. If this is what you want I don't know of any other
way than either AXL or deleting and recreating the phones (or updating each
line manually).

 

If anyone else knows of an easier or better way it I'm all ears.

 

-Go0se

http://atc.go0se.com

 

From: Anthony Kouloglou [mailto:akoul at dataways.gr] 
Sent: Wednesday, May 20, 2009 12:38 PM
To: Go0se
Cc: 'Dana Tong (AU)'; 'ci >>  <mailto:cisco-voip at puck-nether.net>
"cisco-voip at puck-nether.net"'
Subject: Re: [cisco-voip] Update Specific Line Fields in CUCM 6.1(2) using
BAT

 

Hi Goose,
you mean what Dana suggested, is not possible? I will have to delete the
phones before reentering them?
There is no way to update the phones?

Thanks
Anthony

Go0se wrote: 

If you are using BAT you would need to export the phone information,
"massage" it back into a new BAT file (or files) with required changes,
delete the existing phones, and then re-import the phones from the new BAT
file(s). IF YOU DO THIS BE SURE YOU HAVE AUTO REGISTRATION TURNED OFF
otherwise all your phones will auto register after you do the delete and the
new import will fail. If you have a lot of phones to update, I'll give you a
word of advice from experience. I would suggest you perform this on a small
subset of phones first before you "shotgun blast" a large number of phones.

 

If you simply wish to change the Caller ID on x number of phones from their
individual extensions to say the company's main number you can do so via the
UPDATE LINES function (BULK ADMINISTRATION | PHONES |ADD/UPDATE LINES |
UPDATE LINES). You can perform a query that finds the extensions you wish to
change, then in the UPDATE LINES section check the box next to "external
phone number mask" and in the box enter the main phone number of the
company. You cannot, however, do a query that will parse a BAT file full of
something like "current caller id" and "new caller id" fields getting it to
do a glorified "search and replace". I believe you would need to resort to
AXL for something like that.

 

-Go0se

http://atc.go0se.com

 

 

From: cisco-voip-bounces at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Anthony Kouloglou
Sent: Wednesday, May 20, 2009 2:22 AM
To: Dana Tong (AU)
Cc: ci >>  <mailto:cisco-voip at puck-nether.net> "cisco-voip at puck-nether.net"
Subject: Re: [cisco-voip] Update Specific Line Fields in CUCM 6.1(2) using
BAT
Importance: Low

 

Hi,
do i have to delete those phones?
I cannot see anywhere update phones.
If i try to insert phones that are already registered, i get an error
message.
Also, i have tried to to inserted lines with bat.xlt but i get an error
message after i click on export to BAT format "compile error, sub or
function not defined"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090520/d2905fce/attachment.html>


More information about the cisco-voip mailing list