<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=015585015-23112006><FONT face=Arial size=2>Does anybody have an
example about how to use credentials to permit some kinds of calls to some users
on SER?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=015585015-23112006><FONT face=Arial size=2>I tried this but, it
stops work with no cause:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=015585015-23112006><FONT face=Arial
size=2>
if (uri=~"^sip:0800.*@.*") {
<BR>
if(!is_user_in("credentials", "0800"))
{<BR>
sl_send_reply("403", "No
0800");<BR>
log(1,"No
0800");<BR>
break;<BR>
};<BR>
consume_credentials();<BR>
prefix
("5511");<BR>
route(8);<BR>
break;<BR>
};</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=015585015-23112006><FONT face=Arial
size=2>Thanks,<BR>Daniel</FONT></SPAN></DIV>
<DIV><SPAN class=015585015-23112006><FONT face=Arial
size=2> </DIV></FONT></SPAN></BODY></HTML>