📄 neighbors.sgml
字号:
<sect>Neighbor Configuration<p><sect1>Section [RasSrv::Neighbors]<label id="neighbor"><p>If the destination of an ARQ is unknown, the gatekeeper sends LRQs toits neighbors to ask if they have the destination endpoint.A neighbor is selected if one of its prefixes matches the destinationor it has ``<tt/*/'' prefix. More than one prefix can be specified.You can use special characters ``<tt/./'' and ``<tt/!/'' to do wildcardmatching and disable a specific prefix.Conversely, the gatekeeper will only reply to LRQs sent from neighborsdefined in this section.If you specify an empty prefix, no LRQ will be sent to that neighbor,but the gatekeeper will accept LRQs from it. By the empty prefix it is meanta single semicolon appended to the neighbor entry. Example:<newline><newline><tt/ GK1=192.168.0.5;/<newline><newline>If you skip the semicolon, LRQs will be always sent to this neighbor.The <tt/password/ field is used to authenticate LRQs from that neighbor.See section <ref id="gkauth" name="[Gatekeeper::Auth]"> for details.Neighbor handling has changed significantly from version 2.0 to version 2.2.Neighbors can be specified now in two ways - the old one and the new one.<descrip><tag/Entry in the old format:/<tt>GKID=ip[:port;prefixes;password;dynamic]</tt><p><tag/Example:/<tt/GK1=192.168.0.5;*/<newline><tt/GK2=10.0.1.1:1719;035,036;gk2/<newline><tt/GK3=gk.citron.com.tw;;gk3;1/</descrip><descrip><tag/Entry in the new format:/<tt>GKID="GnuGK" | "CiscoGK" | "ClarentGK" | "GlonetGK"</tt><p><tag/Example:/<tt/[RasSrv::Neighbors]/<newline><tt/GK1=CiscoGK/<newline><tt/GK2=GnuGK/<newline><newline><tt/[Neighbor::GK1]/<newline><tt/GatekeeperIdentifier=GK1/<newline><tt/Host=192.168.1.1/<newline><tt/SendPrefixes=02/<newline><tt/AcceptPrefixes=*/<newline><tt/ForwardLRQ=always/<newline><newline><tt/[Neighbor::GK2]/<newline><tt/GatekeeperIdentifier=GK2/<newline><tt/Host=192.168.1.2/<newline><tt/SendPrefixes=03,0048/<newline><tt/AcceptPrefixes=0049,001/<newline><tt/ForwardHopCount=2/<newline><tt/ForwardLRQ=depends/<newline><newline></descrip>The new format specifies in <tt/[RasSrv::Neighbors]/ section only gatekeepertypes and configuration for each neighbor is placed in a separate section.<sect1>Section [RasSrv::LRQFeatures]<p>Defines some features of LRQ and LCF.<itemize><item><tt/NeighborTimeout=1/<newline>Default: <tt/2/<p>Timeout value in seconds to wait responses from neighbors.If no response from all neighbors after timeout, the gatekeeper willreply an ARJ to the endpoint sending the ARQ.<item><tt/ForwardHopCount=2/<newline>Default: <tt>N/A</tt><p>If the gatekeeper receives an LRQ that the destination is either unknown,it may forward this message to its neighbors.When the gatekeeper receives an LRQ and decides that the messageshould be forwarded on to another gatekeeeper, it first decrements<bf/hopCount/ field of the LRQ.If <bf/hopCount/ has reached 0, the gatekeeper shall not forward the message.This options defines the number of gatekeepers through which an LRQmay propagate. Note it only affects the sender of LRQ, not the forwarder.This setting can be overriden with configuration of a particular neighbor.<item><tt/AlwaysForwardLRQ=1/<newline>Default: <tt>0</tt><p>Force the gatekeeper to forward an LRQ even if there is no <bf/hopCount/in the LRQ. To avoid LRQ loops, you should use this option very carefully.This option is used only for an old-style (2.0) neighbor configuration,the new one reads the settings from a neighbor-specific config section.<item><tt/AcceptForwardedLRQ=1/<newline>Default: <tt/1/<p>Whether to accept an LRQ forwarded from neighbors.This setting can be overriden with configurationof a particular neighbor.<item><tt/IncludeDestinationInfoInLCF=0/<newline>Default: <tt/1/<p>The gatekeeper replies LCFs containing <bf/destinationInfo/ and<bf/destinationType/ fields, the aliases and terminal type of the destinationendpoint. The neighbor gatekeeper can then save the information to suppresslater LRQs. However, some vendors' gatekeepers misuse the information, thusresult in interoperability problems.Only turn off this option if you encounter problems upon communicatingwith a third-party gatekeeper.<item><tt/ForwardResponse=0/<newline>Default: <tt/0/<p>If the gatekeeper forwards received LRQ message it can decide eitherto receive the LCF response or to let it travel back directly to the LRQorigintator. Set this option to 1, if the gatekeeper needs to receive LCFmessages for forwarded LRQs. This setting can be overriden with configurationof a particular neighbor.<item><tt/ForwardLRQ=always | never | depends/<newline>Default: <tt/depends/<p>This settings determines whether the received LRQ should be forwardedor not. <tt/always/ forwards LRQ unconditionally, <tt/never/ blocks LRQforwarding, <tt/depends/ tells the gatekeeper to forward LRQ only if itshop count is greater than 1. This setting can be overriden with configurationof a particular neighbor.</itemize><sect2>Section [Neighbor::...]<p>Sections starting with <tt/[Neighbor::/ are for neighbor specific configuration.<itemize><item><tt/GatekeeperIdentifier=GKID/<newline>Default: <tt>N/A</tt><p>Gatekeeper identifier for this neighbor. If this options is not specified,the identifier is taken from the second part of this <tt/Neighbor::/ section name.<item><tt/Host=192.168.1.1/<newline>Default: <tt>N/A</tt><p>An IP address for this neighbor.<item><tt/Password=secret/<newline>Default: <tt>N/A</tt><p>A password to be used to validate crypto tokens received from incoming LRQs.<tt/It is not yet implemented/.<item><tt/Dynamic=0/<newline>Default: <tt>0</tt><p>1 means that the IP address for this neighbor can change.<item><tt/SendPrefixes=004,002:=1,001:=2/<newline>Default: <tt>N/A</tt><p>A list of prefixes that this neighbor expects LRQs to receive for.If '*' is specified, LRQs will always be sent to this neighbor.A priority can be given to each prefix for each neighbor (using := syntax),so in case of multiple LCF received from multiple neighbor, the onewith the highest priority will be selected to route the call.One can also direct the gatekeeper to send LRQ to this neighborbased on an alias type:<newline>SendPrefixes=h323_ID,dialedDigits,001<newline><item><tt/AcceptPrefixes=*/<newline>Default: <tt>*</tt><p>A list of prefixes that the gatekeeper will accept in LRQs receivedfrom this neighbor. If '*' is specified, all LRQs will be accepted from this neighbor.One can also direct the gatekeeper to accept LRQ from this neighborbased on an alias type:<newline>AcceptPrefixes=dialedDigits<newline><item><tt/ForwardHopCount=2/<newline>Default: <tt>N/A</tt><p>If the gatekeeper receives an LRQ that the destination is either unknown,it may forward this message to its neighbors.When the gatekeeper receives an LRQ and decides that the messageshould be forwarded on to another gatekeeeper, it first decrements<bf/hopCount/ field of the LRQ.If <bf/hopCount/ has reached 0, the gatekeeper shall not forward the message.This options defines the number of gatekeepers through which an LRQmay propagate. Note it only affects the sender of LRQ, not the forwarder.<item><tt/AcceptForwardedLRQ=1/<newline>Default: <tt/1/<p>Whether to accept an LRQ forwarded from this neighbor.<item><tt/ForwardResponse=0/<newline>Default: <tt/0/<p>If the gatekeeper forwards received LRQ message it can decide eitherto receive the LCF response or to let it travel back directly to the LRQorigintator. Set this option to 1, if the gatekeeper needs to receive LCFmessages for forwarded LRQs.<item><tt/ForwardLRQ=always | never | depends/<newline>Default: <tt/depends/<p>This settings determines whether the received LRQ should be forwardedor not. <tt/always/ forwards LRQ unconditionally, <tt/never/ blocks LRQforwarding, <tt/depends/ tells the gatekeeper to forward LRQ only if itshop count is greater than 1. This setting can be overriden with configurationof a particular neighbor.</itemize>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -