Re: [SR-Users] XAVP Null

2016-11-29 Thread Daniel-Constantin Mierla
Some extra details and examples, hopefully for better clarification of new people dealing with xavps. To add an xavp, you must not use an index, like Alberto wrote: $xavp(caller_peer=>accountname) = "Account Variable"; /*This is an example to add a value in an xavp */ Then to add an extra xavp i

Re: [SR-Users] XAVP Null

2016-11-28 Thread Alberto Llamas
Hello Linux, Each xavp has a name and name values. So if you first define the name of the variable then you assign the name value it will work for you: $xavp(caller_peer=>accountname) = "Account Variable"; */*This is an example*/* $xavp(caller_peer[0]=>accountname) = "AAA"; xlog("L_WARN", "XAVP A

[SR-Users] XAVP Null

2016-11-28 Thread Linux Vince
Hi, I am sure i am doing something very basic wrongly. Here is my config file snippet $xavp(caller_peer[0]=>accountname) = "AAA"; xlog("L_WARN", "XAVP ACCOUNT NAME $xavp(caller_peer[0]=>accountname) \n"); No matter what i set this XAVP at, it always prints null in log file as below WARNING: