[Serusers] allow_trusted
Greger V. Teigre
greger at teigre.com
Wed May 18 13:01:20 CEST 2005
Start with a simple one: src_ip=a.b.c.d, proto=any, from_pattern=.*
should match any request from a.b.c.d
^sip:12345678.* will match any from starting with 12345678 etc
g-)
Iqbal wrote:
> Hi
>
> Yup did that one, can I check to see what is loaded in mem...kind of
> like doing a serctl lookup on location or something. Cause I think my
> patterns or something are not matching
>
> Iqbal
>
> Greger V. Teigre wrote:
>
>> The trusted table is loaded at start-up. Have you tried restarted
>> ser? g-)
>>
>> Iqbal wrote:
>>
>>> Hi
>>>
>>> has anyone got this to work, it seems i cant get the pattern correct
>>> :-)
>>> I have if (!allow_trusted()) { log(1, loop1) }
>>>
>>> in allows trsuted I have
>>>
>>> a.b.c.d | any | sip:[0-9]*@a.b.c.d |
>>>
>>> but i dont see any calls being made to the db, to do a lookup or
>>> anything, how can I see what is being matched.
>>>
>>> Iqbal
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>> .
More information about the sr-users
mailing list