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
-- 

_______________________________________________
-- 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

Reply via email to