Re: radius patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2009-09-11 22:22 +0200, Jan Willamowius wrote openh323gk-users@xxxxxxxxxxxx:

I don't known sgml and how this html docs are generated, i can make a plain text docs, 
you can inset it in sgml format later.

JW>Thanks, I've applied the patch.
JW>
JW>It would be great if you would also update the documentation for your
JW>patches.
JW>
JW>Regards,
JW>Jan
JW>
JW>Georgiewskiy Yuriy wrote:
JW>> 
JW>> There is a simple patch to send Post Dial Delay, Ring Time and Number of Route Attempts on radius stop accounting
JW>> packet via cisco VSA.
JW>> 
JW>> diff -ruN openh323gk/radacct.cxx openh323gk-new/radacct.cxx
JW>> --- openh323gk/radacct.cxx	2009-09-09 12:25:00.000000000 +0400
JW>> +++ openh323gk-new/radacct.cxx	2009-09-10 18:44:10.000000000 +0400
JW>> @@ -326,6 +326,21 @@
JW>>   				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_release_source,call->GetReleaseSource());
JW>>   				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_preferred_codec,call->GetCodec());
JW>>   				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_rewritten_e164_num,call->GetCalledStationId());
JW>> + 
JW>> +				// Post Dial Delay Time
JW>> +				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>> +				    PString("h323pddtime=")+PString(PString::Unsigned,call->GetPostDialDelay()),true
JW>> +				);
JW>> +
JW>> +				// Ring Time
JW>> +				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>> +				    PString("h323ringtime=")+PString(PString::Unsigned,call->GetRingTime()),true
JW>> +				);
JW>> +
JW>> +				// Number of Route Attempts
JW>> +				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>> +				    PString("h323routeattempts=")+PString(PString::Unsigned,call->GetNoCallAttempts()),true
JW>> +				);
JW>> 
JW>>   				//RTCP SOURCE REPORT
JW>>   				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>> 
JW>> 
JW>> C уважением                       With Best Regards
JW>> Георгиевский Юрий.                Georgiewskiy Yuriy
JW>> +7 4872 711666                    +7 4872 711666
JW>> факс +7 4872 711143               fax +7 4872 711143
JW>> Компания ООО "Ай Ти Сервис"       IT Service Ltd
JW>> http://nkoort.ru                  http://nkoort.ru
JW>> JID: GHhost@xxxxxxxxxxxxxxxxxxxxx JID: GHhost@xxxxxxxxxxxxxxxxxxxxx
JW>> YG129-RIPE                        YG129-RIPE
JW>
JW>
JW>

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: GHhost@xxxxxxxxxxxxxxxxxxxxx JID: GHhost@xxxxxxxxxxxxxxxxxxxxx
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:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux