You can export it or set it in the dialstring. Just be sure to use "nolocal" if you export it: <action application="export" data="nolocal:accountcode=12345"/> Or do this: <action application="bridge" data="{accountcode=12345}sofia/foo/bar@baz"/> -MC On Sat, Mar 26, 2011 at 5:55 PM, Robert Huddleston <rhuddleston@gmail.com>wrote:
Anyone have any suggestions on obtaining / setting the Account Code for BLeg for Mod_xml_cdr.
I applied accountcode but that is only handling for ALeg. I also looked at effective_caller_id_number – but I need to dynamically (at time of bridging a-leg to b-leg) define the accountcode?
Probably some custom coding I would assume to pull this off…
Any thoughts…
Thanks
_______________________________________________ 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