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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org