Hi there,
Is there any way to use expressions in the route configuration? I'd
love to use something like:
if(uri=~"sip:([a-z])+@thirdtower.com" && !lookup()) {
seturi("sip:voicemail@thirdtower.com/$1");
}
Which would mean "if someone calls to "sip:someone@thirdtower.com" but
"someone" is unknown / unregistered, forward to
"sip:voicemail@thirdtower.com/someone".
Greetings,
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
---- Registered Linux user #349923 ---
http://counter.li.org/ ----