On Sunday 20 January 2008 21:56:57 Juha Heinanen wrote:
Iñaki Baz Castillo writes:
It could be nice if this would work:
is_domain_local($(hdr(P-Preferred-Identity){uri.host})) {
route(4) ; Auth route
}
But unfortunatelly it doesn't work since it's not a variable
containing just:
sip:user@domain
but:
"Display name" <sip:user@domain>
i remember adding pvars for some ppi header components.
I didn't know it, thanks!
There are:
$pu - reference to URI in request's P-Preferred-Identity heade
$pU - reference to user in request's P-Preferred-Identity header
$pd - reference to domain in request's P-Preferred-Identity header
$pn - reference to Display Name in request's P-Preferred-Identity header
:)
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es