accounting with opensip and radius;error-cause=invite

happyeveryday1025 happyeveryday1025 at
Tue Jan 18 04:20:20 CET 2011

I am using opensips1.6.4+freeradius2.1.10+radiusclient0.5.6 to do accounting when two X_Lite registered in opensips make a call,Now I define the attribute "Contact"as followed:
ATTRIBUTE  Contact 100 string
When I make a call, the radius server has a response,
  rad_recv: Accounting-Request packet from host port 50962, id=179, length=288
        Acct-Status-Type = Start
        Service-Type = IAPP-Register
        EAP-Key-Name = "\000\000\000\310"
        Error-Cause = Invite
        Attr-55 = 0x4d343460
        Sip-From-Tag = "1e356213"
        Sip-To-Tag = "c73cd9ce3e9841fbb233a3f65b14b5ee"
        Acct-Session-Id = "NDgzODg4NGRhYzMwYTQ0MjBmNTlmNTlmNmVkM2U0ZGE."
        User-Name = "3901 at"
        Calling-Station-Id = "sip:3901 at"
        Called-Station-Id = "sip:3902 at"
        Sip-Translated-Request-URI = "sip:"
        Framed-IPv6-Pool = "<sip:3901 at>"
        NAS-Port = 5060
        Acct-Delay-Time = 0
        NAS-IP-Address =
# Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+- entering group preacct {...}
++[preprocess] returns ok
[acct_unique] Hashing 'NAS-Port = 5060,Client-IP-Address =,NAS-IP-Address =,Acct-Session-Id = "NDgzODg4NGRhYzMwYTQ0MjBmNTlmNTlmNmVkM2U0ZGE.",User-Name = "3901 at"'
[acct_unique] Acct-Unique-Session-ID = "d7155edddc677690".
++[acct_unique] returns ok
[suffix] Looking up realm "" for User-Name = "3901 at"
[suffix] No such realm ""
++[suffix] returns noop
++[files] returns noop
# Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
+- entering group accounting {...}
[detail]        expand: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d -> /usr/local/var/log/radius/radacct/
[detail] /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/
[detail]        expand: %t -> Mon Jan 17 20:21:52 2011
++[detail] returns ok
++[unix] returns ok
[radutmp]       expand: /usr/local/var/log/radius/radutmp -> /usr/local/var/log/radius/radutmp
[radutmp]       expand: %{User-Name} ->3901 at
++[radutmp] returns ok
++[exec] returns noop
[attr_filter.accounting_response]       expand: %{User-Name} ->3901 at
 attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Sending Accounting-Response of id 179 to port 50962
Finished request 0.
Cleaning up request 0 ID 179 with timestamp +32
Going to the next request
Ready to process requests.
You can see that there is some error information ,such as error-cause=invite;and when the call is terminated,the opensips receives a bye message,but the radius server has no response,can anyone help to figure out the error please?Thank you very much.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list