Assigning CDR(accountcode) is generally the first thing I do in my dialplan at every entry point. I debug it using Noop() cmds seeded through my dialplan, and it`s set correctly. At one point, it just gets unassigned...
And I`m not using any spool files or manager commands, just basic dialplan commands, so that doesn't help, but thanks trying, it could have been the reason. Mick > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of David Backeberg > Sent: Wednesday, June 11, 2008 14:49 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Losing CDR(accountcode) > > You can enable debugging and make sure that the assignment earlier in > your dialplan is always assigning a value. > That is, if you assign nothing to CDR(accountcode), of course the > value will be nothing. Is there any chance that there's occasionially > something going wrong earlier such that there's no value to assign in > the first place? Debugging to a log would confirm that the problem is > between the assignment and the write of the CDR, rather than a problem > with something else before that step. > > On Wed, Jun 11, 2008 at 2:21 PM, Mike <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > > > I`m occassionally seeing CDR(accountcode)'s value empty at a place in my > > diaplan where it was filled with some value a few lines before, with > nothing > > else having changed it. > > > > > > > > It`s giving me headaches (as I rely on it for MySQL queries). Anything I > > can do? > > > > > > > > Mick > > > > _______________________________________________ > > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users