[Asterisk-Users] Set(CDR(userfield)) Trouble
Matt Riddell (IT)
matt.riddell at sineapps.com
Wed Jun 7 10:16:46 MST 2006
Tristan wrote:
> Hi,
>
> I have troubles setting the userfield in mysql ( using asterisk 1.2.8 /
> addons 1.2.3 )
> I use this in my dialplan:
> exten => s,n,SetCDRUserField(SOMEVALUE)
>
> I tried also:
> exten => s,n,Set(CDR(userfield)=SOMEVALUE)
>
> But everytime i look at the cdr database the userfield is still empty
>
> Does anyone has a clue on how to get things working ?
Make sure you have userfield=1 in your cdr_mysql.conf
--
Cheers,
Matt Riddell
_______________________________________________
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
More information about the asterisk-users
mailing list