<html><body bgcolor="#FFFFFF"><div>You can set channel variables in the &lt;gateway&gt; section, and you can specify the direction too so that variables get set either on inbound, outbound or both.</div><div><br></div><div>I *think* the syntax is:</div><div><br></div><div>&lt;gateway&gt;</div><div>&nbsp;&nbsp; ...</div><div>&nbsp;&nbsp; &lt;variables&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &lt;variable name="accountcode" value="ABC" direction="inbound"/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; ...</div><div>&nbsp;&nbsp; &lt;/variables&gt;</div><div>&lt;/gateway&gt;<br><br>Steve on iPhone</div><div><br>On 8 Apr 2011, at 22:05, FERNANDO VILLARROEL &lt;<a href="mailto:fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Dear Mathieu.<br><br>My user are not in ditrectory.<br><br>My users are gateways authenticated with ACL.<br><br>How i can use some variable for identifi like accountcode for inbound traffic from this gateways???<br><br>Regards<br><br>--- On <b>Fri, 4/8/11, Mathieu Rene <i>&lt;<a href="mailto:mrene_lists@avgs.ca">mrene_lists@avgs.ca</a>&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Mathieu Rene &lt;<a href="mailto:mrene_lists@avgs.ca">mrene_lists@avgs.ca</a>&gt;<br>Subject: Re: [Freeswitch-users] Account ACL<br>To: "FreeSWITCH Users Help" &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Date: Friday, April 8, 2011, 4:00 PM<br><br><div id="yiv961200448"><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/ACL#Users"><a href="http://wiki.freeswitch.org/wiki/ACL#Users">http://wiki.freeswitch.org/wiki/ACL#Users</a></a><div><br></div><div>You can set variables directly in the user's directory
 entry.</div><div><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/ACL#Users"></a><br><div>
<div><span class="yiv961200448Apple-style-span" style="font-size: 12px;"><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a rel="nofollow" ymailto="mailto:mrene@avgs.ca" target="_blank" href="/mc/compose?to=mrene@avgs.ca"><a href="mailto:mrene@avgs.ca">mrene@avgs.ca</a></a></div><div><br></div><div><br></div></span></div><br class="yiv961200448Apple-interchange-newline">
</div>
<br><div><div>On 2011-04-08, at 2:57 PM, FERNANDO VILLARROEL wrote:</div><br class="yiv961200448Apple-interchange-newline"><blockquote type="cite"><div>Hi Community.<br><br>How i can identifi inbound traffic authorizated on ACL with some variable like Accountcode.<br><br>For aoutbound traffic i use:<br><br> &lt;action application="set" data="accountcode=foo"/&gt;<br><br>My problem is for inbound traffic how i can identify accounts?<br><br>Regards.<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></div><br>-----Inline
 Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br></div></blockquote></td></tr></tbody></table></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>