[asterisk-users] allowguest=yes, how?
Danny Nicholas
danny at debsinc.com
Wed Apr 20 14:47:56 CDT 2011
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Paul van der Vlis
> Sent: Wednesday, April 20, 2011 2:41 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] allowguest=yes, how?
>
> Hello,
>
> I want that people from other servers like ekiga.net can make calls to
> my users. When I do an "allowguest=no" then people from other domains
> cannot call me. So I think I need "allowguest=yes".
>
> Maybe something like this?
> -------------
> <default>
> include => users
>
> <dialout>
> include => users
> exten=_0.,1,Dial(SIP/trunk/0${EXTEN:1},30,tT)
>
> <users>
> exten=>6001,1,Dial(SIP/paul,20)
> exten=>6002,1,Dial(SIP/ann,20)
> (...)
> --------
>
> And then in sip.conf:
> -----------
> [general]
> context=default
> allowguest=yes
> (...)
>
> [trunk]
> context=dialout
> (...)
>
> [phone-paul]
> context=dialout
> (...)
>
> [phone-ann]
> context=dialout
> (...)
> -----------
>
> Is this a good setup?
>
> With regards,
> Paul van der Vlis.
>
>
>
>
> --
> http://www.vandervlis.nl/
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
[Danny Nicholas]
Talking a little "out of school", but the safest method is going to be to
set up one context with allowguest=yes that has ABSOLUTELY NO DIALING
PRIVILEDGES, otherwise you will open Pandora's box.
More information about the asterisk-users
mailing list