На предприятии одном предприятии стоит Elastix, на другом предприятии стоят Audiocodes MP114-4FXO + Аналоговая АТС.
На Audiocodes должны использоваться 2 порта для звонком по городским линиям, а 3-4 порты, для звонков по коротким на АТС. Получается настроить что бы звонки ходили, но идут они перебором портов... Сейчас работает чисто на короткие номера АТС. Помогите разобраться, где конфиг подправить?
Вот отрывки конфигурации:
[ 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 ]