For inbound (customer), I set a account_code variable on the aleg. You do that either from dialplan or user directory.<br><br>For outbound (provider), I set gateway_name on the bleg in the dialstring, e.g. &quot;[gateway_name=gw1]sofia/gateway/gw1/$1,[gateway_name=gw2]sofia/profile/outbound/$1@a.b.c.d&quot; - mod_lcr does this with carrier_name for example.<br>
<br>You&#39;re free to use whatever variable names suit you best.<br><br>-Steve<br><br><br><br><div class="gmail_quote">On 31 January 2011 02:04, FERNANDO VILLARROEL <span dir="ltr">&lt;<a href="mailto:fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi All.<br>
<br>
If i received traffic from a customer and i forward this traffic to a provider, How i can know the traffic inbound and outbound (customer and provider)?<br>
<br>
Like accountcode of Asterisk.<br>
<br>
Regards.<br>
<br>
<br>
<br>
<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>
</blockquote></div><br>