[Freeswitch-users] Splitting CDRs on call forward

Jon Schøpzinsky jos at firstcom.dk
Mon May 27 20:01:49 MSD 2013


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




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