I am able to use a feature code to direct connect to an extension and talk to someone. I want to dial and extension and page multiple phones at once. How can this be done?
I created a feature code *3o
I created a feature code *3o using the tl-page script and then selected which phones I wanted to dial. Seems to be working but is slow when you add 30 phones so I will tweak to reduce the # of phones.
Thanks for the update.
well yea you just made a
well yea you just made a conference room full of 30 people, its also a load on the box depending on hardware. I would not advise using this in MTE, otherwise a couple of tenants could create problems for the rest of your customers.
Erik, thanks for this info.
Erik, thanks for this info.
http://www.voip-info.org/wiki/index.php?page=Script+to+page+mixed+SIP+%…
I followed these instructions and modified the original script just a little. I removed the SCCP code since I don't use it and only need half of my phones to perform intercom functions because of our open floor plan.
@sips = `asterisk -rx "show hints"`;
foreach $sipline (@sips) {
$i++;
my ($junk0, $exten, $junk1, $chan, $state, $junk2) = split(/ +/, $sipline,6);
my ($type, $extension) = split(/\//,$chan,2);
unless (($state ne "State:Idle") || (grep(/$extension/i, @bypass))) {
unless ($i % 2){
push(@mypage,"$chan");
}
}
}
I also had to modify the header info to work with my Polycom phones.
exten => s,1,Set(TIMEOUT(absolute) = 15)
exten => s,n,AGI(page.agi||) )
exten => s,n,SetCallerID("Page:${CALLERIDNAME}" <${CALLERIDNUM}>)
exten => s,n,SIPAddHeader(Alert-Info: )
exten => s,n,SIPAddHeader(Call-Info: <>\;answer-after=0)
exten => s,n,Set(_SIP_URI_OPTIONS=intercom=true)
exten => s,n,Page(${PAGE_GROUP})
exten => s,n,Hangup()
its a combination of using the sip headers to tell the phone to auto-answer and using the Page() application in asterisk. Page will invite all the extensions as muted members of a conference so you don't get feedback.
If you look at some scripts that run a loop to add multiple devices (tl-ringgroup-all for example) you should be able to pair that with the paging script header code and use Page() instead of a Dial().