<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5626" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=133003520-04102008><FONT face=Arial
color=#0000ff size=2>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...</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Michael Jerris<BR><B>Sent:</B> Saturday, October 04, 2008 1:34
PM<BR><B>To:</B> freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re:
[Freeswitch-users] Process_cdr question<BR></FONT><BR></DIV>
<DIV></DIV><BR>
<DIV>
<DIV>On Oct 4, 2008, at 4:20 PM, Vito Andolini wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>
<DIV>
<DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2>Let's say I am programatically initiating two calls and then bridging
them together. If I have the dialplan as </FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008></SPAN><SPAN
class=071011512-04102008><FONT face=Arial color=#0000ff size=2><FONT
color=#000000 size=3><FONT color=#0000ff size=2><STRONG>originate <A
title="BLOCKED::mailto:sofia/example/300@foo.com mailto:sofia/example/300@foo.com"
href="blocked::mailto:sofia/example/300@foo.com">sofia/example/300@foo.com</A>
&bridge(</STRONG><A
title="BLOCKED::mailto:sofia/example/400@bar.com mailto:sofia/example/400@bar.com"
href="blocked::mailto:sofia/example/400@bar.com"><STRONG
title="BLOCKED::mailto:sofia/example/400@bar.com mailto:sofia/example/400@bar.com">sofia/example/400@bar.com</STRONG></A><STRONG>)
</STRONG></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>and have the
<STRONG>process_cdr</STRONG> set to "<STRONG>true</STRONG>" which is the
default.</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>I'd like to know
how both cdr would look like...</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>Obviously the "b"
leg will be logged starting right after "400" have answered the call... Which
is fine....</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>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)</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>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?</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2>Thanks,</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=071011512-04102008><FONT face=Arial color=#0000ff
size=2><FONT color=#000000 size=3><FONT color=#0000ff size=2>Vito
A.</FONT></FONT></FONT></SPAN></DIV></DIV></DIV></DIV></BLOCKQUOTE><BR></DIV>
<DIV>Posting the same message to the mailing list twice is unlikely to get you
different response. Why don't you try my suggestion?</DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV><BR></DIV><BR>
<P><FONT face=Arial size=2>No virus found in this incoming message.<BR>Checked
by AVG - http://www.avg.com<BR>Version: 8.0.173 / Virus Database: 270.7.5/1705 -
Release Date: 10/4/2008 11:35 AM<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BODY></HTML>