[OpenSIPS-Devel] accounting with opensip and radius; error-cause=invite

happyeveryday1025 happyeveryday1025 at 126.com
Tue Jan 18 04:20:20 CET 2011


Hello:
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 192.168.118.39 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 192.168.118.39"
        Calling-Station-Id = "sip:3901 at 192.168.118.39"
        Called-Station-Id = "sip:3902 at 192.168.118.39"
        Sip-Translated-Request-URI = "sip:192.168.118.41:11520"
        Framed-IPv6-Pool = "<sip:3901 at 192.168.118.41:44838>"
        NAS-Port = 5060
        Acct-Delay-Time = 0
        NAS-IP-Address = 192.168.118.39
# 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 = 192.168.118.39,NAS-IP-Address = 192.168.118.39,Acct-Session-Id = "NDgzODg4NGRhYzMwYTQ0MjBmNTlmNTlmNmVkM2U0ZGE.",User-Name = "3901 at 192.168.118.39"'
[acct_unique] Acct-Unique-Session-ID = "d7155edddc677690".
++[acct_unique] returns ok
[suffix] Looking up realm "192.168.118.39" for User-Name = "3901 at 192.168.118.39"
[suffix] No such realm "192.168.118.39"
++[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/192.168.118.39/detail-20110117
[detail] /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/192.168.118.39/detail-20110117
[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 192.168.118.39
++[radutmp] returns ok
++[exec] returns noop
[attr_filter.accounting_response]       expand: %{User-Name} ->3901 at 192.168.118.39
 attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Sending Accounting-Response of id 179 to 192.168.118.39 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: <http://lists.opensips.org/pipermail/devel/attachments/20110118/ae09e9a0/attachment-0001.htm>


More information about the Devel mailing list