You can export it or set it in the dialstring. Just be sure to use "nolocal" if you export it:<div><br></div><div><action application="export" data="nolocal:accountcode=12345"/></div><div>
<br></div><div>Or do this:</div><div><br></div><div><action application="bridge" data="{accountcode=12345}sofia/foo/bar@baz"/></div><div><br></div><div>-MC<br><br><div class="gmail_quote">On Sat, Mar 26, 2011 at 5:55 PM, Robert Huddleston <span dir="ltr"><<a href="mailto:rhuddleston@gmail.com">rhuddleston@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Anyone have any suggestions on obtaining / setting the Account Code for BLeg for Mod_xml_cdr.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">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?</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Probably some custom coding I would assume to pull this off…</p><p class="MsoNormal"> </p><p class="MsoNormal">Any thoughts…</p><p class="MsoNormal"> </p><p class="MsoNormal">
Thanks</p></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>