[OpenSER-Users] Obtaining the domain of "Refer-to" URI

Juha Heinanen jh at tutpro.com
Sun Jan 20 21:56:57 CET 2008


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 at domain
 > but:
 >   "Display name" <sip:user at domain>

i remember adding pvars for some ppi header components.

-- juha




More information about the Users mailing list