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

Gordon Ross gr306 at ucs.cam.ac.uk
Mon Jul 13 12:35:42 CEST 2009


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.

GTG




More information about the Users mailing list