Title: Message
|
I need
a way to trust calls coming from a dynamic IP but with a
domain-name.
In
fact, it's an asterisk on a dynamic IP with a dynamic dns.
allow_trusted just permit to consider an IP as
trustable, is there another way to do that with a domain
name?
Olivier
I am having a problem with calls matching a certain
pattern executing more than one block of code. I have a block of code that
looks like
if (method =~ "INVITE" && uri =~
"sip:\*12.*") { ...
do some stuff
};
and another like
if (method=="INVITE" && uri =~
"sip:[EMAIL PROTECTED]"){ ...
do some
stuff
};
see full block here . The problem is that whenever *12 is
dialed it executes both blocks, I thought the pattern matching is just wrong
but when a number matching the second pattern is dialed then it doesn't
execute the 1st block. Can someone please explain this behavior to
me.
--Sorry if this is a repost--
|
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users