Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Losing CDR(accountcode)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
dbackeberg at gmail.com
Guest





PostPosted: Wed Jun 11, 2008 1:48 pm    Post subject: [asterisk-users] Losing CDR(accountcode) Reply with quote

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:
Quote:
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
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Wed Jun 11, 2008 2:05 pm    Post subject: [asterisk-users] Losing CDR(accountcode) Reply with quote

On Wednesday 11 June 2008 13:48:48 David Backeberg wrote:
Quote:
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.

Another problem might be alternate entry points in the dialplan. For example,
spool files and the manager Originate command can both set up calls at a
context, extension, and priority of their own choosing, rather than going
through all steps of your dialplan (as external calls would). Also, SIP calls
can setup to any extension in your entry context, including non-numeric
extensions. So you can't depend upon that, either.

--
Tilghman
Back to top
murf at digium.com
Guest





PostPosted: Wed Jun 11, 2008 2:34 pm    Post subject: [asterisk-users] Losing CDR(accountcode) Reply with quote

On Wed, 2008-06-11 at 14:21 -0400, Mike wrote:
Quote:
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
Back to top
list at virtutel.ca
Guest





PostPosted: Wed Jun 11, 2008 2:57 pm    Post subject: [asterisk-users] Losing CDR(accountcode) Reply with quote

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

Quote:
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
bounces at lists.digium.com] 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 <list at virtutel.ca> wrote:
Quote:
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
Quote:
else having changed it.



It`s giving me headaches (as I rely on it for MySQL queries). Anything
I
Quote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services