i have a problem, if i dial 111@domain.com i can call my doamin users without any registration in the asterisk. how to block this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/ac38268e/attachment.htm
Pietro U wrote:> i have a problem, if i dial 111@domain.com i can call my doamin users > without any registration in the asterisk. how to block this?Point your default value in sip.conf to an empty context. Florian
In your sip.conf or iax.conf you need to change the default context to something that will not interact with your main dialplan. _.::::::::::::::::::::::::::::::::::::::::::::::::::::::::._ Brian Fertig - dCAP, MSCE, CCNA, DCSE, RHCE Data/Telecom Engineer IT Administrator Planet Telecom, Inc Tampa, FL Office o: +1.813.864.3161x107 f: +1.813.881.9762 d:+1.813.864.3164 SIP URI: 107@sip.planet-telecom.com ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Pietro U Sent: Wednesday, June 07, 2006 1:07 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Block access to number@domain.com i have a problem, if i dial 111@domain.com i can call my doamin users without any registration in the asterisk. how to block this? This email was scanned by: Mcafee GroupShield ---------------- CONFIDENTIAL DISCLAMER ---------------- All information provided in this email is considered confidential and proprietary of Planet Telecom, Inc. and Telecenter Inc. Use of this information by anyone other than the recipient or sender will be considered in breach of agreement. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/5214fc42/attachment.htm
On Wed, 2006-06-07 at 14:06 -0300, Pietro U wrote:> i have a problem, if i dial 111@domain.com i can call my doamin users > without any registration in the asterisk. how to block this?Remove the "guest" user from sip.conf and iax.conf -- Carlos Chavez Prats Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/9f70b328/attachment.pgp
thanks! it works!@!! On 6/7/06, Florian Overkamp <florian@obsimref.com> wrote:> > Pietro U wrote: > > i have a problem, if i dial 111@domain.com i can call my doamin users > > without any registration in the asterisk. how to block this? > > Point your default value in sip.conf to an empty context. > > Florian > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/80ed040f/attachment.htm
Eric "ManxPower" Wieling
2006-Jun-07 15:36 UTC
[Asterisk-Users] Block access to number@domain.com
Pietro U wrote:> i have a problem, if i dial 111@domain.com <mailto:111@domain.com> i can > call my doamin users without any registration in the asterisk. how to > block this?You can start by not permitting it. By default Asterisk will allow any client to connect. You control this by using the context= line in sip.conf. I set context=INVALID in [general] in sip.conf so that unauthenticated calls will be rejected. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.