<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sure, can you post the code somewhere, I'd like chris parker (who wrote the other radius mods) to take a look at this.<div><br></div><div>Mike</div><div><br><div><div>On Oct 29, 2009, at 10:44 AM, Tihomir Culjaga wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">just a radius authentification (without)... i sow there is no such a thing in FS<br><br><br>something like this: <br><br>&lt;configuration name="radius_auth.conf" description="Radius authentification module"&gt;<br>
&nbsp; &lt;settings&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="server" value="server"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="secret" value="secret"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- timeout in ms --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="auth_timeout" value="2000"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!-- number of packets to resend --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="auth_retry" value="2"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- radiusclient src ip address --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="src_addr" value="$${local_ip_v4}"/&gt;<br>
&nbsp; &lt;/settings&gt;<br>&nbsp; &lt;standard_attributes&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- username&nbsp; --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param key="PW_CALLING_STATION_ID" value="${ani}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- just dummy password - can be whatever --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;param key="PW_USER_PASSWORD" value="password"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- calling number --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param key="PW_CALLING_STATION_ID" value="${ani}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- called number --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;param key="PW_CALLED_STATION_ID" value="${destination_number}"/&gt;<br>&nbsp; &lt;/standard_attributes&gt;<br>&nbsp; &lt;vsas&gt;<br>&nbsp;&nbsp;&nbsp; &lt;vsa name ="highdeal"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="dictionary" value="path/to/my_vsa/dictionary"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="number" value="12084"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- call id --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="1" value="${uuid}-12345"/&gt; <br>&nbsp;&nbsp;&nbsp; &lt;!-- connection id --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="2" value="${uuid}-54321"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!-- call direction --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="6" value="${direction}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- call type --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="7" value="0"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- fs ip address --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="16" value="$${local_ip_v4}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- originating caller --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="24" value="${orig_pfx}${ani}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- originating called --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="25" value="${orig_pfx}${destination_number}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- terminating caller --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="26" value="${term_pfx}${ani}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- terminating called --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="27" value="${term_pfx}${destination_number}"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- selector tag --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="28" value="selector tag"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- trunk tag --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param key="29" value="trunk tag"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/vsa&gt;<br>&nbsp;&nbsp;&nbsp; &lt;vsa name="test1"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/vsa&gt;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;vsa name="test2"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/vsa&gt;<br>&nbsp; &lt;/vsas&gt;<br>
&lt;/configuration&gt;<br><br><br><br>it is not fully working (need some tweaking for dynamic VSA buildup) but it works :)<br><br><br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 1:27 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">sure, what does it do?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 5:00 AM, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
thx, it works :P<br><br>BTW: interested to host this module on FS SVN?<br><font color="#888888"><br>T.</font><div><div></div><div><br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 12:30 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211" target="_blank">http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211</a><br>



<div><br>
On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:<br>
<br>
&gt; can someone help on this.<br>
&gt;<br>
&gt; &nbsp;I'm trying to build the module on trunk and it looks like i can't<br>
&gt; find 'switch_strlen_zero' function anywhere :P<br>
<br>
</div>Mike<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
_______________________________________________<br>FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>