locked
Lync Server installation with pstn and audiocodes mp114 RRS feed

  • Question

  • We are trying to get our Lync server set up to dial out via an anudiocodes MP114 gateway with 4 FXO ports.

    The server can make calls internally. I.E. Lync client to Lync client.

    We cannot make any inbound pstn and outbound pstn calls.

    Has anyone configured one of these devices? Not the 2fxo/2fxs versions?

    We have found all kinds of information for configuring those (which contradict each other for configuration)

    We simply want to be able to use the audiocodes gateways with Lync and analog phone lines for external calls.

    The errors we get on our auidiocodes device is "can't find endpoint for phone number"

    Any help would be appreciated.

    Shaun

    Thursday, June 23, 2011 7:05 PM

All replies

  • check this link out

     

    http://www.lynclog.com/2011/04/mp-114-pre-configured-boardini-for-lync.html

     

    it might help you achieve what you want


    John McCabe PFE Platforms MSFT
    Thursday, June 23, 2011 9:39 PM
  • Hi, Shaun,

    In addition, here’re 5 Tips for Configuring a Voice Gateway in Lync for reference. And hope this helps.


    Please remember to click “Mark As Answer” on the post that helps you, and to click “Unmark As Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, June 24, 2011 9:07 AM
  • Here you can find everything from audiocodes

     

    http://www.audiocodes.com/products/microsoft-gateways


    regards Holger Technical Specialist UC
    Friday, June 24, 2011 10:28 AM
  • Just did one of these.  The links that have been posted so far are good, but ultimately talking to Audiocodes is your best bet.

     

    If you got support on your gateway then just call em up and they can help you configure the unit and get the right firmware (as some older firmware has issues).  If you did not buy support I would recommend it, it is cheap and gives a better hardware return policy as well.

    Friday, June 24, 2011 2:37 PM
  • Hi John,

     

    I have been through that also. It is for a mp114 with 2fxs/2fxo

    So I tried going through the programming and discerning what would be applicable.

    Didn't have any lcuk.

    Thanks,

    Saturday, June 25, 2011 5:50 AM
  • I think that;s what we ultimately will do. We are just setting up a lab and test environment for now.

    I will post some information if I manage to move ahead farther. I may even post our board.ini file.

     

    Thanks,

     

    Shaun

    Saturday, June 25, 2011 5:53 AM
  • Thildemar

    Do you have a copy of your board.ini file? Would be willing to share it?

    Thanks,

     

    Shaun

    Saturday, June 25, 2011 5:54 AM
  • Stratomer

     

    "can't find endpoint for phone number" is a common error when you do not define endpoint phone number, I have a .ini to share if you want.

    You have to define number of lines connected and phone numbers (you can put a "1000") on endpoint phone number section of audiocodes configuration.

    Example

    1-4 1000

     

    Hope it helps

    Monday, June 27, 2011 3:54 PM
  • Andres,

    I do have the endpoint defined and phone number.

    If you could share the board.ini file would be really appreciated. Then I could compare and see what we are missing.

    Thanks,

    Shaun

    Monday, June 27, 2011 4:19 PM
  • Please send me some email address so I can send it.
    Tuesday, June 28, 2011 12:51 AM
  • Andres,

    Can you just post the ini file here as the forums do not support sending a private message?

    Thanks

    Thursday, July 7, 2011 1:17 PM
  • ;**************
    ;** Ini File **
    ;**************
    
    ;Board: MP-114 FXS_FXO
    ;Serial Number: 1068544
    ;Slot Number: 1
    ;Software Version: 6.00A.042.005
    ;DSP Software Version: 204IM => 600.09
    ;Board IP Address: 192.168.1.98
    ;Board Subnet Mask: 255.255.255.0
    ;Board Default Gateway: 192.168.1.254
    ;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]
    
    DNSPriServerIP = 192.168.1.99
    SyslogServerIP = 192.168.1.94
    EnableSyslog = 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
    CurrentDisconnectDuration = 450
    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
    
    [Voice Engine Params]
    
    CallProgressTonesFilename = 'argentina_tonos.dat'
    ECNLPMode = 1
    RFC2833TxPayloadType = 101
    RFC2833RxPayloadType = 101
    
    [WEB Params]
    
    LogoWidth = '145'
    HTTPSCipherString = 'RC4:EXP'
    
    [SIP Params]
    
    ENABLECALLERID = 1
    MAXDIGITS = 20
    LOCALSIPPORT = 5040
    ISTWOSTAGEDIAL = 0
    ROUTEMODETEL2IP = 1
    GWDEBUGLEVEL = 5
    SIPGATEWAYNAME = 'mp114.domain.com.ar'
    ISFALLBACKUSED = 1
    HOOKFLASHOPTION = 4
    DISCONNECTONBROKENCONNECTION = 0
    PREFERROUTETABLE = 1
    ISFAXUSED = 1
    SIPTRANSPORTTYPE = 1
    
    [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 0 = +6302, 192.168.1.89, *, 0, 255, 5068, -1, , -1, , 1, 1;
    PREFIX 1 = +6302, 192.168.1.89, *, 0, 255, 5068, -1, , -1, , 1, 2;
    
    [ \PREFIX ]
    
    ;
    ; *** 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, 4, 4, 1000, 0, 255, 255;
    
    [ \TrunkGroup ]
    
    ;
    ; *** TABLE NumberMapIp2Tel *** 
    ; 
    ;
    
    [ NumberMapIp2Tel ]
    ; ** NOTE: Changes were made to active configuration.
    ; **    The data below is different from current values.
    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 1 = +5411, *, *, 255, 255, 5, 0, 255, , , 255, -1, -1;
    NumberMapIp2Tel 2 = +54911, *, *, 255, 255, 6, 0, 255, 15, , 255, -1, -1;
    NumberMapIp2Tel 4 = +54, *, *, 255, 255, 3, 0, 255, 0, , 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 PstnPrefix *** 
    ; 
    ;
    
    [ PstnPrefix ]
    FORMAT PstnPrefix_Index = PstnPrefix_DestPrefix, PstnPrefix_TrunkGroupId, PstnPrefix_SourcePrefix, PstnPrefix_SourceAddress, PstnPrefix_ProfileId, PstnPrefix_SrcIPGroupID, PstnPrefix_DestHostPrefix, PstnPrefix_SrcHostPrefix;
    PstnPrefix 0 = +54911, 1, *, *, 0, -1, *, *;
    PstnPrefix 1 = *, 1, *, *, 0, -1, , ;
    
    [ \PstnPrefix ]
    
    ;
    ; *** TABLE ProxyIp *** 
    ; 
    ;
    
    [ ProxyIp ]
    FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
    ProxyIp 0 = 192.168.1.89, -1, 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, 255, , , -1, 255;
    TrunkGroupSettings 1 = 2, 1, 255, , , -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 = "Primer Profile", 1, 1, 1, 10, 10, 46, 40, -11, 0, 0, 0, 0, 0, 1, 0, 0, 700, 0, -1, 255, 0, 0, 1, 1, -1, 0, 0, 0, 1, 0;
    TelProfile 2 = , 1, 2, 1, 10, 10, 46, 40, -11, 0, 0, 0, 0, 0, 1, 0, 0, 700, 0, -1, 255, 0, 0, 1, 1, -1, 0, 0, 0, 1, 0;
    
    [ \TelProfile ]
    
    ;
    ; *** TABLE IpProfile *** 
    ; 
    ;
    
    [ IpProfile ]
    FORMAT IpProfile_Index = IpProfile_ProfileName, IpProfile_IpPreference, IpProfile_CodersGroupID, IpProfile_IsFaxUsed, IpProfile_JitterBufMinDelay, IpProfile_JitterBufOptFactor, IpProfile_IPDiffServ, IpProfile_SigIPDiffServ, IpProfile_SCE, IpProfile_RTPRedundancyDepth, IpProfile_RemoteBaseUDPPort, IpProfile_CNGmode, IpProfile_VxxTransportType, IpProfile_NSEMode, IpProfile_IsDTMFUsed, IpProfile_PlayRBTone2IP, IpProfile_EnableEarlyMedia, IpProfile_ProgressIndicator2IP, IpProfile_EnableEchoCanceller, IpProfile_CopyDest2RedirectNumber, IpProfile_MediaSecurityBehaviour, IpProfile_CallLimit, IpProfile_DisconnectOnBrokenConnection, IpProfile_FirstTxDtmfOption, IpProfile_SecondTxDtmfOption, IpProfile_RxDTMFOption, IpProfile_EnableHold, IpProfile_InputGain, IpProfile_VoiceVolume, IpProfile_AddIEInSetup, IpProfile_SBCExtensionCodersGroupID, IpProfile_MediaIPVersionPreference, IpProfile_TranscodingMode, IpProfile_SBCAllowedCodersGroupID, IpProfile_SBCAllowedCodersMode, IpProfile_SBCMediaSecurityBehaviour, IpProfile_SBCRFC2833Behavior, IpProfile_SBCAlternativeDTMFMethod, IpProfile_SBCAssertIdentity;
    IpProfile 1 = , 1, 0, 1, 10, 10, 46, 40, 0, 0, 0, 0, 2, 0, 0, 0, 0, -1, 1, 0, 0, -1, 0, 4, -1, 1, 1, 0, 0, , -1, 0, 0, -1, 0, 0, 0, 0, -1;
    
    [ \IpProfile ]
    
    ;
    ; *** TABLE TargetOfChannel *** 
    ; 
    ;
    
    [ TargetOfChannel ]
    FORMAT TargetOfChannel_Index = TargetOfChannel_Destination, TargetOfChannel_Type;
    TargetOfChannel 2 = 6302, 1;
    TargetOfChannel 3 = 6302, 1;
    
    [ \TargetOfChannel ]
    
    ;
    ; *** TABLE ProxySet *** 
    ; 
    ;
    
    [ ProxySet ]
    FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap, ProxySet_SRD, ProxySet_ClassificationInput;
    ProxySet 0 = 0, 60, 0, 0, 0, 0;
    
    [ \ProxySet ]
    
    ;
    ; *** TABLE CodersGroup0 *** 
    ; 
    ;
    
    [ CodersGroup0 ]
    FORMAT CodersGroup0_Index = CodersGroup0_Name, CodersGroup0_pTime, CodersGroup0_rate, CodersGroup0_PayloadType, CodersGroup0_Sce;
    CodersGroup0 0 = g711Ulaw64k, 20, 0, -1, 0;
    CodersGroup0 1 = g711Alaw64k, 20, 0, -1, 0;
    CodersGroup0 2 = g729, 20, 0, -1, 0;
    CodersGroup0 3 = g726, 20, 0, 23, 0;
    
    [ \CodersGroup0 ]
    
    ;
    ; *** TABLE CodersGroup1 *** 
    ; 
    ;
    
    [ CodersGroup1 ]
    FORMAT CodersGroup1_Index = CodersGroup1_Name, CodersGroup1_pTime, CodersGroup1_rate, CodersGroup1_PayloadType, CodersGroup1_Sce;
    CodersGroup1 0 = g711Alaw64k, 20, 0, -1, 0;
    CodersGroup1 1 = g711Ulaw64k, 20, 0, -1, 0;
    
    [ \CodersGroup1 ]
    
    ;
    ; *** TABLE CodersGroup2 *** 
    ; 
    ;
    
    [ CodersGroup2 ]
    FORMAT CodersGroup2_Index = CodersGroup2_Name, CodersGroup2_pTime, CodersGroup2_rate, CodersGroup2_PayloadType, CodersGroup2_Sce;
    CodersGroup2 0 = g729, 20, 0, -1, 0;
    CodersGroup2 1 = g726, 20, 0, 23, 0;
    
    [ \CodersGroup2 ]
    
    ;
    ; *** TABLE InterfaceTable *** 
    ; 
    ;
    
    [ InterfaceTable ]
    FORMAT InterfaceTable_Index = InterfaceTable_ApplicationTypes, InterfaceTable_InterfaceMode, InterfaceTable_IPAddress, InterfaceTable_PrefixLength, InterfaceTable_Gateway, InterfaceTable_VlanID, InterfaceTable_InterfaceName;
    InterfaceTable 0 = 6, 10, 192.168.1.98, 24, 192.168.1.254, 1, O+M+C;
    
    [ \InterfaceTable ]
    
    
    

    Wednesday, July 13, 2011 1:31 AM
  • Away from the Audiocodes Stuff: Are you sure you have confoiguredyour Lync Dialplan, lync PSTN Usage, ROUTE etc ?

    Have you startet the "Lync Logging Tool" on the Frontend Server and enabled tracking of the SIPStack ?

    You should see the "invite" there and that it is forwarded to the Mediation Server

     

    On the audiocodes you should be able to activate a SYSLOG anduse "ACSYSLOG to catch all the SIP-messages from the Mediation Server to the Audiocodes. So we can see, whats going on there. 

    Have you configured your Lync mediation to listen on port 5060 ?  normally it i 5067/5068

    your Proxy table contains 192.168.1.89  and not  192.168.1.89:5068.  maybe thats one problem.

     

     

    Thursday, July 21, 2011 7:57 PM
  • Al right. Let's ease the pain. I am available this weekend. Email me here: temp2 at  lynclog.com and let get this done.

     

    Drago


    http://www.lynclog.com
    Friday, July 22, 2011 1:58 AM
  • Andres thanks for the ini file.

     

    We have managed to get the Audiocodes gateway working in our testing.

    I will post our ini file and how we manged to get it all working.

    Basically we have set the audiocodes to send everything to lync.

    Then we have the  Lync Dial Plan setup to handle the inbound and outbound.

    Thanks to Ken Lakso and his blog http://ucken.blogspot.com/ for the dialing rule optimizer.

    http://lync.buchanan.com/LyncOptimizer/

    This helped get most of our rules setup, we still had to tweak things from there. When it brings in the rules it applies them on the pstn for inward handling also.

    We have also found some weird quirks with Unified Messaging when setting that up with Lync. (do not follow the standard documentation/books etc. as they leave out some critical steps. i.e. run exchucutil.ps1 to create the ip gateway in UM and also run OcsUmUtil.exe on the Lync server to create our auto attendant and System Attendant contacts in AD.

    We had to run the exchucutil.ps1 3 times in a row for it to fully add everything. first run it created the ip gateway, then it added the dial plan, then it added the hunt group.

    Exchange must use TLS and Exchange Server Authentication, on your smtp server receive connector for your system to receive voicemail in your email etc.

    So we setup a secondary ip on our exchange server specifically for that.

     

    We had to create a cert specifically for exchange UM. We have a Cert with subject alternatives that listed it but, it still wanted one that had the FQDN internal name first.

     

    We have some more to go but the bulk of things are done.

    When I get back in to the office I will post the ini file.

     

    The one quirk we have found though is the Auidiocodes is slow to disconnect a line. When you hang up it holds the line open still for a little while. So if you call right back on that number it will be busy.

     

    Thanks All for your help.

    This product really is a great product but it is filled with all kinds of unbelievable quirks and gotchas for installation and configuration.

     

    Friday, July 22, 2011 4:25 AM
  • HI stratomer,

    i am also trying to configured Audio codes Mp-114 with lync. if you have screen shots can you send.

    at voice.akhil@gmail.com.

    i have just terminated Pstn line to gateway at 3 port and provides the IP to the gateway and have also create normalization rule in lync . 

    Thanks in Advance

    Thursday, July 5, 2012 6:30 PM
  • And i have to configure here in India

    local no here 011 - 25012345

    mobile is 09876543210

    i am  configuring for the first time.

    Thanks

    Thursday, July 5, 2012 6:34 PM