Probably it's not the best for you, but the first solution that comes to my mind is setting the accountcode at dialplan. If you are working in a high performance scenario with lot of gateways, then probably you have an objection. Anyway, it would be something like this:
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@avgs.ca> wrote:
From: Mathieu Rene <mrene_lists@avgs.ca>
Subject: Re: [Freeswitch-users] Account ACL
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Date: Friday, April 8, 2011, 4:00 PM-----Inline Attachment Follows-----http://wiki.freeswitch.org/wiki/ACL#UsersYou can set variables directly in the user's directory entry.Mathieu ReneAvant-Garde Solutions IncOffice: + 1 (514) 664-1044 x100Cell: +1 (514) 664-1044 x200
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
FreeSWITCH-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org