[Asterisk-Users] sip accounts

Andy Kuo akuoca at gmail.com
Fri Oct 14 13:07:00 MST 2005


Hi,
 Try add
 [1234]
...
host=dynamic or host=xxx.xxx.xxx.xxx (the client's IP)
...
...
  AK

 On 10/14/05, Kong <kongzs at 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 at 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 at 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


More information about the asterisk-users mailing list