You could do bind_meta_app to execute_extension and have the extension ask the user for an account code and set it there. I'm curious to see how well that would work. You could copy the basic structure of the Local_Extension in default.xml and the corresponding entries in features.xml and then write your own extension that does the dirty work of prompting the user, accepting the digits, and then changing the accountcode chan var.

-MC

On Wed, Apr 7, 2010 at 1:30 PM, Jerry Richards <jerry.richards@teotech.com> wrote:

Regarding the "accountcode" channel variable in FS:
http://wiki.freeswitch.org/wiki/Variable_accountcode.  Is there any example
or method of dynamically setting this accountcode for a the call has already
been established?  This would apply for a case where a call is received and
the callee would like to set the accountcode during the conversation.

Thanks,
Jerry


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org