V
V
Vadim2015-06-02 14:20:06
Telephony
Vadim, 2015-06-02 14:20:06

How to set up Audiocodes MP114-4FXO + Elastix + Analog PBX?

One enterprise has Elastix installed, another enterprise has Audiocodes MP114-4FXO + Analog PBX.
On Audiocodes, 2 ports should be used for calls to city lines, and 3-4 ports for short calls to PBXs. It turns out to configure that the calls would go, but they go through the ports ... Now it works purely for PBX short numbers. Help me figure out where to fix the config?
Here are snippets of the configuration:

[ PREFIX ]
FORMAT PREFIX_Index = PREFIX_DestinationPrefix, PREFIX_DestAddress, PREFIX_SourcePrefix, PREFIX_ProfileId, PREFIX_MeteringCode, PREFIX_DestPort, PREFIX_SrcIPGroupID, PREFIX_DestHostPrefix, PREFIX_DestIPGroupID, PREFIX_SrcHostPrefix, PREFIX_TransportType, PREFIX_SrcTrunkGroupID, PREFIX_DestSRD, PREFIX_CostGroup, PREFIX_ForkingGroup, PREFIX_LdapRulesSetId;
PREFIX 0 = "*", "192.168.165.230", "*", 0, 255, 5060, -1, "", -1, "", 0, -1, -1, , -1, -1;
[ \PREFIX ]
[ TrunkGroup ]
FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_ProfileId, TrunkGroup_LastTrunkId, TrunkGroup_Module;
TrunkGroup 0 = 2, 255, 1, 1, "", 0, 255, 255;
TrunkGroup 1 = 2, 255, 2, 2, "", 0, 255, 255;
TrunkGroup 2 = 1, 255, 3, 3, "", 0, 255, 255;
TrunkGroup 3 = 1, 255, 4, 4, "", 0, 255, 255;
[ \TrunkGroup ]
[ PstnPrefix ]
FORMAT PstnPrefix_Index = PstnPrefix_DestPrefix, PstnPrefix_TrunkGroupId, PstnPrefix_SourcePrefix, PstnPrefix_SourceAddress, PstnPrefix_ProfileId, PstnPrefix_SrcIPGroupID, PstnPrefix_DestHostPrefix, PstnPrefix_SrcHostPrefix, PstnPrefix_SrcSRDID, PstnPrefix_TrunkId, PstnPrefix_LdapRulesSetId;
PstnPrefix 0 = "*", 1, "*", "192.168.165.230", 0, -1, "", "", , -1, -1;
PstnPrefix 1 = "*", 2, "*", "192.168.165.230", 0, -1, "", "", , -1, -1;
PstnPrefix 2 = "*", 3, "*", "192.168.165.230", 0, -1, "", "", , -1, -1;
PstnPrefix 3 = "*", 4, "*", "192.168.165.230", 0, -1, "", "", , -1, -1;
[ \PstnPrefix ]
[ ProxyIp ]
FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
ProxyIp 0 = "192.168.165.230", 0, 0;
[ \ProxyIp ]
[ TxDtmfOption ]
FORMAT TxDtmfOption_Index = TxDtmfOption_Type;
TxDtmfOption 0 = 4;
[ \TxDtmfOption ]
[ TrunkGroupSettings ]
FORMAT TrunkGroupSettings_Index = TrunkGroupSettings_TrunkGroupId, TrunkGroupSettings_ChannelSelectMode, TrunkGroupSettings_RegistrationMode, TrunkGroupSettings_GatewayName, TrunkGroupSettings_ContactUser, TrunkGroupSettings_ServingIPGroup, TrunkGroupSettings_MWIInterrogationType, TrunkGroupSettings_TrunkGroupName;
TrunkGroupSettings 0 = 1, 1, 0, "", "", -1, 255, "";
TrunkGroupSettings 1 = 2, 0, 0, "", "", -1, 255, "";
[ \TrunkGroupSettings ]
[ CallerDisplayInfo ]
FORMAT CallerDisplayInfo_Index = CallerDisplayInfo_DisplayString, CallerDisplayInfo_IsCidRestricted, CallerDisplayInfo_Port, CallerDisplayInfo_PortType;
CallerDisplayInfo 2 = "102", 0, 3, "FXO";
CallerDisplayInfo 3 = "102", 0, 4, "FXO";
[ \CallerDisplayInfo ]
[ Authentication ]
FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword, Authentication_Port, Authentication_PortType;
Authentication 0 = "1010", *, 1, "FXO";
Authentication 1 = "1011", *, 2, "FXO";
Authentication 2 = "1012", *, 3, "FXO";
Authentication 3 = "1013", *, 4, "FXO";
[ \Authentication ]
[ ProxySet ]
FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap, ProxySet_SRD, ProxySet_ClassificationInput, ProxySet_ProxyRedundancyMode;
ProxySet 0 = 1, 60, 0, 0, 0, 0, -1;
[ \ProxySet ]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-02-11
@pastop

Without going into details, look at

ISFASTCONNECTUSED = 1
; Algorithm for searching free lines:
; By Dest Phone Number [0]
; Cyclic Ascending [1]
; Ascending[2]
; Cyclic Descending [3]
; Descending[4]
; Dest Number + Cyclic Ascending [5]
; By Source Phone Number [6]
; * Values ​​are described on page 60 of the User's Manual. The default value is 0.

Well, or specify on a specific example what exactly you want to achieve

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question