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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080611/318a0a49/attachment.htm
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 <list at virtutel.ca> 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 >
On Wed, 2008-06-11 at 14:21 -0400, Mike 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-- I am trying to get a small list of bugs closed in regards to CDR's. So, I advise that you check out http://svn.digium.com/svn/asterisk/team/murf/CDRfix4 if you are using 1.4 or http://svn.digium.com/svn/asterisk/team/murf/CDRfix6 if you are using 1.6.0 or trunk, and see if the problem stays the same, gets worse, or gets better. A short response to me directly will help me out a lot. murf -- Steve Murphy Software Developer Digium -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3227 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080611/3164f61e/attachment.bin
Possibly Parallel Threads
- Warning: CDRfix branches about to be merged into 1.4, 1.6.0, trunk!
- CDR not recording accountcode on SIP Response 302 Call Forward From Phone
- CDR Rewrite -- Questions to the users
- regarding to field of accountcode
- How to Change size of CDR(accountcode) variable?