[asterisk-users] CDR userfield not written into DB

Philipp Kempgen philipp.kempgen at amooma.de
Sun Nov 8 09:01:41 CST 2009


Norbert Zawodsky schrieb:

> I'm using Asterisk 1.2.12.1 with mysql as the cdr backend.
> In the dialplan i've written
> 
> exten => 1234,n,Set(CDR(userfield)=blah)
> exten => 1234,n,Answer()
> exten => 1234,n,Queue(.....)
> exten => 1234,n,Hangup()
> 
> When I'm doing a call I can see that the statement is executed. But when
> the call finishes, a cdr is written into the DB with an empty 'userfield'.
> 
> I'm sure, I'm missing something but can't figure out, what...

/etc/asterisk/cdr_mysql.conf :

[global]
userfield=1

...


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list