Hi I am trying to use SetCDRUserField in an agi script but with no success. I am using the CDR mysql addon, however I can't see it being at fault as my attempt is not doing anything to the CVS CD either. has anyone used this, any hints guidence would be greatly appreciated. The syntax I am using is like so .. res=DoExec('SetCDRUserField','12345'); and then dialing the relevant extention. Thanks Umar. ___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
> Hi I am trying to use SetCDRUserField in an agi script > but with no success. > I am using the CDR mysql addon, however I can't see it > being at fault as my attempt is not doing anything to > the CVS CD either.I don't think that SetCDRUserField works on MySQL :( I only implemented it for CSV. Originally, there were multiple user fields so there was some question on how to map that to people's SQL schemas. --Justin
Leo Ann Boon
2004-Jun-16 18:12 UTC
[Asterisk-Users] using SetCDRUserField in an AGI script
Did you set userfield=1 in cdr_mysql.conf? Umar Sear wrote:>Hi I am trying to use SetCDRUserField in an agi script >but with no success. > >I am using the CDR mysql addon, however I can't see it >being at fault as my attempt is not doing anything to >the CVS CD either. > >has anyone used this, any hints guidence would be >greatly appreciated. > >The syntax I am using is like so .. > >res=DoExec('SetCDRUserField','12345'); > >and then dialing the relevant extention. > >Thanks > >Umar. > > > > > >___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >