[asterisk-users] CDR userfield not written into DB

Norbert Zawodsky norbert at zawodsky.at
Sun Nov 8 09:47:14 CST 2009


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




More information about the asterisk-users mailing list