Hi,
can some one help me, how can I get this working:(
here is an example of radius start&stop send by opensips.
rad_recv: Accounting-Request packet from host OPENSIPS port 49973,
id=111, length=276
Acct-Status-Type = Start
Service-Type = 0
Sip-Response-Code = 200
Sip-Method = Invite
Event-Timestamp = "Sep 30 2013 09:24:52 CEST"
Sip-From-Tag = "DDyrm12NpvrZc"
Sip-To-Tag = "52e44f147b3e72fbi0"
Acct-Session-Id = "2767373b-a444-1231-229a-005056b2715b"
User-Name = "0038618108750@FS_MEDIA_IP"
Calling-Station-Id = "sip:0038618108750@FS_MEDIA_IP"
Called-Station-Id = "sip:38618108751@OPENSIPS:5060"
Sip-Translated-Request-URI = "sip:38618108751@UAC_PUBLIC_IP:9091"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = OPENSIPS
rad_recv: Accounting-Request packet from host OPENSIPS port
47075, id=112, length=277
Acct-Status-Type = Stop
Service-Type = 0
Sip-Response-Code = 200
Sip-Method = Invite
Event-Timestamp = "Sep 30 2013 09:24:52 CEST"
Sip-From-Tag = "55b8e06eb1de73e1o0"
Sip-To-Tag = "XSBjQ4aK1KNXm"
Acct-Session-Id = "[email protected]"
User-Name = "38618108750@OPENSIPS_DOMAIN"
Calling-Station-Id = "sip:38618108750@OPENSIPS_DOMAIN"
Called-Station-Id = "sip:018108751@OPENSIPS_DOMAIN"
Sip-Translated-Request-URI = "sip:38618108751@OPENSIPS_DOMAIN"
Sip-Call-Duration = 3
Sip-Call-Setuptime = Route-IP-No
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = OPENSIPS
Dne 9/23/2013 8:22 AM, piše Miha:
Hi Vlad,
I manage to get duration in stop packet. Issue that I am experiancing
is that I am getting two BYE requests as opensips relays call throught
FS, get it back and that send to UAC. IN this scenario I am getting
two BYE requests but opensips sends always wrong stop (not two, just
one stop). So start and stop packet are having different session-id.
Also Bogdan is helping me with this issue.
Thnx!
miha
Dne 9/19/2013 6:26 PM, piše Vlad Paiu:
Hello,
If you enable the CDR flag in the ACC module (
http://www.opensips.org/html/docs/modules/1.9.x/acc#id294245 ) , and
also set the aaa_flag along with it, you should see that the ACC
module will also send the call duration via Radius.
Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 16.09.2013 15:59, Miha wrote:
Hi,
how to send call duration with aaa module to radius server? I am
having call duration in mysql database, but I am unable to get in
avp, so that I can have it in radius attribute.
Is there any varible that I can use, or I must somehow calculate
duration, save to var and than add it to radius extra attributes?
Tnx!
miha
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users