[Asterisk-Dev] res/res_agi.c set accountcode
Kaloyan Kovachev
kkovachev at varna.net
Wed Jan 4 09:15:35 MST 2006
To access CDR fields just use CDR(field)
SET CDR(ACCOUNTCODE) variable
should work
On Wed, 4 Jan 2006 09:47:00 -0600, Moises Silva wrote
> hum, i guess this does the trick:
>
> http://www.voip-info.org/wiki-Asterisk+cmd+SetAccount
>
> Is deprecated, but there you find other way to do it.
>
> regards.
>
> On 1/4/06, Cristian Draghici <cristian.draghici at gmail.com> wrote:
> > Hi list
> >
> > 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").
> >
> > Should I send a patch over or am I reinventing the wheel?
> >
> > Thanks and best regards,
> > Cristi
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
> --
> "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list