There is a simple patch to send Post Dial Delay, Ring Time and Number of Route 
Attempts on radius stop accounting
packet via cisco VSA.

diff -ruN openh323gk/radacct.cxx openh323gk-new/radacct.cxx
--- openh323gk/radacct.cxx      2009-09-09 12:25:00.000000000 +0400
+++ openh323gk-new/radacct.cxx  2009-09-10 18:44:10.000000000 +0400
@@ -326,6 +326,21 @@
                                
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_release_source,call->GetReleaseSource());
                                
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_preferred_codec,call->GetCodec());
                                
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_rewritten_e164_num,call->GetCalledStationId());
+ + // Post Dial Delay Time
+                               
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
+                                   
PString("h323pddtime=")+PString(PString::Unsigned,call->GetPostDialDelay()),true
+                               );
+
+                               // Ring Time
+                               
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
+                                   
PString("h323ringtime=")+PString(PString::Unsigned,call->GetRingTime()),true
+                               );
+
+                               // Number of Route Attempts
+                               
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
+                                   
PString("h323routeattempts=")+PString(PString::Unsigned,call->GetNoCallAttempts()),true
+                               );

                                //RTCP SOURCE REPORT
                                
pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,


C уважением                       With Best Regards
Георгиевский Юрий.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
факс +7 4872 711143               fax +7 4872 711143
Компания ООО "Ай Ти Сервис"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: [email protected] JID: [email protected]
YG129-RIPE                        YG129-RIPE
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________

Posting: mailto:[email protected]
Archive: 
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Reply via email to