In addition to the standard configuration file options, per-endpoint configuration settings can be specified in the config file. The syntax is as follows:
[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-1Call 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).
GatewayPriority=11Apply 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).
GatewayPrefixes=0048,0049,0044N/AAdditional prefixes for this gateway. Apply only to gateways.
Special characters . and ! can be used here to match any digit
and disable the prefix.
CalledTypeOfNumber=1N/ASets 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=1N/ASets 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=10Example:
[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.