CDR accounting question
Hi, I have a qestion about how to extract the time duration for each individual outgoing call that Freeswitch makes for an incoming call. Here is the scenario : User 10000 --> Freeswitch -------> sofia/voip-gw/160454534333 | -----> sofia/voip-gw2/17864333431
From Freeswitch's CDR XML output, I can extract the entire duration of the call from the perspective of User 10000 calling Freeswitch. Is there anyway I can tell the duration for each of the two outgoing calls that Freeswitch makes on behalf of User 10000. The reason is because the cost for each one of the outgoing number can be different and I need to correctly account for that.
Is it possible for Freeswich to give me that kind of information? Thanks, Woody
if you enable the b leg cdr you will get a new entry for each of those calls. cdr_csv.conf.xml: <!-- may be a b or ab --> <param name="legs" value="a"/> or xml_cdr.conf.xml: <!-- optional: if not present we do log the b leg --> <!-- true or false if we should create a cdr for the b leg of a call--> <param name="log-b-leg" value="false"/> On Thu, Aug 28, 2008 at 8:59 PM, Woody Dickson <woodydickson@gmail.com>wrote:
Hi,
I have a qestion about how to extract the time duration for each individual outgoing call that Freeswitch makes for an incoming call. Here is the scenario :
User 10000 --> Freeswitch -------> sofia/voip-gw/160454534333 | -----> sofia/voip-gw2/17864333431
From Freeswitch's CDR XML output, I can extract the entire duration of the call from the perspective of User 10000 calling Freeswitch. Is there anyway I can tell the duration for each of the two outgoing calls that Freeswitch makes on behalf of User 10000. The reason is because the cost for each one of the outgoing number can be different and I need to correctly account for that.
Is it possible for Freeswich to give me that kind of information?
Thanks, Woody
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (2)
-
Anthony Minessale
-
Woody Dickson