[Kamailio-Users] CDRTool and Prepaid

Mark Sayer datapipes at avtb.co.nz
Mon Sep 1 00:10:19 CEST 2008


We've found the only way to do this accurately is to use a B2BUA like Asterisk.

Mark

At 10:02 a.m. 01/09/2008, you wrote:
>Thanks Iñaki for your suggestion. After reading the documentation at the
>site you mentioned below I now understand that the "external call control
>module" that is discussed in "/doc/PREPAID.txt" of CDRTool is a modified
>freeradius radius server which is "able to connect on the CDRTool prepaid
>engine through TCP API and implement a basic prepaid level for calls passing
>through OpenSER" and it is able to send "information back to OpenSER through
>the recommended way of SIP-AVP. The avps received will be available in
>openser as: callMaxDur and credit, where callMaxDur is the maximum duration
>the user is allowed to be connected with the destination and credit
>represents the amount of credit available at starting of the call"
>
>Now going back to my question about this module that is able to  "maintain
>call status and terminate calls by sending BYEs to both SIP end-points" this
>means that once the "callMaxDur" and "credit " information is sent back from
>freeradius to OpenSER, OpenSER is the one "sending BYEs to both SIP
>end-points". How can I make OpenSER do this? How can OpenSER use the
>callMaxDur information sent in the SIP-AVP pair to terminate a call with a
>BYE after X amount of minutes?
>
>
>
>
>--Matteo
>
>
>
>
>
>
>-----Original Message-----
>From: users-bounces at lists.kamailio.org
>[mailto:users-bounces at lists.kamailio.org] On Behalf Of Iñaki Baz Castillo
>Sent: Sunday, August 31, 2008 5:17 PM
>To: users at lists.kamailio.org
>Subject: Re: [Kamailio-Users] CDRTool and Prepaid
>
>El Domingo, 31 de Agosto de 2008, Matteo D'Amato escribió:
> > Thanks David for your answer, but can you explain how radius can do that
> > since sending BYE messages is more at the signaling level. I don’t quite
> > understand how radius can even communicate at the SIP signaling level.
>
>Of course Radius itself can't do it.
>
>There is a related project that I've not tried but it could be what you are
>looking for:
>   http://frad-cdrtool.sourceforge.net/
>
>
>--
>Iñaki Baz Castillo
>
>_______________________________________________
>Users mailing list
>Users at lists.kamailio.org
>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
>
>_______________________________________________
>Users mailing list
>Users at lists.kamailio.org
>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users





More information about the sr-users mailing list