[Freeswitch-users] Audiocode MP-114 FXS_FXO device setup

Rajil Saraswat rajil.s at gmail.com
Wed Dec 4 05:52:33 UTC 2019


Hello,
My trusted Linksys SPA3102 died and I am trying to replace it with an
Audiocodes MP-114 device which has 2 FXS ports and 2 FXO ports. My first
plan was to get the FXS port working. I specified my FreeSwitch PBX details
in VOIP>SIP Definitions>Proxy & Registration and specified my number in
VOIP>GW and IP to IP>Hunt Group>Endpoint Phone Manager. With this i was
able to successfully register an extension '204' on the pbx. However, if i
make a call from a softphone to this number the calls do not come through,
and the ATA logs says

4d:11h:17m:15s (   lgr_TrnkGrp)(9672      ) !! [ERROR]
#0:TrunkGroup::AllocateEndPoint- Can't find EndPoint for phone number 204

4d:11h:17m:15s (   lgr_psbrdif)(9673      ) !! [ERROR]
MotherBoard::GetEndPoint- Can't find EndPoint for Dest:204 Source:mod_sofia
SourceIp:ac10020a

4d:11h:17m:15s (      lgr_call)(9674      ) !! [ERROR] Call::GetEndPoint-
Can't find endpoint for phone number 204

Any idea where do i define the 'Endpoint' for number 204?

Thanks,
Rajil

The .ini file for ATA is as follows
;**************
;** Ini File **
;**************

;Board: MP-114 FXS_FXO
;Board Type: 56
;Serial Number: 4929340
;Slot Number: 1
;Software Version: 6.60A.355.004
;DSP Software Version: 204IM3=> 660.15
;Board IP Address: 172.16.2.4
;Board Subnet Mask: 255.255.255.0
;Board Default Gateway: 172.16.2.1
;Ram size: 32M   Flash size: 8M
;Num of DSP Cores: 1  Num DSP Channels: 4
;Profile: NONE
;License Key limits aren't active full features capabilities are available
!;
;----------------------------------------------


[SYSTEM Params]

SyslogServerIP = 10.1.1.89
;NTPServerIP_abs is hidden but has non-default value
NTPServerUTCOffset = 19800
;VpFileLastUpdateTime is hidden but has non-default value
NTPServerIP = '172.16.2.1'

[BSP Params]

PCMLawSelect = 3
RoutingTableHopsCountColumn = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0

[Analog Params]

PolarityReversalType = 1
MinFlashHookTime = 100

[ControlProtocols Params]

AdminStateLockControl = 0

[MGCP Params]


[MEGACO Params]

EP_Num_0 = 0
EP_Num_1 = 1
EP_Num_2 = 1
EP_Num_3 = 0
EP_Num_4 = 0

[Voice Engine Params]

CallProgressTonesFilename = 'usa_tones_13.dat'
FaxTransportMode = 0
V22ModemTransportType = 0
V23ModemTransportType = 0
V32ModemTransportType = 0
V34ModemTransportType = 0
RFC2833TxPayloadType = 101

[WEB Params]

LogoWidth = '208'
HTTPSCipherString = 'RC4:EXP'

[SIP Params]

MAXDIGITS = 3
ISREGISTERNEEDED = 1
AUTHENTICATIONMODE = 0
GWDEBUGLEVEL = 5
;ISPRACKREQUIRED is hidden but has non-default value
ENABLEEARLYMEDIA = 1
PROXYNAME = 'BLR'
REGISTRARIP = '172.16.2.10'
SIPGATEWAYNAME = 'pbx.blah.com'
USERNAME = '204'
;PASSWORD is hidden but has non-default value
;SHOULDREGISTER is hidden but has non-default value
SUBSCRIPTIONMODE = 0
REGISTRARNAME = 'pbx.blah.com'
REGISTRARTRANSPORTTYPE = 0
MSLDAPPRIMARYKEY = 'telephoneNumber'

[IPsec Params]


[SNMP Params]


[ DspTemplates ]

;
;  *** TABLE DspTemplates ***
; This table contains hidden elements and will not be exposed.
; This table exists on board and will be saved during restarts.
;

[ \DspTemplates ]


[ 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_CallSetupRulesSetId;
PREFIX 0 = "10", "10.1.10.10", "*", 0, 255, 0, -1, "", -1, "", -1, -1, -1,
"", -1, -1;
PREFIX 1 = "20", "10.1.10.11", "*", 0, 255, 0, -1, "", -1, "", -1, -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 = 1, 255, 1, 1, "204", 1, 255, 255;

[ \TrunkGroup ]


[ ProxyIp ]

FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType,
ProxyIp_ProxySetId;
ProxyIp 0 = "172.16.2.10", 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_DedicatedConnectionMode,
TrunkGroupSettings_MWIInterrogationType, TrunkGroupSettings_TrunkGroupName;
TrunkGroupSettings 0 = 1, 0, 0, "", "", -1, 0, 255, "";

[ \TrunkGroupSettings ]


[ EnableCallerId ]

FORMAT EnableCallerId_Index = EnableCallerId_IsEnabled,
EnableCallerId_Port, EnableCallerId_PortType;
EnableCallerId 0 = 1, 1, "FXS";

[ \EnableCallerId ]


[ ProxySet ]

FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive,
ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod,
ProxySet_IsProxyHotSwap, ProxySet_SRD, ProxySet_ClassificationInput,
ProxySet_ProxyRedundancyMode, ProxySet_KeepAliveFailureResp,
ProxySet_HomingSuccessDetectionRetries;
ProxySet 0 = 0, 60, 0, 0, 0, 0, -1, "", 1;

[ \ProxySet ]


[ CodersGroup0 ]

FORMAT CodersGroup0_Index = CodersGroup0_Name, CodersGroup0_pTime,
CodersGroup0_rate, CodersGroup0_PayloadType, CodersGroup0_Sce;
CodersGroup0 0 = "g711Alaw64k", 20, 255, -1, 0;
CodersGroup0 1 = "g711Ulaw64k", 20, 255, -1, 0;

[ \CodersGroup0 ]


[ RoutingRuleGroups ]

FORMAT RoutingRuleGroups_Index = RoutingRuleGroups_LCREnable,
RoutingRuleGroups_LCRAverageCallLength, RoutingRuleGroups_LCRDefaultCost;
RoutingRuleGroups 0 = 0, 1, 1;

[ \RoutingRuleGroups ]


[ ResourcePriorityNetworkDomains ]

FORMAT ResourcePriorityNetworkDomains_Index =
ResourcePriorityNetworkDomains_Name,
ResourcePriorityNetworkDomains_Ip2TelInterworking;
ResourcePriorityNetworkDomains 1 = "dsn", 1;
ResourcePriorityNetworkDomains 2 = "dod", 1;
ResourcePriorityNetworkDomains 3 = "drsn", 1;
ResourcePriorityNetworkDomains 5 = "uc", 1;
ResourcePriorityNetworkDomains 7 = "cuc", 1;

[ \ResourcePriorityNetworkDomains ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191204/5e2db318/attachment-0001.html>


More information about the FreeSWITCH-users mailing list