03-06-2013 12:52 PM - edited 03-16-2019 04:06 PM
Hi
. I have already added 250 phones aasigned to a particular users through BAT now i want to achieve below.through BAT
Thanks.
Solved! Go to Solution.
03-06-2013 01:19 PM
Clark,
I want to deploy a softkey template for 100 users.
softkey templates are assigned to phones. So, you can create a custom query file with your phone MAC addresses in the file. Upload that to BAT and then run your Phone update from custom query file.
If the phone group can be easily identified by another device parameter (such as device pool, description, etc.) then you won't need a custom query. Instead, you can query based on the common config parameter.
In both you would use Phones->Update Phones
I want to deploy a call pickup for 50 users different from point (1)
This is a line level configuration with a Device+Line level dependency (effective calling search space). If we assume you have your calling search spaces configured correctly then you can do an "Update Line" from BAT. The possible roadblock being that you need to find a common line parameter to group your lines. You can do things like directory number begins with or something similar. As with other BAT update tools you can use a composite query. I can't tell you what query will work in your environment. I can say that when it comes to dynamic updates on lines I usually don't leverage BAT and go the route of doing a custom SQL update query. I am thinking it best not to go too deeply into that on this thread.
Meetme for group of 20 users and 20 for another 20 users
Unless you are looking to restrict access to MeetMe then you can easily create your MMLs in CUCM and just tell people what number is theirs. If you are trying to restrict access by user I suggest you don't go that path as a general rule. Just create your MMLs and make sure the devices have the appropriate softkeys, CSS configs, and MRGL configs.
Conference for more than 6 people
This element can be treated in a manner similar to Meetme. Except that CSS configs don't matter. Again, no BAT required to deploy.
In the last two, if you are looking to assign a specific MRGL you can do that via device pool or you can use the Phone Update query to assign the MRGL. So, the logic is the same as deploying the softkey template.
Another thought: if you just created these phones and you still have a bunch of tweaks then you could look at creating a custom phone template that captures your tweaks, recreate your records, and re-import the phone/users. Maybe not optimal at this point but something to keep in mind.
HTH.
-Bill (@ucguerrilla)
Please remember to rate helpful responses and identify
03-06-2013 01:19 PM
Clark,
I want to deploy a softkey template for 100 users.
softkey templates are assigned to phones. So, you can create a custom query file with your phone MAC addresses in the file. Upload that to BAT and then run your Phone update from custom query file.
If the phone group can be easily identified by another device parameter (such as device pool, description, etc.) then you won't need a custom query. Instead, you can query based on the common config parameter.
In both you would use Phones->Update Phones
I want to deploy a call pickup for 50 users different from point (1)
This is a line level configuration with a Device+Line level dependency (effective calling search space). If we assume you have your calling search spaces configured correctly then you can do an "Update Line" from BAT. The possible roadblock being that you need to find a common line parameter to group your lines. You can do things like directory number begins with or something similar. As with other BAT update tools you can use a composite query. I can't tell you what query will work in your environment. I can say that when it comes to dynamic updates on lines I usually don't leverage BAT and go the route of doing a custom SQL update query. I am thinking it best not to go too deeply into that on this thread.
Meetme for group of 20 users and 20 for another 20 users
Unless you are looking to restrict access to MeetMe then you can easily create your MMLs in CUCM and just tell people what number is theirs. If you are trying to restrict access by user I suggest you don't go that path as a general rule. Just create your MMLs and make sure the devices have the appropriate softkeys, CSS configs, and MRGL configs.
Conference for more than 6 people
This element can be treated in a manner similar to Meetme. Except that CSS configs don't matter. Again, no BAT required to deploy.
In the last two, if you are looking to assign a specific MRGL you can do that via device pool or you can use the Phone Update query to assign the MRGL. So, the logic is the same as deploying the softkey template.
Another thought: if you just created these phones and you still have a bunch of tweaks then you could look at creating a custom phone template that captures your tweaks, recreate your records, and re-import the phone/users. Maybe not optimal at this point but something to keep in mind.
HTH.
-Bill (@ucguerrilla)
Please remember to rate helpful responses and identify
03-07-2013 09:57 AM
Hello william
softkey templates are assigned to phones. So, you can create a custom query file with your phone MAC addresses in the file.
How to create a custom query file, I am very new to IP telephony.Can you elaborate more.
This is a line level configuration with a Device+Line level dependency (effective calling search space). If we assume you have your calling search spaces configured correctly then you can do an "Update Line" from BAT. The possible roadblock being that you need to find a common line parameter to group your lines. You can do things like directory number begins with or something similar. As with other BAT update tools you can use a composite query.
Also can you elaborate more on the BAT file for the point no 2 as you mentioned above.
Thanks
03-07-2013 11:04 AM
Clark,
A custom query file is simply a text file with a list of devices. So, if you had a text file like the following:
SEPDEADBEEF0001
SEPDEADBEEF0002
SEPDEADBEEF0003
Then you could upload that via BAT and then do a Phone update via custom query. Any changes you select would only apply to phones listed in the query file. Building the list of devices is a separate topic altogether. I typically use SQL queries to build my lists because I can apply pretty complicated selection criteria.
The Update Lines function does not leverage custom query files. If you are strictly using BAT to do bulk changes on directory numbers then you need some common parameter that you can filter on to cleanly group the directory numbers you want to change. I'll be honest, I tend to do all of my "bulk" line updates via SQL query or custom script using AXL/SOAP API. Probably a little more involved then you are looking for.
If you wanted to see some samples of using SQL queries with CUCM then check out my blog site at http://ucguerrilla.com. There are a decent number of samples there and I have more in the queue.
HTH.
-Bill (@ucguerrilla)
Please remember to rate helpful responses and identify
03-07-2013 12:12 PM
Thanks William,
Yes i did through
Phone update via custom query.
and it worked for me, The same if supoose i want to do for the users who are using extension mobility whoes UDP profile has been created then what will be the procedure.
Unless you are looking to restrict access to MeetMe then you can easily create your MMLs in CUCM and just tell people what number is theirs. If you are trying to restrict access by user I suggest you don't go that path as a general rule.
As per above paragragh How we can do restrict access by user
03-13-2013 01:35 PM
Clark,
Restricting access to a MML is basically a smoke and mirrors endeavor.At a high level:
You put a MML in a dedicated partition
Configure a phone or phone line to have access to that partition (from the phone that has the right to open the MML
You then redirect calls to the MML DN made from other phones/lines/PSTN parties so that they can't open the MML. Some like to push the call through CCX or Unity Connection to have name announcement, pins, etc. I find it to be a little clunky and imperfect myself.
HTH.
Bill
Please remember to rate helpful responses and identify
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