[SR-Users] is $td.did avp a normal avp?

Klaus Darilion klaus.mailinglists at pernau.at
Tue Apr 26 21:19:49 CEST 2011


Jan Janak wrote:
> On Tue, Apr 26, 2011 at 8:42 PM, Klaus Darilion
> <klaus.mailinglists at pernau.at> wrote:
>> Jan Janak wrote:
>>> On Tue, Apr 26, 2011 at 7:41 PM, Klaus Darilion
>>> <klaus.mailinglists at pernau.at> wrote:
>>>> Not helping with this issue - but having another question: what is
>>>> $td.did?
>>>> Is it a pseudo variable (as it starts with $)? Is it somehow
>>>> related/derived
>>>> to/from $td or is the '.' just a character like a-z?
>>> This is the SER syntax for AVP names, see
>>> http://sip-router.org/wiki/devel/avps-ser
>> Aha. But how does sip-router decide if $td is a ser AVP or a Kamailio pseudo
>> variable?
> 
> If it starts with ${fu,tu,fd,td,g}. then it is taken as a SER AVPs,
> otherwise it is a Kamailio pseudo variable.

Not sure if I got it right. I guess if I use $fu it will be Kamailio's 
from-URI pseudo variable as there is no ser $fu AVP as $fu is only the 
prefix and not the full AVP name, a full ser AVP name would be for 
example $fu.foo.

Is this correct?


klaus



More information about the sr-users mailing list