• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Solved Working configuration for Audiocodes mp118 fxs

Status
Not open for further replies.

Rangel Sardinha

Joined
Dec 16, 2018
Messages
4
Reaction score
0
Hi,

I'm trying to connect my audiocodes mp118 in my new 3cx phone. I've search in the forum and I'm unable to find any configuration that is working. Currently I'm using this ini file, whitout success.

Code:
;**************

[SYSTEM Params]


[BSP Params]

PCMLawSelect = 3

[Analog Params]

FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'

[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
DIGITMAPPING = ''

[Voice Engine Params]

CallProgressTonesFilename = 'br_tons_mp_11x_124_5.6.dat'
IdlePCMPattern = 85
CallerIDType = 0
CNGDetectorMode = 0
RFC2833TxPayloadType = 96

[WEB Params]

LogoWidth = '145'
HTTPSCipherString = 'RC4:EXP'

[SIP Params]

MAXDIGITS = 15
TIMEBETWEENDIGITS = 4
LOCALSIPPORT = 5060
ISPROXYUSED = 1
ISREGISTERNEEDED = 1
AUTHENTICATIONMODE = 0
CHANNELSELECTMODE = 0
ENABLERPIHEADER = 1
PROXYNAME = '192.168.0.2'
REGISTRARIP = '192.168.0.2'
SIPGATEWAYNAME = '192.168.0.2'
ALWAYSSENDTOPROXY = 1
ASSERTEDIDMODE = 0
SUBSCRIPTIONMODE = 0
SIPTRANSPORTTYPE = 0
TCPLOCALSIPPORT = 5060
GWREGISTRATIONNAME = '192.168.0.2'
REGISTRARNAME = '192.168.0.2'
SRTPOFFEREDSUITES = 0

[IPsec Params]


[SNMP Params]


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

;
; *** TABLE PREFIX ***
;
;

[ 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 0 = *, 192.168.0.2, *, 0, 255, 5060, -1, , -1, , 0, -1, -1;

[ \PREFIX ]

;
; *** TABLE TrunkGroup ***
;
;

[ TrunkGroup ]
FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_ProfileId, TrunkGroup_LastTrunkId, TrunkGroup_Module;
TrunkGroup 0 = 0, 255, 1, 1, 101, 1, 255, 255;
TrunkGroup 1 = 0, 255, 2, 2, 102, 1, 255, 255;
TrunkGroup 2 = 0, 255, 3, 3, 103, 1, 255, 255;
TrunkGroup 3 = 0, 255, 4, 4, 104, 1, 255, 255;
TrunkGroup 4 = 0, 255, 5, 5, 105, 1, 255, 255;
TrunkGroup 5 = 0, 255, 6, 6, 106, 1, 255, 255;
TrunkGroup 6 = 0, 255, 7, 7, 107, 1, 255, 255;
TrunkGroup 7 = 0, 255, 8, 8, 108, 1, 255, 255;

[ \TrunkGroup ]

;
; *** TABLE NumberMapIp2Tel ***
;
;

[ NumberMapIp2Tel ]
FORMAT NumberMapIp2Tel_Index = NumberMapIp2Tel_DestinationPrefix, NumberMapIp2Tel_SourcePrefix, NumberMapIp2Tel_SourceAddress, NumberMapIp2Tel_NumberType, NumberMapIp2Tel_NumberPlan, NumberMapIp2Tel_RemoveFromLeft, NumberMapIp2Tel_RemoveFromRight, NumberMapIp2Tel_LeaveFromRight, NumberMapIp2Tel_Prefix2Add, NumberMapIp2Tel_Suffix2Add, NumberMapIp2Tel_IsPresentationRestricted, NumberMapIp2Tel_SrcTrunkGroupID, NumberMapIp2Tel_SrcIPGroupID;
NumberMapIp2Tel 0 = *, *, *, 255, 255, 0, 0, 255, , , 255, -1, -1;

[ \NumberMapIp2Tel ]

;
; *** TABLE NumberMapTel2Ip ***
;
;

[ NumberMapTel2Ip ]
FORMAT NumberMapTel2Ip_Index = NumberMapTel2Ip_DestinationPrefix, NumberMapTel2Ip_SourcePrefix, NumberMapTel2Ip_SourceAddress, NumberMapTel2Ip_NumberType, NumberMapTel2Ip_NumberPlan, NumberMapTel2Ip_RemoveFromLeft, NumberMapTel2Ip_RemoveFromRight, NumberMapTel2Ip_LeaveFromRight, NumberMapTel2Ip_Prefix2Add, NumberMapTel2Ip_Suffix2Add, NumberMapTel2Ip_IsPresentationRestricted, NumberMapTel2Ip_SrcTrunkGroupID, NumberMapTel2Ip_SrcIPGroupID;
NumberMapTel2Ip 0 = *, *, *, 255, 255, 0, 0, 255, , , 255, -1, -1;

[ \NumberMapTel2Ip ]

;
; *** TABLE SourceNumberMapTel2Ip ***
;
;

[ SourceNumberMapTel2Ip ]
FORMAT SourceNumberMapTel2Ip_Index = SourceNumberMapTel2Ip_DestinationPrefix, SourceNumberMapTel2Ip_SourcePrefix, SourceNumberMapTel2Ip_SourceAddress, SourceNumberMapTel2Ip_NumberType, SourceNumberMapTel2Ip_NumberPlan, SourceNumberMapTel2Ip_RemoveFromLeft, SourceNumberMapTel2Ip_RemoveFromRight, SourceNumberMapTel2Ip_LeaveFromRight, SourceNumberMapTel2Ip_Prefix2Add, SourceNumberMapTel2Ip_Suffix2Add, SourceNumberMapTel2Ip_IsPresentationRestricted, SourceNumberMapTel2Ip_SrcTrunkGroupID, SourceNumberMapTel2Ip_SrcIPGroupID;
SourceNumberMapTel2Ip 0 = *, *, *, 255, 255, 0, 0, 255, , , 0, -1, -1;

[ \SourceNumberMapTel2Ip ]

;
; *** TABLE ProxyIp ***
;
;

[ ProxyIp ]
FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
ProxyIp 0 = 192.168.0.2, 0, 0;

[ \ProxyIp ]

;
; *** TABLE TxDtmfOption ***
;
;

[ TxDtmfOption ]
FORMAT TxDtmfOption_Index = TxDtmfOption_Type;
TxDtmfOption 0 = 4;

[ \TxDtmfOption ]

;
; *** TABLE TrunkGroupSettings ***
;
;

[ TrunkGroupSettings ]
FORMAT TrunkGroupSettings_Index = TrunkGroupSettings_TrunkGroupId, TrunkGroupSettings_ChannelSelectMode, TrunkGroupSettings_RegistrationMode, TrunkGroupSettings_GatewayName, TrunkGroupSettings_ContactUser, TrunkGroupSettings_ServingIPGroup, TrunkGroupSettings_MWIInterrogationType;
TrunkGroupSettings 0 = 1, 1, 0, , , 1, 255;

[ \TrunkGroupSettings ]

;
; *** TABLE TelProfile ***
;
;

[ TelProfile ]
FORMAT TelProfile_Index = TelProfile_ProfileName, TelProfile_TelPreference, TelProfile_CodersGroupID, TelProfile_IsFaxUsed, TelProfile_JitterBufMinDelay, TelProfile_JitterBufOptFactor, TelProfile_IPDiffServ, TelProfile_SigIPDiffServ, TelProfile_DtmfVolume, TelProfile_InputGain, TelProfile_VoiceVolume, TelProfile_EnableReversePolarity, TelProfile_EnableCurrentDisconnect, TelProfile_EnableDigitDelivery, TelProfile_EnableEC, TelProfile_MWIAnalog, TelProfile_MWIDisplay, TelProfile_FlashHookPeriod, TelProfile_EnableEarlyMedia, TelProfile_ProgressIndicator2IP, TelProfile_TimeForReorderTone, TelProfile_EnableDIDWink, TelProfile_IsTwoStageDial, TelProfile_DisconnectOnBusyTone, TelProfile_EnableVoiceMailDelay, TelProfile_DialPlanIndex, TelProfile_Enable911PSAP, TelProfile_SwapTelToIpPhoneNumbers, TelProfile_EnableAGC, TelProfile_ECNlpMode, TelProfile_DigitalCutThrough;
TelProfile 1 = , 1, 0, 0, 10, 10, 46, 40, -11, 0, 0, 0, 0, 0, 1, 0, 0, 700, 0, -1, 255, 0, 1, 1, 1, -1, 0, 0, 0, 0, 0;

[ \TelProfile ]

;
; *** TABLE CallerDisplayInfo ***
;
;

[ CallerDisplayInfo ]
FORMAT CallerDisplayInfo_Index = CallerDisplayInfo_DisplayString, CallerDisplayInfo_IsCidRestricted;
CallerDisplayInfo 0 = 101, 0;
CallerDisplayInfo 1 = 102, 0;
CallerDisplayInfo 2 = 103, 0;
CallerDisplayInfo 3 = 104, 0;
CallerDisplayInfo 4 = 105, 0;
CallerDisplayInfo 5 = 106, 0;
CallerDisplayInfo 6 = 107, 0;
CallerDisplayInfo 7 = 108, 0;

[ \CallerDisplayInfo ]

;
; *** TABLE Authentication ***
;
;

[ Authentication ]
FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword;
Authentication 0 = 101, ***;
Authentication 1 = 102, ***;
Authentication 2 = 103, ***;
Authentication 3 = 104, ***;
Authentication 4 = 105, ***;
Authentication 5 = 106, ***;
Authentication 6 = 107, ***;
Authentication 7 = 108, ***;

[ \Authentication ]

;
; *** TABLE ProxySet ***
;
;

[ ProxySet ]
FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap, ProxySet_SRD, ProxySet_ClassificationInput, ProxySet_ProxyRedundancyMode;
ProxySet 0 = 0, 60, 0, 0, 0, 0, -1;

[ \ProxySet ]

;
; *** TABLE Account ***
;
;

[ Account ]
; ** NOTE: Changes were made to active configuration.
; ** The data below is different from current values.
FORMAT Account_Index = Account_ServedTrunkGroup, Account_ServedIPGroup, Account_ServingIPGroup, Account_Username, Account_Password, Account_HostName, Account_Register, Account_ContactUser, Account_ApplicationType;
Account 4 = -1, -1, 1, , *, , 0, , 0;

[ \Account ]

;
; *** TABLE RedirectNumberMapTel2Ip ***
;
;

[ RedirectNumberMapTel2Ip ]
FORMAT RedirectNumberMapTel2Ip_Index = RedirectNumberMapTel2Ip_DestinationPrefix, RedirectNumberMapTel2Ip_RedirectPrefix, RedirectNumberMapTel2Ip_NumberType, RedirectNumberMapTel2Ip_NumberPlan, RedirectNumberMapTel2Ip_RemoveFromLeft, RedirectNumberMapTel2Ip_RemoveFromRight, RedirectNumberMapTel2Ip_LeaveFromRight, RedirectNumberMapTel2Ip_Prefix2Add, RedirectNumberMapTel2Ip_Suffix2Add, RedirectNumberMapTel2Ip_IsPresentationRestricted, RedirectNumberMapTel2Ip_SrcTrunkGroupID, RedirectNumberMapTel2Ip_SrcIPGroupID;
RedirectNumberMapTel2Ip 0 = *, *, 255, 255, 0, 0, 255, , , 0, -1, -1;

[ \RedirectNumberMapTel2Ip ]

;
; *** TABLE CodersGroup0 ***
;
;

[ CodersGroup0 ]
FORMAT CodersGroup0_Index = CodersGroup0_Name, CodersGroup0_pTime, CodersGroup0_rate, CodersGroup0_PayloadType, CodersGroup0_Sce;
CodersGroup0 0 = g711Ulaw64k, 20, 0, -1, 0;

[ \CodersGroup0 ]
could anyone hep me?
 
I have successfully got an Audiocodes FXS gateway setup with 3CX, but as it it an un-supported provider it is unfortunately going to be a manual configuration.

Use this video from VoIP supply for the manual part of the audiocodes and simply setup an FXS gateway with extensions on 3CX as you would normally: https://www.voipsupply.com/audiocodes-mp-112-fxs

The main problem is the sheer amount of settings required to get even the simplest settings working, next time I would suggest using a supported gateway like a Patton.
 
Also take note of a couple of settings that you may need to be aware of when setting up the device:GW and IP to IP > DTMF and Supplementary > DTMF & Dialing

Change the Max Digits In Phone Number to an appropriately high number - this can cause problems as it is not set as such by default. So longer digit numbers will be rejected.

Also some Audiocodes devices contain the parameter "Number of Calls Limit [IpProfile_CallLimit]" so it maybe worth checking.

This settings defines the maximum number of concurrent calls (incoming and outgoing). And if the number of concurrent calls reaches this limit, the device rejects any new incoming and outgoing calls belonging to this IP Profile.

This parameter can lso be set to the following:

[-1] = (Default) No limitation on calls.
[0] = Calls are rejected.
 
Thanks for your reply eddv123. It helped me in find my error in config. I was using the extension itself in authentication, but i’ve Changed the login to the autogenerated values in extension interface and it is working.
The other change that I had to do was in min and max flash timer (50 and 2000) in analog settings.

I known that audiocodes is not supported, but I have the gateway before the decision to use 3cx in my Pbx.
 
Great, glad to hear it is working, be aware of my second post also if you want to setup more interfaces, calls etc.

Regardless, once setup Audiocodes are very solid units, my concern is the cost and manual setup. You will find these supported gateways much more cost effective: https://www.3cx.com/voip-gateways/
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,405
Messages
747,495
Members
144,371
Latest member
NYCTECHZONE
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.