Hi Mike,<div><br></div><div>Fork will generated 2 CDRs, and will seperate CDRs</div><div><br></div><div>But seems that there is a trouble in 1.6 (1.4 was working fine)</div><div><br></div><div>For exemple : phone A (leg A) is called, I play some background sound and before putting in relation with phone B (leg B) I do a ForkCDR()</div>
<div><br></div><div>in 1.4 billsec in the first CDRs whas the call time on leg A and in the second CDR the time of call on leg B</div><div>in 1.6 billsec on the two CDRs is the call time on leg B</div><div><br></div><div>
in my case it cause some trouble since I cannot not charge the introduction message (background sound)</div><div><br></div><div>Is it a known Bug ? or may be it&#39;s not a bug?</div><div><br></div><div><br></div><div>regards</div>
<div><br></div><div>Mickael</div><div><br></div><div><br><div class="gmail_quote">2010/9/23 Mike <span dir="ltr">&lt;<a href="mailto:list@net-wall.com">list@net-wall.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span lang="FR-CA">Hi,</span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal"><span lang="FR-CA">Using 1.6.2.13.  </span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal"><span lang="FR-CA">I&#39;d like to know how I can force Asterisk
to fork a call.  To simplify things, Let&#39;s say I have an out context (for outbound
calls) and an in (for inbound).  If person A wants to call person B, and both
are on my servers, I don`t want to send the call out.  I want all this to
happen internally on my server.</span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal"><span lang="FR-CA">The problem is if I use some condition to
send calls in my out context back to my in context, some channel variables get
mixed up, and (for example) when the calling part puts the called party on hold,
the music on hold used is the called party&#39;s music.  I am sure there are some
less benign problems that could come with that.</span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal"><span lang="FR-CA">Is ForkCDR() what I am looking for? Any things
I gotta watch out for when using it?</span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal"><span lang="FR-CA">I basically would like Asterisk to treat
this call as two separate calls, as if one was completely outbound and the
second an independant inbound call.</span></p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

<p class="MsoNormal">Mike</p>

<p class="MsoNormal"><span lang="FR-CA"> </span></p>

</div>

</div>


<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>