prevent internal extensions from getting calls from outside
Hi, i have a gateway that allows us to call outside and allows calls to reach the extensions from outside, but i have a bunch of extensions that we dont want to be able to receive calls from outside. We have a block of numbers, if any of those numbers is dialed from the PSTN or any external network the call will be routed, through the external gateway, to the PBX so it is up to the PBX to decide if the call should reach the extension or not. there are some restrictions .. i can not have different number segments for the extensions, they all are in the same segment, a given extension could not be allowed to be reached from outside at this time but it may be reachable in a latter time (due to change in the user status in the company), etc ... i tried to put a variable in the directory for a user but when the call arrives at the PBX and the PBX is routing that variable is not available yet and i m having trouble figuring out when that variable is available before bridging the call so i can use it as a condition to route the call. any hint will on how to deal with will help. thanks!
How is the caller getting to the extension in the first place? Do you have a block of DIDs or is the caller dialing an ext at an auto attn? -MC On Friday, August 31, 2012, Juan Pablo L. <jpablolorenzetti@hotmail.com> wrote:
Hi, i have a gateway that allows us to call outside and allows calls to reach the extensions from outside, but i have a bunch of extensions that we dont want to be able to receive calls from outside. We have a block of numbers, if any of those numbers is dialed from the PSTN or any external network the call will be routed, through the external gateway, to the PBX so it is up to the PBX to decide if the call should reach the extension or not. there are some restrictions .. i can not have different number segments for the extensions, they all are in the same segment, a given extension could not be allowed to be reached from outside at this time but it may be reachable in a latter time (due to change in the user status in the company), etc ... i tried to put a variable in the directory for a user but when the call arrives at the PBX and the PBX is routing that variable is not available yet and i m having trouble figuring out when that variable is available before bridging the call so i can use it as a condition to route the call.
any hint will on how to deal with will help. thanks! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
Juan Pablo L.
-
Michael Collins