[asterisk-users] checking CDR

Bryant Zimmerman BryantZ at zktech.com
Wed Oct 13 13:26:48 CDT 2010


The real question is are you having the phone forward the calls or is your 
dial plan redirecting to outbound calling?

Bryant

----------------------------------------
 From: "Zeeshan Zakaria" <zishanov at gmail.com>
Sent: Wednesday, October 13, 2010 2:16 PM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] checking CDR

Hi, 

(Following is for asterisk 1.4) 

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. 

I have programmed two billing systems, and this is how I catch forwarded 
calls and bill them, works perfectly fine. Though it is confusing. 

Zeeshan A Zakaria 

--
www.ilovetovoip.com 

  On 2010-10-13 1:21 PM, "Danny Dias" <ing.diasdanny at gmail.com> wrote:

Hello Asterisk Community,

Is there a way to check in asterisk cdrs and extension forwarded?

I mean, i'm calling to a ISDN number, wich goes to extension 8222, but
this extension is forwarded to another one, the problem is that in
CDRs i am able to see the the first step of the call, but never see
the forwarded extension, how can i do that?

Thanks!

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101013/a6b7cab9/attachment.htm 


More information about the asterisk-users mailing list