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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
tks it worked,
I have ^sip:[0-9]@* i will fine tune later
tks again...now to get damn voicemail config from a DB
Iqbal
Greger V. Teigre wrote:
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
.
well no :-), I looked at the trusted table, and it seems like as if there are only 3 fields in the table,
IP address, proto, and pattern
will take a quick look
Iqbal
Juha Heinanen wrote:
Iqbal writes:
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.
have you looked at the source code to see what variables need to be set?
-- juha
.