3cx and Audiocodes

Discussion in '3CX Phone System - General' started by nateb, Dec 8, 2007.

  1. nateb

    Joined:
    Oct 19, 2007
    Messages:
    68
    Likes Received:
    0
    Does any have an audiocodes MP 118? If so, I'm having a hell of a time dialing out. I have it working because i have an ip to trunk group routing table, but dialing is based on number of digits, not what line i send the call to. I have rules specified in 3cx , that says if 9, send to line 1 or 2, if dial 0 , send to line 3 or 4, if dial 8, send to 5 or 6.

    Can anyone help me?
     
  2. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    Same problem

    With 3CX version 5, cannot dial out via AudioCodes MP-118, get busy signal on all phones. Followed configuration on 3CX website.
     
  3. nateb

    Joined:
    Oct 19, 2007
    Messages:
    68
    Likes Received:
    0
    ip to tel hunt group

    thats what im talking about. you have to setup an ip to tel hunt group with the number of digits you are dialing. and then it defeats the purpose of sending it to a specific line via 3cx
     
  4. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    Nateb, you have to set up IP to tel hunt group, just use * as a wild card character and IP of your 3CX system. Use hunt group 1 and profile id 1. Create just one hunt group in AudioCodes and let 3CX manage rules.
     
  5. nateb

    Joined:
    Oct 19, 2007
    Messages:
    68
    Likes Received:
    0
    important note

    I had to change one other thing for that to work. Under Hunt group settings, i had to set the 'channel select mode to' "TRUNK CYCLIC ASCENDING"
    I had it set to ascennding.

    Now it works THANKS!

    Any ideas on disconnect problems when they are leaving voice mail and they hang up, but the FXO or 3CX doesn't recognize it?
     
  6. AldoLinares

    AldoLinares New Member

    Joined:
    Nov 12, 2007
    Messages:
    135
    Likes Received:
    0
    Do you have correct Disconnect Tone configured?

    And tone disconnect enabled?
     
  7. nateb

    Joined:
    Oct 19, 2007
    Messages:
    68
    Likes Received:
    0
    tone disconnect is enabled

    here is my config : can you compare it with yours? or send me yours to compare to

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

    ;Board: MP-118 FXO
    ;Serial Number: 943880
    ;Slot Number: 1
    ;Software Version: 5.20A.024.002
    ;DSP Software Version: 204IM => 520.12
    ;Board IP Address: 172.16.1.56
    ;Board Subnet Mask: 255.255.255.0
    ;Board Default Gateway: 172.16.1.1
    ;Ram size: 32M Flash size: 8M
    ;Num DSPs: 2 Num DSP channels: 8
    ;Profile: NONE
    ;-----------------------------------------


    [SYSTEM Params]

    DNSPriServerIP = 0.0.0.0
    DNSSecServerIP = 0.0.0.0
    SyslogServerIP = 172.16.1.4
    EnableSyslog = 1
    VXMLFIleName = ''
    VoiceMenuPassword = 'disable'
    ActivityListToLog = 'dr'

    [BSP Params]

    PCMLawSelect = 3
    EnableLANWatchdog = 0
    EnableMultipleIPs = 0
    NETWORKSERVICECLASSDIFFSERV = 48
    PREMIUMSERVICECLASSMEDIADIFFSERV = 46
    PREMIUMSERVICECLASSCONTROLDIFFSERV = 40
    GOLDSERVICECLASSDIFFSERV = 26
    BRONZESERVICECLASSDIFFSERV = 10
    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

    [ATM Params]


    [Analog Params]

    MinFlashHookTime = 100
    FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'
    FarEndDisconnectType = 15
    ANALOGPORTINFO = ''

    [ControlProtocols Params]

    AdminStateLockControl = 0

    [MGCP Params]


    [MEGACO Params]

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

    [PSTN Params]


    [SS7 Params]


    [Voice Engine Params]

    BrokenConnectionEventTimeout = 100
    DJBufMinDelay = 70
    RFC2833PayloadType = 101
    ECDCRemoval = 1
    FarEndDisconnectSilenceMethod = 1
    FarEndDisconnectSilencePeriod = 15
    CallProgressTonesFilename = 'usa_tones_12.dat'

    [WEB Params]

    LogoWidth = '339'

    [SIP Params]

    ENABLECALLERID = 1
    MAXDIGITS = 49
    DISCONNECTONBUSYTONE = 1
    ISPROXYUSED = 1
    ISREGISTERNEEDED = 1
    ISWAITFORDIALTONE = 0
    ISTWOSTAGEDIAL = 0
    ROUTEMODEIP2TEL = 0
    FXOBETWEENRINGTIME = 8
    ENABLECURRENTDISCONNECT = 1
    ENABLEREVERSALPOLARITY = 1
    SECURECALLSFROMIP = 0
    ENABLEBUSYOUT = 0
    CDRREPORTLEVEL = 0
    MAXACTIVECALLS = 8
    CHANNELSELECTMODE = 2
    GWDEBUGLEVEL = 5
    PROXYNAME = '172.16.1.4'
    SIPGATEWAYNAME = '172.16.1.56'
    STATICNATIP = 0.0.0.0
    ENABLESILENCEDISCONNECT = 1
    ENABLEVOICEDETECTION = 1
    DEFAULTRELEASECAUSE = 3
    PROGRESSINDICATOR2IP = -1
    FILTERCALLS2IP = 0
    PRACKMODE = 0
    GWAPPDELAYTIME = 7
    ENABLEDIDWINK = 0
    DISCONNECTONBROKENCONNECTION = 1
    ENABLEDIGITDELIVERY = 0
    CDRSYSLOGSERVERIP = 0.0.0.0
    PSTNALERTTIMEOUT = 180
    ENABLEDIGITDELIVERY2IP = 0
    SENDMETERING2IP = 0
    MAXCALLDURATION = 0
    RINGSBEFORECALLERID = 1
    ENABLEUSERINFOUSAGE = 0
    GUARDTIMEBETWEENCALLS = 1
    DISCONNECTONDIALTONE = 1
    SetDefaultOnIniFileProcess = 0

    [VXML Params]


    [IPsec Params]


    [Audio Staging 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 CoderName ***
    ;
    ;

    [ CoderName ]
    FORMAT CoderName_Index = CoderName_Type, CoderName_PacketInterval, CoderName_rate, CoderName_PayloadType, CoderName_Sce;
    CoderName 0 = g711Ulaw64k, 20, 0, 0, 0;
    CoderName 1 = g711Alaw64k, 20, 0, 8, 0;

    [ \CoderName ]

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

    [ TrunkGroup ]
    ; ** NOTE: Changes were made to active configuration.
    ; ** The data below is different from current values.
    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, 10101, 0, 255, 255;
    TrunkGroup 1 = 1, 255, 2, 2, 10102, 0, 255, 255;
    TrunkGroup 2 = 1, 255, 3, 3, 10103, 0, 255, 255;
    TrunkGroup 3 = 1, 255, 4, 4, 10104, 0, 255, 255;

    [ \TrunkGroup ]

    ;
    ; *** TABLE PstnPrefix ***
    ;
    ;

    [ PstnPrefix ]
    ; ** NOTE: Changes were made to active configuration.
    ; ** The data below is different from current values.
    FORMAT PstnPrefix_Index = PstnPrefix_DestPrefix, PstnPrefix_TrunkGroupId, PstnPrefix_SourcePrefix, PstnPrefix_SourceAddress, PstnPrefix_ProfileId;
    PstnPrefix 0 = *, 1, *, *, 0;

    [ \PstnPrefix ]

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

    [ ProxyIp ]
    FORMAT ProxyIp_Index = ProxyIp_IpAddress;
    ProxyIp 0 = 172.16.1.4;

    [ \ProxyIp ]

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

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

    [ \TxDtmfOption ]

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

    [ TrunkGroupSettings ]
    ; ** NOTE: Changes were made to active configuration.
    ; ** The data below is different from current values.
    FORMAT TrunkGroupSettings_Index = TrunkGroupSettings_TrunkGroupId, TrunkGroupSettings_ChannelSelectMode, TrunkGroupSettings_RegistrationMode, TrunkGroupSettings_GatewayName;
    TrunkGroupSettings 0 = 1, 7, 0, ;

    [ \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 1 = "Default Tel Profile", 1, 0, 1, 70, 10, 46, 40, -11, 0, 0, 0, 1, 0, 1, 0, 0, 400, 1, 0, 255;

    [ \TelProfile ]

    ;
    ; *** TABLE EnableCallerId ***
    ;
    ;

    [ EnableCallerId ]
    FORMAT EnableCallerId_Index = EnableCallerId_IsEnabled;
    EnableCallerId 0 = 1;
    EnableCallerId 1 = 1;
    EnableCallerId 2 = 1;
    EnableCallerId 3 = 1;
    EnableCallerId 4 = 1;
    EnableCallerId 5 = 1;
    EnableCallerId 6 = 1;
    EnableCallerId 7 = 1;

    [ \EnableCallerId ]

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

    [ CallerDisplayInfo ]
    FORMAT CallerDisplayInfo_Index = CallerDisplayInfo_DisplayString, CallerDisplayInfo_IsCidRestricted;
    CallerDisplayInfo 0 = 2087355159, 0;
    CallerDisplayInfo 1 = 2087358212, 0;
    CallerDisplayInfo 2 = 2087353924, 0;
    CallerDisplayInfo 3 = 2087358622, 0;
    CallerDisplayInfo 4 = , 1;
    CallerDisplayInfo 5 = , 1;
    CallerDisplayInfo 6 = , 1;
    CallerDisplayInfo 7 = , 1;

    [ \CallerDisplayInfo ]

    ;
    ; *** TABLE TargetOfChannel ***
    ;
    ;

    [ TargetOfChannel ]
    FORMAT TargetOfChannel_Index = TargetOfChannel_Destination, TargetOfChannel_Type;
    TargetOfChannel 0 = 10101, 1;
    TargetOfChannel 1 = 10102, 1;
    TargetOfChannel 2 = 10103, 1;
    TargetOfChannel 3 = 10104, 1;
    TargetOfChannel 4 = 10105, 0;
    TargetOfChannel 5 = 10106, 0;
    TargetOfChannel 6 = 10107, 0;
    TargetOfChannel 7 = 10108, 0;

    [ \TargetOfChannel ]

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

    [ Authentication ]
    FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword;
    Authentication 0 = 10101, 10101;
    Authentication 1 = 10102, 10102;
    Authentication 2 = 10103, 10103;
    Authentication 3 = 10104, 10104;

    [ \Authentication ]
     
  8. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    I have the same problem with disconnects. I will call AudioCodes tomorrow to try to figure it out. I will let you know how it goes.
     
  9. nateb

    Joined:
    Oct 19, 2007
    Messages:
    68
    Likes Received:
    0
    kustra

    kustra, any luck with audiocodes?
     
  10. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    No, they wouldn't help me after a while, said I have to talk to the phone service provider. I have a support call into them, waiting to hear back.
     
  11. crsc

    Joined:
    Dec 1, 2007
    Messages:
    28
    Likes Received:
    0
    I have two MP-118 working with V5.0 b3648. I got the lines to disconnected by modifying the silence detection setting. I found some documentation on the AudioCodes disconnect methods and started playing with different settings. 90 secs of silence (All detection methods) disconnect the lines in about 4 mins after the actual disconnect from the 3CX pbx. I also have Current Disconnect and Polarity Reversal enabled. I have not changed the Reorder setting.

    What I would like to know is if 3CX supports DTMF disconnect code; this would make the disconnect issue much simpler.

    From AudioCodes documentation:
    The gateway supports the following methods for detecting PBX line disconnection:
     
  12. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    According to AudioCodes documentation, if you have both Current Disconnect and Polarity Reversal enabled that could cause problems. I have Polarity Reversal disabled and my calls disconnect after about 45 seconds. I have called the telco provider to get a DTMF disconnect tone to program in AudioCodes MP118 since other options don't work. I forgot to mention that my calls actually do disconnect, but it takes 30-45 seconds for that to happen.
     
  13. alicic

    alicic New Member

    Joined:
    Oct 3, 2007
    Messages:
    119
    Likes Received:
    0
    I would like to mention that there is another posibility to adjust call progrss tones for AudioCodes.

    There is a toll from Audio Codes called CPT Wizard (Call progress tones Witard) which connects to AudioCodes and makes a real call towards PSTN network and saves Call Progress tones. Later these tones can be converted tu .dat file and imported to AudioCodes.

    Tool to convert to .dat file is named DC Convert and is also from Audio Codes. All these tools come together with CD togeteher with AudioCodes Gateway.
    In order to run this Wizrad you have toi have 2 FXO lines connected to Gateway.

    Hope this will help,
    regards
     
  14. crsc

    Joined:
    Dec 1, 2007
    Messages:
    28
    Likes Received:
    0
    I used the CPT Wizard previously and it did not reported anything different from the default usa_tones_12.dat

    I just made the change to Reverse Polarity = disabled and the disconnect for abandoned calls went from 120 sec to 60 sec. If I remember correctly, this setting is contrary to the instructions posted in the 3CX help for AudioCodes gateways.

    Thanks.
     
  15. alicic

    alicic New Member

    Joined:
    Oct 3, 2007
    Messages:
    119
    Likes Received:
    0
    yes, you are right, it is contrary to what 3cx has recomended.

    They might think of correction ;-)

    regards,
     
  16. kustura

    Joined:
    Nov 2, 2007
    Messages:
    53
    Likes Received:
    0
    crsc, did that work fix the problem with calls not disconnecting?
     
  17. dwarren

    Joined:
    Oct 24, 2014
    Messages:
    3
    Likes Received:
    0
    Has anyone had any success with configuring an Audio Codes FXS gateway with 3CX? The above thread seems to strictly be related to Audio Code's FXO gateways.

    We are trying to configure an Audio Codes FXS gateway with 3CX and have it properly registered as an extension on 3CX. I can call the FXS extension without any problem. I can call from the FXS extension to any internal extension on the 3CX without any problem. The issue I am having is placing an outbound call to the PSTN or to a SIP Trunk. The call is rejected.
     
  18. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    8,664
    Likes Received:
    15
    Rejected by 3CX, or rejected by the gateway? 3CX Server logs?

    This post was from 7 years ago, a lot of things have changed since then.
     
  19. eagle2

    eagle2 Well-Known Member

    Joined:
    Apr 27, 2011
    Messages:
    1,089
    Likes Received:
    6
    AudioCodes MP112/MP114/MP118/MP124 are working fine with 3CX, moreover they are quite good on handling T.38 faxes.
     

Share This Page