Re: radius patch

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

 



Thanks, I've applied the patch.
It would be great if you would also update the documentation for yourpatches.
Regards,Jan
Georgiewskiy Yuriy wrote:> > 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: GHhost@xxxxxxxxxxxxxxxxxxxxx JID: GHhost@xxxxxxxxxxxxxxxxxxxxx> YG129-RIPE                        YG129-RIPE

-- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/
------------------------------------------------------------------------------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@xxxxxxxxxxxxxxxxxxxxxxxxxxxx: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-usersUnsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-usersHomepage: http://www.gnugk.org/


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

  Powered by Linux