Dear. Yes i need setup b leg with a accountcode different to a leg, like this a leg = accountcode = foo b leg = accountcode = foo1 I trying with <action application="export" data="accountcode=foo"/> But in my CDR for inbound and outbound call is equal to foo. I need setup inbound call with accountcode = foo and outbound call with accountcode = foo1 Regards. --- On Sun, 4/10/11, Michael Collins <msc@freeswitch.org> wrote: From: Michael Collins <msc@freeswitch.org> Subject: Re: [Freeswitch-users] Account ACL To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Sunday, April 10, 2011, 10:57 PM On Sun, Apr 10, 2011 at 3:27 PM, FERNANDO VILLARROEL <fvillarroel@yahoo.com> wrote: Dear Pablo. Thank you for you help. My problem is setup accountcode for outbound gateway (sip_profiles/external ). I will try and inform to you my tests results. For inbound gateway the acoountcode is setup fine the like this: <action application="set" data="accountcode=foo"/> <action application="bridge" data="sofia/gateway/ms6/$1$2"/> I need setup CDR accountcode for my sip_profiles/external or in this example for gateway named ms6. So, you need the variable "accountcode" to be "foo" on the B leg of this call? If so, just use "export" instead of "set" and it will be done <action application="export" data="accountcode=foo"/> If that's not what you want then I recommend that you try explaining from the beginning (again) your problem because we are having a difficult time understanding what you are asking for. Thanks, MC -----Inline Attachment Follows----- _______________________________________________ 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