[OpenSER-Users] OpenSER + FreeRadius error

Marc LEURENT lftsy at free.fr
Thu Sep 20 11:01:54 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does this error means something to somebody??
Thanks
ERROR:acc:acc_rad_request: radius-ing failed


My openser.cfg


# -- acc params (with radius )--
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)


.....


################### SET RADIUS ACCOUTING FLAGS #################################
        # Set the acc flags
        xlog("JUSTE BEFORE SETTING FLAGS FOR RADIUS\r\n");
        if(is_method("INVITE") && !has_totag()) {
               xlog("L_INFO", "I AM SETTING THE FLAGS FOR RADIUS \r\n");
               $avp(can_uri) = $ru;            # SIP Request's URI
               $avp(billing_party) = "sip:" + $au + "@" + $ar; # From URI
               $avp(user_name) = $fu;
               xlog("!!!! FROM TAG = $ft\r\n");

               xlog("SETTING FLAGS 1 & 2 FOR RADIUS \r\n");
               setflag(1);             # radius_flag
               setflag(2);             # radius_missed_flag
        };







DEBUG OUTPUT:

 3(26026) DEBUG: update_totag_set: new totag
 3(26026) DEBUG: add_to_tail_of_timer[2]: 0x2b898c7eb9d0 (12)
 3(26026) DEBUG:tm:relay_reply: sent buf=0x61d2e8: SIP/2.0 2..., shmem=0x2b898c7ed7a8: SIP/2.0 2
 3(26026) DBG: trans=0x2b898c7eb950, callback type 128, id 0 entered
 3(26026) ERROR:acc:acc_rad_request: radius-ing failed
 3(26026) DEBUG: cleanup_uac_timers: RETR/FR timers reset
 3(26026) DEBUG:tm:UNREF_UNSAFE: after is 0
 3(26026) DEBUG:destroy_avp_list: destroying list (nil)
 3(26026) receive_msg: cleaning up
 1(26024) SIP Request:
 1(26024)  method:  <ACK>
 1(26024)  uri:     <sip:105 at 82.127.0.79:1030;user=phone;nat=yes>
 1(26024)  version: <SIP/2.0>
 1(26024) parse_headers: flags=2
 1(26024) Found param type 232, <branch> = <z9hG4bK2175363103192047157>; state=16
 1(26024) end of header reached, state=5
 1(26024) parse_headers: Via found, flags=2
 1(26024) parse_headers: this is the first via
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8jcCqjpLE0HiOBYRAlBWAJoD4mlTLi8MCSLJEceI4jUNP2LFSwCgnjQq
ytiBJX6Q40CVgt+V0sB0JWk=
=BVYV
-----END PGP SIGNATURE-----




More information about the Users mailing list