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