Hi Yuriy,
thanks, patch applied. I also added it to the manual.
Regards,
Jan
Georgiewskiy Yuriy wrote:
> Hi.
>
> This simple patch to send proxy mode of call in radius accounting stop packet
> in
> cisco VSA attribute h323_rtp_proxy - 0 no rtp proxy, 1 rtp proxy enabled.
>
> diff -ruN openh323gk/radacct.cxx openh323gk-new/radacct.cxx
> --- openh323gk/radacct.cxx 2009-09-27 15:31:00.000000000 +0400
> +++ openh323gk-new/radacct.cxx 2009-10-15 19:34:50.000000000 +0400
> @@ -351,6 +351,12 @@
>
> PString("h323routeattempts=")+PString(PString::Unsigned,call->GetNoCallAttempts()),true
> );
>
> + // Proxy Mode
> +
> pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
> +
> PString("h323_rtp_proxy=")+PString(PString::Unsigned,
> + ((call->GetProxyMode() ==
> CallRec::ProxyEnabled) ? 1 : 0)),true
> + );
> +
> //RTCP SOURCE REPORT
>
> pdu->AppendCiscoAttr(RadiusAttr::CiscoVSA_AV_Pair,
>
> PString("RTP_source_IP=")+call->GetSRC_media_IP(),
>
>
> 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
--
Jan Willamowius, [email protected], http://www.gnugk.org/
------------------------------------------------------------------------------
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:[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/