[OpenSIPS-Users] a simple perl question

Alex Balashov abalashov at evaristesys.com
Wed Nov 12 22:22:36 CET 2008


Alex R.S.M wrote:
> I've tried it before
> 
> # perl
> OpenSIPS::AVP::add(4,$x);
> 
> #config file
> xlog ("$avp(i:4)");
> 
> but I am getting error:
> perl error: Undefined subroutine &OpenSIPS::AVP::add called line 84. 

Are you 'use'ing OpenSIPS::AVP?

> 
> Also: is there any list with all pseudo-variables in OpenSIPS ?

Yes.  Google "opensips pseudovariables."  :-)

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the Users mailing list