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@foo.com &bridge(sofia/example/400@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