[Users] Access to pseudo variables from within core
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Nov 7 11:24:49 CET 2005
I think you can do this using avp_check from avpops. regards
klaus
Brandon Price wrote:
> I have some questions about access to certain variables from within
> openser. The documentation states that I can access more of the pseudo
> variables like $fU and $fu from within more modules and the openser
> core. I am trying to use $hdr(From[0]) something that I can apparently
> still only do from within avpops or xlog. I need to have openser
> perform a certain action only if no SIP Display info exists if it does
> exist I do not want this action performed. For example....
>
> if ("$hdr(From[0])") =~ "^\<sip:.*") {....
> do something
> } else {
> do something else...
> };
>
> Or if there is SIP Display info do A else do B. Any help greatly
> appreciated.
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
More information about the sr-users
mailing list