[asterisk-users] How to limit extension to allow only internal calls
C F
shmaltz at gmail.com
Sun Jun 1 19:30:09 CDT 2008
Context create the devices in contexts that don't have access to
outbound dialing. For example:
sip.conf
[phonewithoutbounddialing]
othersettingsgohere
context=all
[phoneinternal]
othersettingsgohere
context=internal
extensions.conf
[all]
exten => _1XXXXXXXXXX,1,Dial(whatever)
include => internal
[internal]
exten => _6XX,1,Dial(Sip/${EXTEN})
the above will work that any device starting in the internal context
will only be able to dial 6XX.
Hope this helps.
On Sun, Jun 1, 2008 at 5:00 PM, DEVEL STAROSTA <devel at starosta.org> wrote:
> Hi all,
>
> I'm playing with asterisk and I try to make system for my sister hotel
> with aprox. 40 extensions (30 rooms, 1 reception, 2 office, 4 services
> phones on each floor). I.ve installed latest version of trixbox (for
> GUI) but I made manual modifications.
> This is actual server:
> - n.1 Pci card with 2 x FXO + 2 x FXS
> - n. 2 Trunk to outside (my local Voip provider + 1 PSTN)
> I've buyed also 50 telephones from ATCOM (IP530), make all
> configurations and now seems all work fine, I can make calls (outside,
> inside) make transfer, ecc.
>
> My problem:
> I have 4 services phones (each per floor) which must be able to make
> only internal calls (not external - no PSTN nor VOiP provider), I've
> just look about solution in Google, mailing list, I can't find solution,
> please can someone give me an idea ?
> NB: sorry for my english ... ;)
>
> Alberto
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list