[Freeswitch-users] Accountcode

Steven Ayre steveayre at gmail.com
Mon Jan 31 11:19:30 MSK 2011


For inbound (customer), I set a account_code variable on the aleg. You do
that either from dialplan or user directory.

For outbound (provider), I set gateway_name on the bleg in the dialstring,
e.g.
"[gateway_name=gw1]sofia/gateway/gw1/$1,[gateway_name=gw2]sofia/profile/outbound/$1 at a.b.c.d"
- mod_lcr does this with carrier_name for example.

You're free to use whatever variable names suit you best.

-Steve



On 31 January 2011 02:04, FERNANDO VILLARROEL <fvillarroel at yahoo.com> wrote:

> Hi All.
>
> 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)?
>
> Like accountcode of Asterisk.
>
> Regards.
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110131/6e2f8a42/attachment.html 


More information about the FreeSWITCH-users mailing list