FreeRADIUS module providing connectivity to CDRTool prepaid engine. Provides prepaid authentication for calls proxied by OpenSER and returns to OpenSER MaxCallDuration and user Credit.Can be easily extended to support other SIP or H323 devices.
Be the first to post a text review of FreeRADIUS-CDRTool. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Version 1.2.pre - 29.09.2008 by Dan-Cristian Bogos [dan@itsyscom.com] * Modified to support CDRTool 6.6.0 and newer. Older versions no longer supported. If you are planning to use old versions of CDRTool, please have a look on previous versions of this connector. * MEMCACHE_PORT setting will point to default one created by memcached software since CDRTool is no longer using it. * MULTIPLE_PREPAID_ENGINES setting removed since there is no more caching in CDRTool. * Extra helpers inside CDRTool class to convert the answers received from CDRTool engine into python dictionaries. * Extra commands available inside CDRTool class - show_version, show_price * Introducing support for gateway and callid, required by MaxSessionTime and DebitBalance commands of CDRTool (need change inside openser.cfg to send callid as Sip-Uri-User). * Changed README to reflect the latest requirements in configs
### Changelog freeradius-cdrtool module !Version 1.1 - 05.12.2007 by Dan-Cristian Bogos [dan@itsyscom.com] * Replaced MAXDUR setting with SESSION_MAXDUR to be more descriptive * Introducing experimental support for multiple cdrtool engines by setting MULTIPLE_PREPAID_ENGINES=True * Simplified way of testing memcached connection (simple test against response list). * Fixed BUG with sending non supported methods to CDRTool (eg: REGISTER and MESSAGE). * Automatic mark of authenticated packets by returning third sip-avp "authentic#1". * Return USERLOCK instead of REJECT when the account is locked. * Added authenticate() function to comply with freeradius internals - not really necessary to be used. * Fixed BUG which was failing accounting if Acct-Type was not fix positioned inside parameter tuple coming from FreeRADIUS. * Introduced Acct-Authentic attribute dependency in order to fix double accounting in case of Yate(Cisco CDR with two leg accounting type). OpenSER should send Acct-Authentic attribute as radius_extra param with the value 1 for RADIUS or 3 for Remote. * Fixed BUG which was emptying destination-uri in case of empty Canonical-URI. * Forcing timeout for the keys in memcache based on SESSION_MAXDUR, for the case when no more accounting packets will arive after authorizaiton ones. * Introduced support for Acct-Session-Time attribute which will produce more aqurate session time then automatic generated based on timestamps ones. * Introduced support for combined accounting to fix the problems OpenSER has when no BYE packet arrives (eg: authorization generated by openser and accounting by Yate). * Introduced support for newer cdrtool response 'Not Prepaid' derived from old 'NotPrepaid' * Proper detection in case of Stop packets without Start being recorded inside memcached. * Updated README-txt file to reflect the changes necessary in the configuration of OpenSER plus simplified way of installing freeradius with "./configure --with-experimental-modules" !Version 1.0 - 02.07.2007 * First version released.
For any of you using (or having interest in using) prepaid authentication based on cdrtool through FreeRADIUS Authorization methods, I announce the release 1.1 available to be downloaded from SourceForge.net. Changelog from version 1.0 to present: !Version 1.1 - 05.12.2007 by Dan-Cristian Bogos [dan@itsyscom.com] * Replaced MAXDUR setting with SESSION_MAXDUR to be more descriptive * Introducing experimental support for multiple cdrtool engines by setting MULTIPLE_PREPAID_ENGINES=True * Simplified way of testing memcached connection (simple test against response list). * Fixed BUG with sending non supported methods to CDRTool (eg: REGISTER and MESSAGE). * Automatic mark of authenticated packets by returning third sip-avp "authentic#1". * Return USERLOCK instead of REJECT when the account is locked. * Added authenticate() function to comply with freeradius internals - not really necessary to be used. * Fixed BUG which was failing accounting if Acct-Type was not fix positioned inside parameter tuple coming from FreeRADIUS. * Introduced Acct-Authentic attribute dependency in order to fix double accounting in case of Yate(Cisco CDR with two leg accounting type). OpenSER should send Acct-Authentic attribute as radius_extra param with the value 1 for RADIUS or 3 for Remote. * Fixed BUG which was emptying destination-uri in case of empty Canonical-URI. * Forcing timeout for the keys in memcache based on SESSION_MAXDUR, for the case when no more accounting packets will arive after authorizaiton ones. * Introduced support for Acct-Session-Time attribute which will produce more aqurate session time then automatic generated based on timestamps ones. * Introduced support for combined accounting to fix the problems OpenSER has when no BYE packet arrives (eg: authorization generated by openser and accounting by Yate). * Introduced support for newer cdrtool response 'Not Prepaid' derived from old 'NotPrepaid' * Proper detection in case of Stop packets without Start being recorded inside memcached. * Updated README-txt file to reflect the changes necessary in the configuration of OpenSER plus simplified way of installing freeradius with "./configure --with-experimental-modules"
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?