*****Before I begin I just wanted to give a shout out to Melding Technology for helping with this project. They basically took an unfinished script that a reader found out on the internet and fixed it to a working state. So thanks to Jay and Angela for working on the script.*******
I got a question from a reader about a MSPL script he had found on the web from this TechNet forum post.
http://social.technet.microsoft.com/Forums/eu/ocsvoice/thread/f5829e31-42bd-4a65-bf1a-4777c5c54770
Basically the script didn’t run but was supposed to enable busy on busy. With some help from Melding Technology here in Seattle this script is now functional but with some limitations. Apparently the original script was close to working but needed some small changes. Currently it doesn’t check if a user is enabled for Unified Messaging and just returns a busy signal if already on a call. I will post updates if they enable this. This script does however check if a user is defined for this feature by looking up the user.txt file. So as long as you define the user in User.txt they will get busy on busy if they are on a call when a second call arrives. Also beware this script has not been tested in a large scale roll out. It has only been tested in a lab setting so use at your own risk.
The links below are access to both the script and user file from my Public Skydrive share. Please feel free to grab and use this. I have posted the full text of the script below to view before downloading the file.
Script
User text file
<?xml version="1.0" ?> <lc:splScript> //Log ("Event", false, "***BusyBusy***: started script"); // Check if this is a re-INVITE and exit if so // Log( "Debugr", false, "***BusyBusy***: toUserAtHost - ", toUserAtHost ); // // Comment this if block if you want to apply the filter to everybody
if ( hasAudio ) {
foreach (dbEndpoint in QueryEndpoints(toUserAtHost)) {
if (IndexOfString(publication, "on-the-phone") >= 0) { } //Log( "Debugr", false, "***BusyBusy***: found ", totalEndpoints, " endpoint(s)" );
} Log( "Debugr", false, "***BusyBusy***: finished script"); return; |
If you want to use this script and make changes please let me know. This is a community project that started as a post on a forum so please share if you make improvements, changes etc.
Comments welcomed.
VoIPNorm