[OpenSIPS-Users] Checking inbound calls against trusted/gw tables

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Aug 13 11:19:20 CEST 2009


Gordon Ross wrote:
> On 13/07/2009 11:04, "Gordon Ross" <gr306 at ucs.cam.ac.uk> 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



More information about the Users mailing list