[Asterisk-Users] Call Forwarding with Account Code.. can it be done?

Andy Kuo akuoca at gmail.com
Tue Dec 6 11:29:46 MST 2005


I use SetAccount(${EXTEN}) when the extension gets the call.  The original
dialed extension will be recorded as AccountCode in CDR, before the call is
forwarded.  The 1st field in CDR will be the extension your customer, the
2nd will be the caller (source), the 3rd will be the forwared number.

It works for me pretty well.

Andy


On 12/6/05, Matt <mhoppes at gmail.com> wrote:
>
> I want to allow my users to be able to
> "Call Forward Unconditional"
> "Call Forward Busy"
> "Call Forward No Answer"
>
> And curently I am doing this via my ATA and phone settings, however
> this has the problem that when a call is forwarded it goes out without
> an accountcode (Even though the ATA is forwarding the call), and hence
> I can't track the call!
>
> Can someone suggest a way to either fix this so that accountcodes go
> into the CDRs when the ATA/phone forwards the call, or to do the three
> forwarding types directly on asterisk?
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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/20051206/7b758781/attachment.htm


More information about the asterisk-users mailing list