<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear.<br><br>Yes i need setup b leg with a accountcode different to a leg, like this<br><br>a leg = accountcode = foo<br>b leg = accountcode = foo1<br><br>I trying with <br><br><div><span class="yiv2008494509Apple-style-span" style="font-size: medium;"> <action application="export" data="accountcode=foo"/></span></div><div><br>But in my CDR for inbound and outbound call is equal to foo.<br><br>I need setup inbound call with accountcode = foo and outbound call with accountcode = foo1<br><br>Regards.<br><br></div><br><br><br>--- On <b>Sun, 4/10/11, Michael Collins <i><msc@freeswitch.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Michael Collins <msc@freeswitch.org><br>Subject: Re: [Freeswitch-users] Account ACL<br>To: "FreeSWITCH Users Help"
<freeswitch-users@lists.freeswitch.org><br>Date: Sunday, April 10, 2011, 10:57 PM<br><br><div id="yiv2008494509"><br><br><div class="yiv2008494509gmail_quote">On Sun, Apr 10, 2011 at 3:27 PM, FERNANDO VILLARROEL <span dir="ltr"><<a rel="nofollow" ymailto="mailto:fvillarroel@yahoo.com" target="_blank" href="/mc/compose?to=fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>></span> wrote:<br><blockquote class="yiv2008494509gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Dear Pablo.<br><br>Thank you for you help.<br><br>My problem is setup accountcode for outbound gateway (sip_profiles/external ). I will try and inform to you my tests results.<br>
<br>For inbound gateway the acoountcode is setup fine the like this:<div class="yiv2008494509im"><br><br> <action application="set" data="accountcode=foo"/><br></div> <action application="bridge" data="sofia/gateway/ms6/$1$2"/><br>
<br>I need setup CDR accountcode for my sip_profiles/external or in this example for gateway named ms6.<br></td></tr></tbody></table></blockquote><div><br></div><div>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</div>
<div><span class="yiv2008494509Apple-style-span" style="font-size: medium;"> <action application="export" data="accountcode=foo"/></span></div><div><br></div><div>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.</div>
<div><br></div><div>Thanks,<br>MC</div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=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></div></blockquote></td></tr></table>