Process_cdr question
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 <blocked::mailto:sofia/example/300@foo.com> &bridge( <blocked::mailto:sofia/example/400@bar.com> 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.
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/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.
Posting the same message to the mailing list twice is unlikely to get you different response. Why don't you try my suggestion? Mike
sorry I had an email from the admin about the mail and thought it was not posted, after posting it again i saw your answer... didn't want to be mean... _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Saturday, October 04, 2008 1:34 PM To: freeswitch-users@lists.freeswitch.org Subject: 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/300@foo.com <blocked::mailto:sofia/example/300@foo.com> &bridge( <blocked::mailto:sofia/example/400@bar.com> 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. Posting the same message to the mailing list twice is unlikely to get you different response. Why don't you try my suggestion? Mike 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/4/2008 11:35 AM
Why not try it and look at the CDR? That should answer the question. The answer time on either leg shouldn't be till the B-Leg is answered so the times for answer should be the same. /b On Oct 4, 2008, at 3: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/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.
participants (3)
-
Brian West
-
Michael Jerris
-
Vito Andolini