[asterisk-users] CDR userfield not written into DB
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 ___ -- 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
Re: [asterisk-users] CDR userfield not written into DB
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
Re: [asterisk-users] CDR userfield not written into DB
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@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. ___ -- 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
Re: [asterisk-users] CDR userfield not written into DB
Philipp Kempgen schrieb: 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 Oh god! That simple Sorry!! ___ -- 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