[Users] rpid problem

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jul 27 15:56:45 CEST 2005


Hi!

I'm using openser CVS and try to deliver the rpid using auth_radius. But 
  the rpid never appears in the AVPs. Also other AVP-SIP attributes 
(e.g. SIP-AVP = #101:TEST) do not appear in the AVP.

Filling AVPs in the .cfg using avp_write("$ruri/username","$ruser"); 
works fine and are printed with avp_print.


Any ideas how I can track down this problem?

thanks
klaus

The radius server responds with a SIP-AVP (225) attribute (verfied with 
tcpdump):
rpid:<sip:+4359966366102 at 1013cbc.com>


my cfg snippet (full config attached):
   if (!radius_proxy_authorize("")) {
     xlog("L_WARN","wrong or no credentials - challenging client ...");
     proxy_challenge("", "0");
     exit;
   };
   xlog("L_WARN","start avp_print()-");
   avp_print();
   xlog("L_WARN","stop avp_print()--");


the debug log:
  8(5807) checking REGISTER authentication ... 8(5807) check_nonce(): 
comparing [42e78dca8153d605c63042be302f64af00e1abfc] and 
[42e78dca8153d605c63042be302f64af00e1abfc]
  8(5807) DEBUG:auth_radius:radius_authorize_sterman: Success
  8(5807) xl_printf: final buffer length 37
  8(5807) start avp_print() - 8(5807) xl_printf: final buffer length 37
  8(5807) stop avp_print() -- 8(5807) xl_printf: final buffer length 58


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openser.cfg
Url: http://lists.kamailio.org/pipermail/users/attachments/20050727/6fc0f557/attachment.txt 


More information about the Users mailing list