Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vmpro user variable script 1

Status
Not open for further replies.

shadow181

IS-IT--Management
Jan 19, 2005
206
CA
Hi,

We have a request from a client that we are unable to assist with and perhaps isn't possible

they have a lot of conference bridges, and unfortunately they are not always closed by the hosts.
would there be a way the client could write a script that would close the bridges?

if so what path would we manipulate?

any suggestions would be helpful.

thanks
 
You need to describe, or better, post the config.
Can't tell you how to sweep your conf rooms with out that info.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Hi Gunnaro

there are approx. 80 bridges each controlled by it's own variable.

what happens is users don;t always call back in and close their bridge.

i realize this wont disconnect people in the bridge, we will do that through a variable
 
Still way to little info. .MOD is gold.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Ok, so you use User Variables.

What did you name them? Conf01->80?

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Hi Gunnaro,

That module is one we use for testing and as template.
this users variables are actually bridge601 to bridge680 as an example.

 
Ok, here's your fix:

- You need to delete all the "bridgeXXX" User Variables and make new ones with only numbers (601 to 680)
- Then you need to re-assign the new matching User Variable to every "TestIsOpen" (In all of the 80 x Test User Variable-actions)
- You really should consider changing the test from "OPEN" to "1". VMPro likes numbers...Make sure you alter the trigger actions that sets the value as well
- Make a Short Code in the IPO: **999## / Voicemail Collect / "Reset" / 0
- Import the "Reset" Mod to VMPro. You can download it right here

When you hit this SC, every User Variable from 601 to 680 will have the value set to "0"


Oh, and there's a little hidden gem in the "Resetting Variables"-action [wink]
An undocumented Free Format command: "EVAL:$REG[$COUNTER1]=0" (the $COUNTER can be changed to other variables)

Enjoy!

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Tested before published - R9.1 Approved :)

(Pre R8.1.91 you can even make an alarm do the reset on a daily basis - Avaya broke that in the recent releases)

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Hi Gunmar,


We can send an email when the user variable is set.
I didn't realize we could throw an alarm on a variable?

I know you mention it is broke, is there an example i could see of the mod?

thanks,
 
Gunmar? Short for TOPGUN Miramar? [smile]

You can't throw an alarm directly on a User Variable, but you can/could make it dial a funny short code starting with @ or $, then the short code would run VM Collect> Module_name.

I posted a config on this back in 2014, I'll see if I can find it.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
thats right!.

oops!
I'll see what if i can find that module.

Thanks!
 
I should probably put all my cr@p in a FAQ, can't find it myself :)

I'll find it tomorrow, re-postit here.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Feels like the bastards went out of their way to prevent this feature.
But I found a way around it (ofc [smile]), so here you go Chris:

Create a Short Code
- Without special characters.
- Make sure it doesn't come in conflict with any dial plans or extensions
- SC: 876 / Voicemail Collect / "Reset" / 0

Make a phantom user
- Outside the extn range (in my case Fake - 999)
- Enable DND, add exception for: ALARM CALL (to prevent anyone but VMPro to trigger this)
- Forward Unconditional to 876 (or your choice)
- Ex-directory

Make an Alarm (in Server Queues)
- Daily at 23:59 -> extn 999 (or your choice) -> 20 sec
- You can add as many as you want, if you need to make more frequent kills

Now, anyone could dial the short code 876, so I've modified the Reset module, accepting only calls with CLI "ALARM CALL"
You can download the new module Here

Works on any VMPro that I know of.

Happy Easter!

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Thanks Gunnaro!
i will download and play with that.

Thanks again :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top