hi, i facing a problem here. in my sip.conf, i specify a account like this, [1234] type=friend context=from-sip username=1234 secret=1234 nat=no canreinvite=yes dtmfmode=info mailbox=1234@default disallow=all allow=ulaw so i am able to login with username 1234 and password 1234 but ther weird part is, i can also register as any number (account) without having to specify in sip.conf. thus anybody can just use my system to call others.. lets say i do have set that some certain account can make some certain calls only. how can i solve this problem? thank you.
On 10/14/05 15:42 Kong said the following:> but ther weird part is, i can also register as any number (account) > without having to specify in sip.conf. thus anybody can just use myunder the [general] section, use a context which limits what unauthenticated users can do/call. it can even be a catchall IVR which says "bugger off !". :) -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
how to chech if the user is an unauthenticated one? thank you At 03:58 PM 10/14/2005, you wrote:>On 10/14/05 15:42 Kong said the following: >>but ther weird part is, i can also register as any number (account) >>without having to specify in sip.conf. thus anybody can just use my > >under the [general] section, use a context which limits what >unauthenticated users can do/call. it can even be a catchall IVR >which says "bugger off !". :) > >-- >Regards, /\_/\ "All dogs go to heaven." >dinesh@alphaque.com (0 0) http://www.alphaque.com/ >+==========================----oOO--(_)--OOo----==========================+ >| for a in past present future; do | >| for b in clients employers associates relatives neighbours pets; do | >| echo "The opinions here in no way reflect the opinions of my $a $b." | >| done; done | >+=========================================================================+ >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
On 10/14/05 16:40 Kong said the following:> how to chech if the user is an unauthenticated one? thank youread www.voip-info.org on SIP. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
can i know where to start? SIP is such a big topic. At 05:58 PM 10/14/2005, you wrote:>On 10/14/05 16:40 Kong said the following: >>how to chech if the user is an unauthenticated one? thank you > >read www.voip-info.org on SIP. > >-- >Regards, /\_/\ "All dogs go to heaven." >dinesh@alphaque.com (0 0) http://www.alphaque.com/ >+==========================----oOO--(_)--OOo----==========================+ >| for a in past present future; do | >| for b in clients employers associates relatives neighbours pets; do | >| echo "The opinions here in no way reflect the opinions of my $a $b." | >| done; done | >+=========================================================================+ >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, Try add [1234] ... host=dynamic or host=xxx.xxx.xxx.xxx (the client's IP) ... ... AK On 10/14/05, Kong <kongzs@irepublics.com> wrote:> > hi, i facing a problem here. in my sip.conf, i specify a account like > this, > [1234] > type=friend > context=from-sip > username=1234 > secret=1234 > nat=no > canreinvite=yes > dtmfmode=info > mailbox=1234@default > disallow=all > allow=ulaw > > so i am able to login with username 1234 and password 1234 > > but ther weird part is, i can also register as any number (account) > without having to specify in sip.conf. thus anybody can just use my > system to call others.. lets say i do have set that some certain > account can make some certain calls only. > > how can i solve this problem? > > thank you. > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > 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/20051014/0b560ffd/attachment.htm