GNU Gatekeeper Logo

Home
· Contact
· Events
· Logos
· Site Map

Download
· Gatekeeper
· Java GUI
· ISDN Gateway
· CTI / ACD

Documentation
· English Manual
· French Manual
· Spanish Manual
· Persian Manual
· Portuguese Manual
· Chinese Manual
· FAQ
· Interoperability
· Intro to H.323
· Usage Examples
· Configuration Notes
· GnuGk and SIP
· Recommended Books
· Success Stories

Tools & Addons
· GnuGk Addons
· Endpoints
· Gateways
· MCUs
· IVRs
· Billing
· Commercial Addons

Development
· Development Version
· Compiling
· NAT Traversal
· Tools
· Authors

This is the manual for GNU Gatekeeper 2.2.7.
A manual for your version is in your GnuGk download archive.

Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring

11. Per-Endpoint Configuration

In addition to the standard configuration file options, per-endpoint configuration settings can be specified in the config file. The syntax is as follows:

11.1 Section [EP::...]

[EP::ALIAS]
Key Name=Value String

ALIAS is replaced with an actual alias for an endpoint the settings should apply to. Currently, the following options are recognized:

  • Capacity=10
    Default: -1

    Call capacity for an endpoint. No more than Capacity 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).

  • PrefixCapacities=^0049:=10,^(0044|0045):=20
    Default: N/A

    Limit the capacity for certain prefixes. Regular expressions can be used to specify the prefix and specify a combined capacity for a group of prefixes. For a gateway to be considered available a.) the prefix must have capacity left and b.) the total gateway capacity (see above) may not be reached.

  • GatewayPriority=1
    Default: 1

    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 GatewayPriority values). In case whe gateway priority contradicts prefix priority (see section [RasSrv::GWPrefixes]) for details) prefix one has the preference.

  • GatewayPrefixes=0048,0049:=2,0044
    Default: N/A

    Additional prefixes for this gateway. Apply only to gateways. Special characters . and ! 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 [RasSrv::GWPrefixes] section. If no priority is set explicitely for a Prefix, the gateway priority is used.

  • CalledTypeOfNumber=1
    Default: N/A

    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).

  • CallingTypeOfNumber=1
    Default: N/A

    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).

  • Proxy=1
    Default: 0
    Enables/disables proxying calls sent to this endpoint (0 - do not change global proxy settings, 1 - force proxy mode, 2 - disable proxy mode).
  • TranslateReceivedQ931Cause=17:=34
    Default: N/A
    Translate received cause codes in ReleaseComplete messages from this endpoint. In the above example code 17 (User busy) will be translated into cause code 34 (No circuit/channel available).
  • TranslateSentQ931Cause=21:=34,27:=34
    Default: N/A
    Translate cause codes in ReleaseComplete messages sent out to this endpoint. In the above example code 21 and 27 will be translated into cause code 34, because this particular gateway might deal with error code 34 better than with others.

Example:

[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

In this example, calls will be sent to the gateway gw1 until its capacity is fully utilized (60 concurrent calls) and then to the gateway gw2.


Next Previous Contents

Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring



Last updated: 21. Apr 2008
Page maintained by Jan Willamowius