Hi everybody, i've been googling for quite some time now but can't find an answer to my problem... 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... Thanks Norbert
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 --
Norbert Zawodsky wrote:> Hi everybody, > > i've been googling for quite some time now but can't find an answer to > my problem... > > >My first hit on Google: http://www.mail-archive.com/asterisk-users at lists.digium.com/msg147997.html> exten => 1234,n,Set(CDR(userfield)=blah) > >This is version 1.4.x format. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."