⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uri_radius_user.sgml

📁 性能优秀的SIP Proxy
💻 SGML
字号:
<!-- Module User's Guide --><chapter>	<chapterinfo>	<revhistory>		<revision>		<revnumber>$Revision: 1.6 $</revnumber>		<date>$Date: 2005/10/27 17:57:26 $</date>		</revision>	</revhistory>	</chapterinfo>	<title>User's Guide</title>		<section>	<title>Overview</title>	<para>&uri; check using Radius server.</para>	</section>	<section>	<title>Dependencies</title>		<section>			<title>&ser; Modules</title>			<para>			The module depends on the following modules (in the other words 			the listed modules must be loaded before this module):			<itemizedlist>				<listitem>				<para><emphasis>none</emphasis></para>				</listitem>			</itemizedlist>			</para>		</section>		<section>			<title>External Libraries or Applications</title>			<para>			The following libraries or applications must be installed 			before compilling &ser; with this module loaded:			<itemizedlist>				<listitem>				<para><emphasis>radiusclient-ng</emphasis> 0.5.0 or higher -- 				library and development files. See <ulink 				url='http://developer.berlios.de/projects/radiusclient-ng/'>				http://developer.berlios.de/projects/radiusclient-ng/</ulink>.				</para>				</listitem>			</itemizedlist>		</section>	</section>	<section>	<title>Exported Parameters</title>	<section>		<title><varname>radius_config</varname> (string)</title>		<para>		Radiusclient configuration file.		</para>		<para>		<emphasis>			Default value is <quote>/usr/local/etc/radiusclient-ng/radiusclient.conf</quote>.		</emphasis>		</para>		<example>		<title>Set <varname>param_name</varname> parameter</title>		<programlisting format="linespecific">...modparam("uri_radius", "radius_config", "/etc/radiusclient.conf")...</programlisting>		</example>	</section>	<section>		<title><varname>service_type</varname> (integer)</title>		<para>		Radius service type used in <function>radius_does_uri_exist check</function>.		</para>		<para>		<emphasis>			Default value is 10 (Call-Check).		</emphasis>		</para>		<example>		<title>Set <varname>param_name</varname> parameter</title>		<programlisting format="linespecific">...modparam("uri_radius", "service_type", 11)...</programlisting>		</example>	</section>	</section>	<section>	<title>Exported Functions</title>	<section>		<title>		<function moreinfo="none">radius_does_uri_exist()</function>		</title>		<para>		Checks from Radius if user@host in Request-&uri; is a		local user. Can be used to decide if 404 or 480 should		be returned after lookup has failed.   Adds SIP-AVP		reply items, that must have a string value of form		"name:value", as AVPs.		</para>		<para>		This function can be used from REQUEST_ROUTE.		</para>		<example>		<title><function>radius_does_uri_exist</function> usage</title>		<programlisting format="linespecific">...if (radius_does_uri_exist()) {	...};...</programlisting>		</example>	</section>	</section></chapter><!-- Keep this element at the end of the fileLocal Variables:sgml-parent-document: ("uri_radius.sgml" "Book" "chapter")End:-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -