<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>allow_trusted() uses the database, not the permissions files. I believe
there is an example of a database entry in the document.</DIV>
<DIV>g-)</DIV>
<DIV>---- Original Message ----<BR>From: Alberto<BR>To:
serusers@lists.iptel.org<BR>Sent: Thursday, September 15, 2005 05:19 PM<BR>Subject:
[Serusers] ser.cfg with PSTN gateway connectivity<BR><BR>> Hi,<BR>>
<BR>> I've read the SER Getting Started form http://www.onsip.org .<BR>>
<BR>> When I configure the ser with PSTN Gateway (subject 8 of the guide)
I<BR>> can't register any client (403, Forbidden). I think, the problem
is<BR>> the next line of ser.cfg: <BR>>
<BR>> if (!is_uri_host_local())
{<BR>>
if (is_from_local() || allow_trusted())
{<BR>>
route(4);<BR>>
route(1);<BR>>
} else
{<BR>>
sl_send_reply("403","Forbidden");<BR>>
};<BR>>
break;<BR>> };<BR>>
<BR>> I'd copied the permissions.allow and permissions.deny to<BR>>
/usr/local/etc/ser and in the .allow file I'd uncomment the last line<BR>>
(ALL:ALL) <BR>> <BR>> Any idea? Thanks.</DIV></BODY></HTML>