<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">The real question is are you having the phone forward the calls or is your dial plan redirecting to outbound calling?<br />
<br />
Bryant<br />
<br />
<div id="divSignature"></div>
<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Zeeshan Zakaria" &lt;zishanov@gmail.com&gt;<br />
<b>Sent</b>: Wednesday, October 13, 2010 2:16 PM<br />
<b>To</b>: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br />
<b>Subject</b>: Re: [asterisk-users] checking CDR</span><br />
<br />
<p>Hi,</p>
<p>(Following is for asterisk 1.4)</p>
<p>For the forwarded calls, you should see two entries in the cdr, and this is because a forwarded call is actually two separate calls. You have to look in the channel and dstchannel fields of the cdr to match the call ids of the calls to figure out which calls were forwarded. Incoming call's channel value and outgoing call's dstchannel value will be the same, except a comma and digit at the end, showing if it was the first call on that id, second, third or more.</p>
<p>I have programmed two billing systems, and this is how I catch forwarded calls and bill them, works perfectly fine. Though it is confusing.</p>
<p>Zeeshan A Zakaria</p>
<p>--<br />
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p>&nbsp;</p>
<blockquote type="cite">On 2010-10-13 1:21 PM, "Danny Dias" &lt;<a href="mailto:ing.diasdanny@gmail.com">ing.diasdanny@gmail.com</a>&gt; wrote:<br />
<br />
Hello Asterisk Community,<br />
<br />
Is there a way to check in asterisk cdrs and extension forwarded?<br />
<br />
I mean, i'm calling to a ISDN number, wich goes to extension 8222, but<br />
this extension is forwarded to another one, the problem is that in<br />
CDRs i am able to see the the first step of the call, but never see<br />
the forwarded extension, how can i do that?<br />
<br />
Thanks!<br />
<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 />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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 />
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br />
</blockquote>
<p>&nbsp;</p>
<br /></span>