> -----Original Message----- > From: [email protected] [mailto:asterisk-users- > [email protected]] On Behalf Of Paul van der Vlis > Sent: Thursday, April 21, 2011 3:09 AM > To: [email protected] > Subject: Re: [asterisk-users] allowguest=yes, how? > > Op 20-04-11 21:47, Danny Nicholas schreef: > >> -----Original Message----- > >> From: [email protected] [mailto:asterisk-users- > >> [email protected]] On Behalf Of Paul van der Vlis > >> Sent: Wednesday, April 20, 2011 2:41 PM > >> To: [email protected] > >> 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". > > < cut setup > > > >> Is this a good setup? > >> > >> > > [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. > > Maybe you mean something like this? > > extensions.conf: > ------------- > [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) > (...) > -------- > > sip.conf: > ----------- > [general] > context=default > allowguest=no > (...) > > [guests] > context=default > allowguest=yes > > [trunk] > context=dialout > (...) > > [phone-paul] > context=dialout > (...) > > [phone-ann] > context=dialout > (...) > ----------- > > Thanks for your help! > > 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] I think that's the general idea - perhaps a higher food chain poster can offer better insight.
-- _____________________________________________________________________ -- 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
