Matt
2005-Dec-06 07:33 UTC
[Asterisk-Users] Call Forwarding with Account Code.. can it be done?
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?
C F
2005-Dec-06 11:24 UTC
[Asterisk-Users] Call Forwarding with Account Code.. can it be done?
Create a context for that ATA that always applies the account code in the DP before it you issue the dial command. On 12/6/05, Matt <mhoppes@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 >
Andy Kuo
2005-Dec-06 11:29 UTC
[Asterisk-Users] Call Forwarding with Account Code.. can it be done?
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@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