[Freeswitch-users] Account ACL

Steven Ayre steveayre at gmail.com
Mon Apr 11 17:42:54 MSD 2011


Just checked and this is indeed the correct syntax. It's documented on the
Wiki:
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Gateway
Scroll down to the example just above the Settings (
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Settings) header.

Does that help?

-Steve



On 11 April 2011 07:50, Steven Ayre <steveayre at gmail.com> wrote:

> You can set channel variables in the <gateway> section, and you can specify
> the direction too so that variables get set either on inbound, outbound or
> both.
>
> I *think* the syntax is:
>
> <gateway>
>    ...
>    <variables>
>        <variable name="accountcode" value="ABC" direction="inbound"/>
>        ...
>    </variables>
> </gateway>
>
> Steve on iPhone
>
> On 8 Apr 2011, at 22:05, FERNANDO VILLARROEL <fvillarroel at yahoo.com>
> wrote:
>
> Dear Mathieu.
>
> My user are not in ditrectory.
>
> My users are gateways authenticated with ACL.
>
> How i can use some variable for identifi like accountcode for inbound
> traffic from this gateways???
>
> Regards
>
> --- On *Fri, 4/8/11, Mathieu Rene <mrene_lists at avgs.ca>* wrote:
>
>
> From: Mathieu Rene <mrene_lists at avgs.ca>
> Subject: Re: [Freeswitch-users] Account ACL
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Friday, April 8, 2011, 4:00 PM
>
> <http://wiki.freeswitch.org/wiki/ACL#Users>
> http://wiki.freeswitch.org/wiki/ACL#Users
>
> You can set variables directly in the user's directory entry.
> <http://wiki.freeswitch.org/wiki/ACL#Users>
> Mathieu Rene
> Avant-Garde Solutions Inc
> Office: + 1 (514) 664-1044 x100
> Cell: +1 (514) 664-1044 x200
> <http://mc/compose?to=mrene@avgs.ca>mrene at avgs.ca
>
>
>
>
> On 2011-04-08, at 2:57 PM, FERNANDO VILLARROEL wrote:
>
> Hi Community.
>
> How i can identifi inbound traffic authorizated on ACL with some variable
> like Accountcode.
>
> For aoutbound traffic i use:
>
> <action application="set" data="accountcode=foo"/>
>
> My problem is for inbound traffic how i can identify accounts?
>
> Regards.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> <http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org>
> 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
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> FreeSWITCH-users mailing list
> <http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org>
> FreeSWITCH-users at lists.freeswitch.org
>  <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://lists.freeswitch.org/mailman/options/freeswitch-users
>  <http://www.freeswitch.org>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/20110411/887b253d/attachment.html 


More information about the FreeSWITCH-users mailing list