Re: radacct rtp proxy mode patch

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

 



On 2009-10-16 13:43 +0200, Jan Willamowius wrote openh323gk-users@xxxxxxxxxxxx:

thank you too for manual:)

JW>Hi Yuriy,
JW>
JW>thanks, patch applied. I also added it to the manual.
JW>
JW>Regards,
JW>Jan
JW>
JW>
JW>Georgiewskiy Yuriy wrote:
JW>> Hi.
JW>> 
JW>> This simple patch to send proxy mode of call in radius accounting stop packet in 
JW>> cisco VSA attribute h323_rtp_proxy - 0 no rtp proxy, 1 rtp proxy enabled.
JW>> 
JW>> diff -ruN openh323gk/radacct.cxx openh323gk-new/radacct.cxx
JW>> --- openh323gk/radacct.cxx	2009-09-27 15:31:00.000000000 +0400
JW>> +++ openh323gk-new/radacct.cxx	2009-10-15 19:34:50.000000000 +0400
JW>> @@ -351,6 +351,12 @@
JW>>   					PString("h323routeattempts=")+PString(PString::Unsigned,call->GetNoCallAttempts()),true
JW>>   				);
JW>> 
JW>> +				// Proxy Mode
JW>> +				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>> +					PString("h323_rtp_proxy=")+PString(PString::Unsigned,
JW>> +					((call->GetProxyMode() == CallRec::ProxyEnabled) ? 1 : 0)),true
JW>> +				);
JW>> +
JW>>   				//RTCP SOURCE REPORT
JW>>   				pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
JW>>   				    PString("RTP_source_IP=")+call->GetSRC_media_IP(),
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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

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