RadAliasAcct and multiport hardware

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

 



Hi.

I have a som DLink104-SH, gnugk 2.2beta2 and FreeRADIUS. DLink104-SH - 4 port VoIP gateway. gnugk configured for use 2 accounting modules - FileAcct and RadAliasAcct. DLinks register on gnugk as PermanentEndpoints. All ok, but when gnugk send ACCT to RADIUS, number of only first port of DLink is accounted, not depends of how port is real callee, i.e. numbers of ports - 1,2,3,4; call from 3 to somewhere, ACCT is 1 to somewhere; call from 4 to somewhere, ACCT is 1 to somewhere. But FileAcct module writes right CDR to file. I've found the reason of it in sources of gnugk - function GetBestAlias selects first dialNumber from RCF,
but FileAcct get number from ACF.

I make a small patch for this, and add to RadAliasAuth section UseACF option.
If someone need this... 

Is this the right way? I haven't many time for configuration, and solve this problem so. May be, exists more simple and more right way?

Best regards,
      Anton Chubatov


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id┘49
Homepage: http://www.gnugk.org/


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

  Powered by Linux