[Freeswitch-users] Splitting CDRs on call forward

Anthony Minessale anthony.minessale at gmail.com
Mon May 27 21:07:35 MSD 2013


Funny, forkcdr.... Guess who made that ;)

That was my early solution to billing problems that I later solved by
writing FS!  Yes ken is right, log the B legs too and you will see both
ends of the call.  Also look at xml cdrs and custom cdr bindings.
On May 27, 2013 11:31 AM, "Ken Rice" <krice at freeswitch.org> wrote:

> if you are lusing xml cdr, set the logging to both not just a or b legs,
> this will generate cdrs for all legs individually
>
> Ken
> Sent from my iPad
>
> On May 27, 2013, at 11:01, Jon Schøpzinsky <jos at firstcom.dk> wrote:
>
> > Hi List,
> >
> > I am implementing call forwarding on a multi tenant system, and therefore
> > need to split CDR's when the call forward happens, so that if the
> > receiving user also has his account call forwarded, he pays for his part
> > of the call.
> >
> > A calls B
> > B forwards to C
> > C forwards to an external mobile phone.
> >
> > B has a free call from B to C, but C needs to pay for the forwarding to
> > the mobile phone. Therefore i need a separate CDR for the C to Mobile
> > phone call.
> >
> > Another example would be this
> >
> > A works in Company A, and B works in Company B
> > They are both users on our system, and therefore is on the same
> freeswitch.
> >
> > A calls B
> > B Forwards to an external mobile phone.
> >
> > Here A needs to pay for the call from A to B, and B needs to pay for the
> > call being forwarded to his mobile phone.
> >
> > Do anybody have an idea as to how to implement this in freeswitch. Back
> in
> > my Asterisk days, this would be done by the ForkCDR command.
> >
> >
> > Venlig hilsen/kind regards
> >
> > Jon Leren Schøpzinsky
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130527/c2ce459b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list