[Freeswitch-users] Process_cdr question

Michael Jerris mike at jerris.com
Sat Oct 4 06:55:17 PDT 2008


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(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?
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081004/a355957c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list