Hi Fernando, try the solution proposed by MC. If you still having problems, please drop an email in your native language and someone will be glad to help you (my native language is spanish by the way).<div><br><br><div class="gmail_quote">
On Mon, Apr 11, 2011 at 9:20 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Fernando,<div><br></div><div>What is your native language? We have users who are fluent in Spanish, Brazilian Portugese, and many others. Ask your question in your native language and someone will be able to help those of us who speak only English to understand.</div>
<div><br></div><div>That being say, I don't see what you can't set the account code on the B leg. You can do this:</div><div><span style="font-size:medium"><action application="export" data="nolocal:accountcode=foo1"/></span></div>
<div><br></div><div>However, you still have not told use how you know what value to use. If you literally need to append "1" to the accountcode you can do something like this:</div><div><span style="font-size:medium"><action application="export" data="nolocal:accountcode=${accountcode}1"/></span></div>
<div><br></div><div>Be sure to use "nolocal:" so that your A leg accountcode value is not affected. Try the above and let us know if that does what you need.</div><div><br></div><div><font color="#888888">-MC</font><div>
<div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Apr 11, 2011 at 3:32 PM, FERNANDO VILLARROEL <span dir="ltr"><<a href="mailto:fvillarroel@yahoo.com" target="_blank">fvillarroel@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Dear Michael.<br><br>Thank you for you help. I will try to explain but excuse my bad english.<br><br>In my FS i received traffic from a gateway A and this traffic i forward to another Gateway B.<br>
<br>Gateway A ----> My FS -----> Gateway B.<br><br>Ok in my CDR i have both calls, inbound and outbound calls. So i need setup inbound call with accountcode = foo and outbound call i need setup with another accountcode variable like accountcode = foo1.<br>
<br>So like this i will can inform to my customer (Gateway A) how much traffic i receive from him and i will inform to my provider (Gateway B ) how much traffic i send to him.<br><br>It's possible or let me know another idea how i can do.<br>
<br>Regards.<br><br>--- On <b>Mon, 4/11/11, Michael Collins <i><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px">
<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><br>Subject: Re: [Freeswitch-users] Account ACL<br>To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Monday, April 11, 2011, 6:31 PM<br><br><div><br><br><div>On Mon, Apr 11, 2011 at 2:23 PM, FERNANDO VILLARROEL <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=fvillarroel@yahoo.com" target="_blank">fvillarroel@yahoo.com</a>></span> wrote:<br>
<blockquote 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" valign="top">
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><div><br><div><span style="font-size:medium"> <action application="export" data="accountcode=foo"/></span></div></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></div></td></tr></tbody></table></blockquote><div><br></div><div>How do you know that the outbound leg needs to be "foo1"? In other words, where do you look to get the value of "foo1"?</div>
<div>-MC</div><div><br></div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></tbody></table><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></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>