[Freeswitch-users] Accountcode

David Ponzone david.ponzone at ipeva.fr
Mon Jan 31 11:33:34 MSK 2011


I do the same as Steven, except as I use only pre-defined gateways, I already have the ${sip_gateway_name} variable available for me to use in the XML or CSV CDR.

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 31/01/2011 à 09:19, Steven Ayre a écrit :

> 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
> 
> _______________________________________________
> 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/8b4466d7/attachment.html 


More information about the FreeSWITCH-users mailing list