Cristian Draghici wrote: > Is there a way to alter the accountcode CDR field from AGI? > > I didn't find anything in res_agi.c and I've ended up writing my own > "SET ACCOUNTCODE" command (similar to "SET EXTENSION"). This has already been answered on asterisk-users. You can set any variable, or dialplan function, via AGI.