I'm sure someone will mention ForkCDR() but that doesn't really work. I am in the same situation where a person may dial the DID 8229698858 but the CDR will show that persons extension rather than the actual number that was dialed.
-Matthew ----- Original Message ----- From: "aza" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, February 17, 2005 2:12 PM Subject: [Asterisk-Users] Call Forwarding and CDR > Hi, > > Does anyone have a solution to that allows an incoming call > to be forwarded to a mobile (or other billable destination) > and provide a CDR for the mobile call. > > Such as: > > exten -> 1001,Dial(SIP/sipclient&ZAP/g1/023423,20) > > The CDR for this call will have 1001 as the destination > regardless of whether the SIP or ZAP channel takes it. The > problem I have is if the call is forwarded to the > ZAP/g1/023423 channel it costs money and I want to find a > way to get a CDR for this leg of the call with the 023423 > number as the destination and not 1001. > > Anyone have something similar? > > Aaron > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
