[Serusers] ser.cfg with PSTN gateway connectivity

Greger V. Teigre greger at teigre.com
Thu Sep 15 17:56:37 CEST 2005


allow_trusted() uses the database, not the permissions files. I believe there is an example of a database entry in the document.
g-)
---- Original Message ----
From: Alberto
To: serusers at lists.iptel.org
Sent: Thursday, September 15, 2005 05:19 PM
Subject: [Serusers] ser.cfg with PSTN gateway connectivity

> Hi,
> 
> I've read the SER Getting Started form http://www.onsip.org .
> 
> When I configure the ser with PSTN Gateway (subject 8 of the guide) I
> can't register any client (403, Forbidden). I think, the problem is
> the next line of ser.cfg:  
> 
>        if (!is_uri_host_local()) {
>                 if (is_from_local() || allow_trusted()) {
>                         route(4);
>                         route(1);
>                 } else {
>                         sl_send_reply("403","Forbidden");
>                 };
>                 break;
>         };
> 
> I'd copied the permissions.allow and permissions.deny to
> /usr/local/etc/ser and in the .allow file I'd uncomment the last line
> (ALL:ALL)  
> 
> Any idea? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050915/1290abd3/attachment.htm>


More information about the sr-users mailing list