locked
Lync Analog Device Gateway RRS feed

  • Question

  • Hi, i am trying to setup a SIP device from Panasonic called KX-NT700 against a Lync co-located Front-End/Mediation server. I done the following:

    • Created a new PSTN gateway in the Topology builder, specified 5069 as listening port.
    • Associated the PSTN gateway with the Mediation server.
    • The mediation server listens for TCP 5060 as specified in the Topology Builder.
    • Created new "CSAnalogDevice". Gateway specified with the IP that the KX-NT700 Sip Device has. Line URI (Tried both tel:855 and +XXXXXXX;ext=855). AnalogFax = $False
    • The SIP Device is configured with "SIP Signaling Port" 5069, SIP Registrar Server IP-OF-LYNC-FE/MEDIATION and Port 5060, SIP Proxy Server IP-OF-LYNC-FE/MEDIATION and Port 5060. SIP Extension 855.

    When i call from lync to Extension 855 i get operation unsuccessful.

    When i analyze the SIP Stack log on the Lync server i see some funny stuff. The Lync server is using itself as Peer, and then specify a SIP TCP Ack to the gateway on port 5070!

     TL_INFO(TF_PROTOCOL) [1]1CE4.2648::10/31/2011-09:50:52.407.0002b5f5 (SIPStack,SIPAdminLog::TraceProtocolRecord:SIPAdminLog.cpp(125))$$begin_record
    Trace-Correlation-Id: 936438447
    Instance-Id: 000C7AEA
    Direction: incoming
    Peer: td-sk-lync01.XXXXXXX.local:5070
    Message-Type: response
    Start-Line: SIP/2.0 504 Cannot connect to gateway. Socket error: ConnectionRefused
    From: "Henrik Garpenrud"<sip:henrik.garpenrud@xxxxxxxx.se>;tag=8d023a676f;epid=58b0af551f
    To: <sip:855;phone-context=td-sip.XXXXXXX.local@xxxxxxxxx.se;user=phone>;tag=f8ce6085eb;epid=9868348226
    CSeq: 1 INVITE
    Call-ID: 59052a5340c64072bc6150540e8dc07f
    VIA: SIP/2.0/TLS 192.168.0.46:63696;branch=z9hG4bKFD42C94D.5D9A0C48EE386BE7;branched=TRUE,SIP/2.0/TLS 192.168.0.118:60719;ms-received-port=60719;ms-received-cid=155F300
    CONTENT-LENGTH: 0
    P-ASSERTED-IDENTITY: <sip:855;phone-context=DefaultProfile@xxxxxxxx.se;user=phone>
    SERVER: RTCC/4.0.0.0 MediationServer
    ms-diagnostics: 10504;source="TD-SK-LYNC01.XXXXXXXX.local";reason="Gateway responded with 504 Server Time out";component="MediationServer";SipResponseCode="504";SipResponseText="Cannot connect to gateway. Socket error: ConnectionRefused";GatewayFqdn="192.168.0.211"
    ms-diagnostics-public: 10504;reason="Gateway responded with 504 Server Time out";component="MediationServer";SipResponseCode="504";SipResponseText="Cannot connect to gateway. Socket error: ConnectionRefused"
    ms-trunking-peer: 192.168.0.211
    ms-trunking-peer-state: down
    ms-endpoint-location-data: NetworkScope;ms-media-location-type=intranet
    Message-Body: –
    $$end_record

    Any ideas?

     


    Microsoft Certified Master | Exchange Server 2010
    Monday, October 31, 2011 10:38 AM

All replies

  • Hi,

    Start-Line: SIP/2.0 504 Cannot connect to gateway. Socket error: ConnectionRefused
    From: "Henrik Garpenrud"<sip:henrik.garpenrud@xxxxxxxx.se>;tag=8d023a676f;epid=58b0af551f
    To: <sip:855;phone-context=td-

    The Line URI format will be +xxx. in your case it should be tel:+855 also make sure that you have normalization rule created and PSTN policy configured with a Gateway route. Check below example.


     Set-CsAnalogDevice -Identity "CN={ce84964a-c4da-4622-ad34-c54ff3ed361f},OU=
     Redmond,DC=Litwareinc,DC=com" -LineUri "TEL:+14255551298"


     The preceding command changes the value of the LineUri property for the ana
     log device that has the Identity CN={ce84964a-c4da-4622-ad34-c54ff3ed361f},
     OU=Redmond,DC=Litwareinc,DC=com.

    Thamara.

    Monday, October 31, 2011 11:19 AM
  • Nothing' funny here. KX-NT700 s indeed a conference phone, but it is not compatible with Lync 2010 and will never work the way you are trying to set it up.

     

    Drago


    http://www.lynclog.com
    Monday, October 31, 2011 12:01 PM
  • Nothing' funny here. KX-NT700 s indeed a conference phone, but it is not compatible with Lync 2010 and will never work the way you are trying to set it up.

     

    Drago


    http://www.lynclog.com


    Why is that? The KX-NT700 handles SIP, and as i understood it the "Analog Device Part" of Lync can be used for standard SIP devices?

    I am totally aware of that it isnt on a "supported list" of devices.


    Microsoft Certified Master | Exchange Server 2010
    Monday, October 31, 2011 1:50 PM
  • Hi,

    Start-Line: SIP/2.0 504 Cannot connect to gateway. Socket error: ConnectionRefused
    From: "Henrik Garpenrud"<sip:henrik.garpenrud@xxxxxxxx.se>;tag=8d023a676f;epid=58b0af551f
    To: <sip:855;phone-context=td-

    The Line URI format will be +xxx. in your case it should be tel:+855 also make sure that you have normalization rule created and PSTN policy configured with a Gateway route. Check below example.


     Set-CsAnalogDevice -Identity "CN={ce84964a-c4da-4622-ad34-c54ff3ed361f},OU=
     Redmond,DC=Litwareinc,DC=com" -LineUri "TEL:+14255551298"


     The preceding command changes the value of the LineUri property for the ana
     log device that has the Identity CN={ce84964a-c4da-4622-ad34-c54ff3ed361f},
     OU=Redmond,DC=Litwareinc,DC=com.

    Thamara.


    Okey thanks, will try the +855 part.

     

    Do i really need route/PSTN Usage etc for this specific number to gateway? I have those things in place for the SIP trunk, with ordinary voice working. I thought that Lync looked on the LineURI on the contact and routed that call to the specified gateway. Not through the Routes/PSTN Usage etc.

     

    Thanks


    Microsoft Certified Master | Exchange Server 2010
    Monday, October 31, 2011 1:51 PM
  • in this case no. try with +855 part and see whether it works. But as drago said, there's a strong probability that it will not work as expected. CSAnalogDevice command is used to configure Analog divices behind the Analaog Gateway. It connot be used to configure standard Sip Phones to work with Lync. I hope your clear with this.

    Thamara.

    Monday, October 31, 2011 2:41 PM
  • What you are trying to accomplish is not possible with panasonice device as gateway

    Please refer to http://technet.microsoft.com/en-us/library/gg398314.aspx 

    For using Analog phones you need ot have the following requirements:

     

    You must configure the analog gateway to use Lync Server, and the gateway must be one of the following:
     An analog telephone adapter (ATA)

     A PSTN analog gateway

     A Survivable Branch Appliance that includes a PSTN analog gateway

     A Survivable Branch Appliance that includes a PSTN gateway that communicates with an ATA

    Note:

    Fax calls are not supported through a SIP trunk.


    To add analog devices to your deployment, you must configure an ATA to convert a standard analog interface (FXS/telephone jack) to a digital telephone interface (Ethernet interface). Before you can configure the ATA, you must configure the gateway. For details, see PSTN Gateway Deployment Options.

    Use the vendor documentation for the gateway and ATA you are using to do any of the following:
     Configure the gateway with the IP address of the ATA.

     Provide a mapping between the phone number of the analog device and the IP address of the ATA.

     Configure the ATA with the IP address of the gateway.
    ================================

    You cannot add the panasonic device as a gateway because it understand SIP, to find the supported gateway refer to http://technet.microsoft.com/en-us/lync/gg131938#tab=1

    You need to add a supported gateway to the Lync topology, the gateway should be able to support ATA to which your analog phone will be connected.

    There is a mapping between the gateway and the ATA so any call to the analog phone from Lync is routed through the gateway and then to the ATA and to the analog phone

     

     

    Friday, November 4, 2011 12:06 PM