Gordon Ross wrote:
> On 13/07/2009 11:04, "Gordon Ross" <[email protected]> wrote:
>
>   
>> (I'm slowly getting my head round OpenSIPS. Slowly....)
>>
>> Where/how are inbound calls checked against the trusted & gw tables ?
>>
>> I've not put anything into my config to check against these tables (e.g. No
>> allow_trusted() or from_gw() function calls), yet OpenSIPS is being helpful
>> and allowing calls from sources that are listed in the trusted or gw tables.
>> If I remove sources from these tables, then OpenSIPS rejects the calls, so
>> they are being referenced....
>>     
>
> PS I should have mentioned that I suspect it's the check_from() function
> call that does the work. Yet the docs for this function say that it only
> checks the URI DB table, not the gw or trusted tables.
>   
check_from() is for checking the auth id (from the Authorized SIP 
header) against the uri table or the FROM hdr.  It has nothing to do 
with IP authentication.

Regards,
Bogdan

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to