Working config Audiocodes MP-124 FXS

Discussion in '3CX Phone System - General' started by simon2016, May 9, 2016.

Thread Status:
Not open for further replies.
  1. simon2016

    Joined:
    May 9, 2016
    Messages:
    1
    Likes Received:
    0
    Hello,
    as we´ve spent a couple of days to setup the above mentioned device and haven´t found a good solution to get this thing working, we would like to share our configuration.

    Old setup
    NFON cloud phone system
    Analog gateway Audiocodes MP-124 FXS

    New setup
    3CX v14
    Analog gateway Audiocodes MP-124 FXS

    new firmware (should also work with the old one)
    As it is hard to get a new firmware for the audiocodes device, if you have no service contract, you can find the 6.2 firmware on the swyxware DVD 2015 (in their download section)

    situation
    The Audiocodes gateway was working with the old phone system but it won´t work with the 3CX Software in the beginning.
    We could receive calls but we couldn´t make outbound calls neither internal or external --- busy tone and the following error code in the 3cx console = "[CM503013]: Call(C:xxxx): Incoming call rejected, caller is unknown"

    source IP = IP of the Audiocodes gateway (this was the issue)
    target IP = IP of the 3CX Server

    1.
    We did a reset of the Audiocodes device (not sure if this was important, but after trying so many different configurations, it was a little bit messy)

    2. Following our Audiocodes config

    IMPORTANT:
    To get the device working we had to set the IP of the 3CX Server as Gateway Name and Registration Name under "Voip --> SIP Definitions --> Proxy and Registrations"



    ;**************
    ;** Ini File **
    ;**************

    ;Board: MP-124 FXS
    ;Serial Number: XXXXXX
    ;Slot Number: 1
    ;Software Version: 6.20A.025
    ;DSP Software Version: 204IM => 620.08
    ;Board IP Address: xxx.xxx.xxx.xxx
    ;Board Subnet Mask: xxx.xxx.xxx.xxx
    ;Board Default Gateway: xxx.xxx.xxx.xxx
    ;Ram size: 64M Flash size: 8M
    ;Num of DSP Cores: 6 Num DSP Channels: 24
    ;Profile: NONE
    ;License Key limits aren't active full features capabilities are available !;
    ;----------------------------------------------


    [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 = 'call_progress_germany.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 = '3CX Server IP'
    REGISTRARIP = '3CX Server IP'
    SIPGATEWAYNAME = '3CX Server IP'
    ALWAYSSENDTOPROXY = 1
    ASSERTEDIDMODE = 0
    SUBSCRIPTIONMODE = 0
    SIPTRANSPORTTYPE = 0
    TCPLOCALSIPPORT = 5060
    GWREGISTRATIONNAME = '3CX Server IP'
    REGISTRARNAME = '3CX Server IP'
    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 = *, 3CX Server IP, *, 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 3 = 0, 255, 4, 4, 899, 0, 255, 255;
    TrunkGroup 4 = 0, 255, 5, 5, 666, 0, 255, 255;
    TrunkGroup 5 = 0, 255, 6, 6, 888, 0, 255, 255;
    TrunkGroup 6 = 0, 255, 7, 7, 107, 0, 255, 255;
    TrunkGroup 8 = 0, 255, 9, 9, 892, 0, 255, 255;
    TrunkGroup 9 = 0, 255, 10, 10, 540, 0, 255, 255;
    TrunkGroup 10 = 0, 255, 11, 11, 149, 0, 255, 255;
    TrunkGroup 11 = 0, 255, 12, 12, 106, 0, 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 = 3CX Server IP, 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 3 = 899, 0;

    [ \CallerDisplayInfo ]

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

    [ Authentication ]
    FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword;
    Authentication 3 = xxxx, *;
    Authentication 5 = xxxx, *;
    Authentication 6 = xxxx, *;
    Authentication 8 = xxxx, *;
    Authentication 9 = xxxx, *;
    Authentication 10 = xxxx, *;
    Authentication 11 = xxxx, *;

    [ \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 ]
     
Thread Status:
Not open for further replies.