VoiceGuide IVR Software Main Page
Jump to content

Cdr Account

Recommended Posts

Hi,

 

We found in our cdr's something like this:

 

INSERT INTO cdrout (Account, Src, Dst, Dcontext, Clid, Channel, Dstchannel, Lastapp, Lastdata, dtStart, dtAnswer, dtHangup, Duration, Billsec, Disposition, Amaflags, Usr) VALUES ('ankieta','555222333','9549119528528528','','','','','','','2015-10-14 08:41:11','2015-10-14 08:41:28','2015-10-14 08:44:53',222,206,'ANSWERED','','ID20151014083300187')

we don't know how is creating Account data: "ankieta"

 

Which variable is used as Account?

 

we are using 'ankieta' as dialer campain name. After VG restart Account field is empty but after start first dialer task most of cdr's have Account: 'ankieta'

 

Share this post


Link to post

The Campaign name is used to set the Account field in cdrout table.

 

Sounds like you have found that old value for this field is used in cases where Campaign name is not set (?)

 

Please post a trace that captures outgoing calls where in the saved CDRs the Account is set to "ankieta" instead of the actual Campaign name used (or if it is supposed to be blank).

Share this post


Link to post

Looks like there is a bug that resulted in the Campaign name not be cleared before the call for the outgoing leg of a 2-line transferred calls is made on the line.

 

The CDRs of outgoing legs of transfer calls will be saved in cdrout table with the Dialer's Campaign name saved in the 'Account' field.

 

This will be fixed in v7.5.1 onward.

Share this post


Link to post

How to change or declare Account in script?

 

Which variable is used to insert into cdr's Account field?

Share this post


Link to post

Not possible right now to set it from the script.

 

We can add functionality to v7.5.1 that will save the value of this RV:

 

$RV[CDR_Account]

 

in the CDR's Account field.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×