[SR-Users] what is $name?

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 24 15:57:32 CET 2010



On 3/24/10 3:52 PM, Juha Heinanen wrote:
> i made a typo in script and wrote $domain instead of $var(domain).  then
> i started sip router and didn't get any error messages.
>
> what does $name stand for when $name is not any of the ones listed in
> SIP Router Pseudo-Variables document?
>    

if $name is not found as PV, then it is same as $avp(name) -- $name is 
the SER way of using AVPs in cfg. I don't remember right now if you can 
force error reporting: if PV is not found then throw error (full 
kamailio 1.5 compatibility behaviour).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla * http://www.asipto.com/




More information about the sr-users mailing list