[Freeswitch-users] Process_cdr question

Vito Andolini vitolini at gmail.com
Sat Oct 4 13:45:37 PDT 2008

what do you mean by look at the cdr? 
I checked these 2 wiki pages bu tthey provide only SOME of the fields not
I also checked the API section but couldn't find it...


From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Sent: Saturday, October 04, 2008 6:55 AM
To: freeswitch-users at lists.freeswitch.org
Subject: 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/300 at foo.com &bridge(
<mailto:sofia/example/400 at bar.com> sofia/example/400 at bar.com) 
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?
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.


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.7.5/1705 - Release Date: 10/3/2008
6:17 PM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081004/7e0d90f7/attachment-0002.html 

More information about the FreeSWITCH-users mailing list