Bogomolov Andrei wrote:
I use radius authorize reply to set AVP rpid
value:
0(30405) DEBUG:auth_radius:radius_authorize_sterman: Success
0(30405) DEBUG:auth_radius:generate_avps: getting SIP AVPs from avpair 225
0(30405) DEBUG:auth_radius:extract_avp: string is <rpid:9284444>
0(30405) DEBUG:auth_radius:extract_avp: AVP name is <rpid>
0(30405) DEBUG:auth_radius:extract_avp: AVP val is <9284444>
0(30405) DEBUG:auth_radius:generate_avps: AVP 'rpid'/0='9284444'/0 has
been
added
But when this caller is invating, openser writes to log:
0(30405) append_rpid_hf: No rpid AVP
The question is: where are SIP-AVPs stored? Do I have to load
auth_db in openser.cfg? Or avps could be stored in RAM without mysql
database?
Use xlog("L_ERR","pid = $avp(s:pid)");
after authentication to verify if the rpid AVP is loaded.
regards
klaus
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users