The documentation for pseudo-vars in 1.2.x says that $ai is the URI for P-Asserted-Identity.
http://openser.org/dokuwiki/doku.php/pseudovariables:1.2.x#uri_in_sip_re quest_s_p-asserted-identity_header
However, if I try to use this in my scripts I get this in the log:
ERROR:avpops:fixup_subst: bad attribute name <$ai>
Is this a bug or a documentation error? Is there some other pseudo-var that should be the PAI?
FWIW, I'm currently running 1.2 branch post-1.2.1 but not updated since before 1.2.2 came out. Regards, - Brad