RE: [Asterisk-Users] Set(CDR(userfield)) Trouble
check cdr_mysql.conf for userfield=1 turby @ www.canistec.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Sent: Wednesday, June 07, 2006 6:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Set(CDR(userfield)) Trouble 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 ? Thanks in advance ! ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Set(CDR(userfield)) Trouble
Hello, I ran into something similar and found the following in the wiki... Note : If using cdr_mysql addon make sure to set userfield=1 to in cdr_mysql.conf. If using cdr_csv, edit cdr_csv.c and (re)compile to enable the user field. This command has no effect if the user field is not enabled. See: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField This actually was not my problem, but it was good information. I was actually setting it and then overwriting it later on in the dialplan. Hope the information is helpfull. On 6/7/06, Tristan [EMAIL PROTECTED] 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 emptyDoes anyone has a clue on how toget things working ? Thanks in advance !___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Origination that includes real support! http://www.VoIPStreet.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Set(CDR(userfield)) Trouble
Shame on me, that was my trouble, seems like I didn't read enough... Thanks a lot ! Lewis Agosta a crit: Hello, I ran into something similar and found the following in the wiki... Note : If using cdr_mysql addon make sure to set userfield=1 to in cdr_mysql.conf. If using cdr_csv, edit cdr_csv.c and (re)compile to enable the user field. This command has no effect if the user field is not enabled. See: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField This actually was not my problem, but it was good information. I was actually setting it and then overwriting it later on in the dialplan. Hope the information is helpfull. On 6/7/06, Tristan [EMAIL PROTECTED] 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 toget things working ? Thanks in advance ! ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Origination that includes real support! http://www.VoIPStreet.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Set(CDR(userfield)) Trouble
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) ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Set(CDR(userfield)) Trouble
Glad I could help. Cheers. On 6/7/06, Tristan [EMAIL PROTECTED] wrote: Shame on me, that was my trouble, seems like I didn't read enough...Thanks a lot !Lewis Agosta a écrit: Hello, I ran into something similar and found the following in the wiki... Note : If using cdr_mysql addon make sure to set userfield=1 to in cdr_mysql.conf. If using cdr_csv, edit cdr_csv.c and (re)compile to enable the user field. This command has no effect if the user field is not enabled. See: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField This actually was not my problem, but it was good information. I was actually setting it and then overwriting it later on in the dialplan. Hope the information is helpfull. On 6/7/06, Tristan [EMAIL PROTECTED] 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 toget things working ? Thanks in advance !___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Origination that includes real support! http://www.VoIPStreet.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Origination that includes real support!http://www.VoIPStreet.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users