[SR-Users] how to obtain $xavp(ulrcd=>ruid) value

Iwan Budi Kusnanto ibk at labhijau.net
Mon Jun 10 11:37:14 CEST 2013


I tried to get ruid by using this feature.
http://kamailio.org/docs/modules/stable/modules/registrar.html#idp1752184.

I use source code from git repo from June 7th.
Have added modparam("registrar", "xavp_cfg", "ulrcd") in the config.

In route[REGISTRAR], i try to print it's value by using this code in
kamailio config :

pv_printf("$var(ruidd)", "$xavp(ulrcd=>ruid)");
xlog("L_ERR", "registrasi $var(ruidd)");

xlog("L_ERR", "registrasi $xavp(ulrcd=>ruid)");

both codes give me : registrasi <null>.

How to obtain that value? I think i missed something.

-- 
Iwan Budi Kusnanto



More information about the sr-users mailing list