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:[EMAIL PROTECTED]
>  > but:
>  >   "Display name" <sip:[EMAIL PROTECTED]>
>
> 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
[EMAIL PROTECTED]

_______________________________________________
Users mailing list
Users@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to