Re: [Freeswitch-users] Process_cdr question
On Oct 4, 2008, at 8:22 AM, Vito Andolini wrote: Let's say I am programatically initiating two calls and then bridging them together. If I have the dialplan as originate sofia/example/[EMAIL PROTECTED] bridge(sofia/example/[EMAIL PROTECTED]) and have the process_cdr set to true which is the default. I'd like to know how both cdr would look like... Obviously the b leg will be logged starting right after 400 have answered the call... Which is fine Now would the a leg be logged starting right after its bridged to the b OR right after it picks up the call (even though b is being called or ringing at that moment) The answer is important, because I am using VOIP for both calls, and the voip starts charging me soon as a picks up the phone, so i am wondering if I am able to get the same record into my cdr to process it or do I have to run some sort of magic? Thanks, Vito A. Why don't you look at the cdr and see? There are multiple fields in the cdr to represent when the session was created (INVITE), when it was answered (200) and when it hangs up (BYE). You get this timetable for each leg. Mike___ 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
Re: [Freeswitch-users] Process_cdr question
On Oct 4, 2008, at 4:20 PM, Vito Andolini wrote: Let's say I am programatically initiating two calls and then bridging them together. If I have the dialplan as originate sofia/example/[EMAIL PROTECTED] bridge(sofia/example/[EMAIL PROTECTED]) and have the process_cdr set to true which is the default. I'd like to know how both cdr would look like... Obviously the b leg will be logged starting right after 400 have answered the call... Which is fine Now would the a leg be logged starting right after its bridged to the b OR right after it picks up the call (even though b is being called or ringing at that moment) The answer is important, because I am using VOIP for both calls, and the voip starts charging me soon as a picks up the phone, so i am wondering if I am able to get the same record into my cdr to process it or do I have to run some sort of magic? Thanks, Vito A. Posting the same message to the mailing list twice is unlikely to get you different response. Why don't you try my suggestion? Mike ___ 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
Re: [Freeswitch-users] Process_cdr question
On Oct 4, 2008, at 4:45 PM, Vito Andolini wrote: what do you mean by look at the cdr? I checked these 2 wiki pages bu tthey provide only SOME of the fields not all... http://wiki.freeswitch.org/wiki/Mod_xml_cdr http://wiki.freeswitch.org/wiki/Mod_cdr_csv I also checked the API section but couldn't find it... Vito We mean setup FreeSWITCH, make a call, look at the cdr. Mike___ 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