Dears,

I need to save some information on userfield when calls end in Asterisk13, but 
I have two error cases:

1. With endbeforehexten=no in cdr.conf, I have a registry in cdr, but userfield 
is not set.
2. With endbeforehexten=yes, I have two lines in cdr, one with duration, src e 
dst correct, and a second line with userfield setting and dst h.

I am using cdr_odbc.conf, with Asterisk11.14.0 it works fine. May be this is a 
bug in asterisk13's cdr?




pabx=# select calldate,src,dst,duration,billsec,uniqueid,userfield from cdr 
order by calldate desc limit 2;
        calldate        | src  | dst  | duration | billsec |   uniqueid   | 
userfield 
------------------------+------+------+----------+---------+--------------+-----------
 2014-11-20 14:37:03-02 | 1901 | h    |        0 |       0 | 1416501411.0 | 
teste
 2014-11-20 14:36:51-02 | 1901 | 1234 |       11 |       9 | 1416501411.0 | 
(2 registros)






Atenciosamente, 


                Alonso Genis 
Analista de Desenvolvimento 
[email protected] 

        





-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to