<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21"> <TITLE>OpenH323 Gatekeeper - The GNU Gatekeeper: Per-Endpoint Configuration</TITLE> <LINK HREF="manual-12.html" REL=next> <LINK HREF="manual-10.html" REL=previous> <LINK HREF="manual.html#toc11" REL=contents> </HEAD> <BODY> <A HREF="manual-12.html">Next</A> <A HREF="manual-10.html">Previous</A> <A HREF="manual.html#toc11">Contents</A> <HR> <H2><A NAME="epconfig"></A> <A NAME="s11">11.</A> <A HREF="manual.html#toc11">Per-Endpoint Configuration</A></H2> <P>In addition to the standard configuration file options, per-endpoint configuration settings can be specified in the config file. The syntax is as follows:</P> <H2><A NAME="ss11.1">11.1</A> <A HREF="manual.html#toc11.1">Section [EP::...]</A> </H2> <P> <BLOCKQUOTE><CODE> <PRE> [EP::ALIAS] Key Name=Value String </PRE> </CODE></BLOCKQUOTE> </P> <P><CODE>ALIAS</CODE> is replaced with an actual alias for an endpoint the settings should apply to. Currently, the following options are recognized:</P> <P> <UL> <LI><CODE>Capacity=10</CODE><BR> Default: <CODE>-1</CODE><BR> <P>Call capacity for an endpoint. No more than <CODE>Capacity</CODE> concurrent calls will be sent to this endpoint. In case of gateways, if more than one gateway matches a dialed number, a call will be sent to the first available gateway (that has available capacity).</P> </LI> <LI><CODE>GatewayPriority=1</CODE><BR> Default: <CODE>1</CODE><BR> <P>Apply only to gateways. Allow priority based routing in case, when more than one gateway matches a dialed number. The smaller value the higher priority is assigned to a gateway. A call is routed to the first available gateway (that has available capacity) with the highest priority (the smallest <CODE>GatewayPriority</CODE> values). In case whe gateway priority contradicts prefix priority (see section <A HREF="manual-7.html#gwprefixes">[RasSrv::GWPrefixes]</A>) for details) prefix one has the preference.</P> </LI> <LI><CODE>GatewayPrefixes=0048,0049:=2,0044</CODE><BR> Default: <CODE>N/A</CODE><BR> <P>Additional prefixes for this gateway. Apply only to gateways. Special characters <CODE>.</CODE> and <CODE>!</CODE> can be used here to match any digit and disable the prefix. You may use the := syntax to set a prefix priority in the same manner as in <A HREF="manual-7.html#gwprefixes">[RasSrv::GWPrefixes]</A> section. If no priority is set explicitely for a Prefix, the gateway priority is used.</P> </LI> <LI><CODE>CalledTypeOfNumber=1</CODE><BR> Default: <CODE>N/A</CODE><BR> <P>Sets Called-Party-Number type of number to the specified value for calls sent to this endpoint (0 - UnknownType, 1 - InternationalType, 2 - NationalType, 3 - NetworkSpecificType, 4 - SubscriberType, 6 - AbbreviatedType, 7 - ReservedType).</P> </LI> <LI><CODE>CallingTypeOfNumber=1</CODE><BR> Default: <CODE>N/A</CODE><BR> <P>Sets Calling-Party-Number type of number to the specified value for calls sent to this endpoint (0 - UnknownType, 1 - InternationalType, 2 - NationalType, 3 - NetworkSpecificType, 4 - SubscriberType, 6 - AbbreviatedType, 7 - ReservedType).</P> </LI> <LI><CODE>Proxy=1</CODE><BR> Default: <CODE>0</CODE><BR> Enables/disables proxying calls sent to this endpoint (0 - do not change global proxy settings, 1 - force proxy mode, 2 - disable proxy mode). </LI> </UL> </P> <P>Example:</P> <P> <BLOCKQUOTE><CODE> <PRE> [RasSrv::PermanentEndpoints] 192.168.1.1=gw1;48 192.168.1.2=gw2;48,!4850,!4860,!4869,!4888 [EP::gw1] Capacity=60 GatewayPriority=1 [EP::gw2] Capacity=30 GatewayPriority=2 </PRE> </CODE></BLOCKQUOTE> </P> <P>In this example, calls will be sent to the gateway <CODE>gw1</CODE> until its capacity is fully utilized (60 concurrent calls) and then to the gateway <CODE>gw2</CODE>.</P> <HR> <A HREF="manual-12.html">Next</A> <A HREF="manual-10.html">Previous</A> <A HREF="manual.html#toc11">Contents</A> </BODY> </HTML>