[Asterisk-Users] A CDR issue of agent.conf <createlink feature>

kaiser kaiser at gentrice.net
Wed May 17 03:30:01 MST 2006


Hi,

Asterisk version : 1.2.7.1 stable version
We try agent.conf setting of 

createlink=yes

We always can not see this link value to be filled in MySQL's table filed :  userfield
But we can see the record file has been created correctly. 

In debug mode, no userfiled shown in SQL command, 

May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '"unknown" <2001>'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '2001'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '1'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'sip_ps'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'SIP/2001-783e'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'Agent/1000'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'Queue'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '1||||180'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '2006-05-17 18:10:40'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '2006-05-17 18:10:41'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '2006-05-17 18:10:51'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '11'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '10'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'ANSWERED'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'DOCUMENTATION'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '2001'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '1147860640.0'
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is 'agent-1000-1147860640-3.wav'
May 17 18:10:51 DEBUG[2889] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
May 17 18:10:51 DEBUG[2889] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2006-05-17 18:10:40','\"unknown\" <2001>','2001','1','sip_ps', 'SIP/2001-783e','Agent/1000','Queue','1||||180',11,10,'ANSWERED',3,'2001')
May 17 18:10:51 DEBUG[2889] chan_sip.c: update_call_counter(2001) - decrement call limit counter

Do I miss any important flag in config to enable this field?

best regard
kaiser

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060517/1081069f/attachment.htm


More information about the asterisk-users mailing list