Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] CDR accounting question


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
woodydickson at gmail.com
Guest





PostPosted: Thu Aug 28, 2008 9:01 pm    Post subject: [Freeswitch-users] CDR accounting question Reply with quote

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Aug 29, 2008 8:32 am    Post subject: [Freeswitch-users] CDR accounting question Reply with quote

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 (woodydickson@gmail.com)> wrote:
Quote:
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services