[Serusers] Credentials
Weiter Leiter
bp4mls at googlemail.com
Sat Nov 25 23:14:51 CET 2006
Sure, try here: http://www.iptel.org/ser/doc/gettingstarted
On 11/23/06, Daniel Mirrha Santos <dmirrha at telcomnet.com.br> wrote:
>
> Does anybody have an example about how to use credentials to permit some
> kinds of calls to some users on SER?
>
> I tried this but, it stops work with no cause:
>
> if (uri=~"^sip:0800.*@.*") {
> if(!is_user_in("credentials", "0800")) {
> sl_send_reply("403", "No 0800");
> log(1,"No 0800");
> break;
> };
> consume_credentials();
> prefix ("5511");
> route(8);
> break;
> };
>
> Thanks,
> Daniel
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061125/f306cdc0/attachment.htm>
More information about the sr-users
mailing list