Forums Read-only archive

Connecting to Lync

13 posts · Brekeke SIP Server Forum

rich.fisk@minco.com Original post
1. Brekeke Product Name and Version:
SIP Server ver 3.1.7.8
2. Java version:
Java 7 Update 21
3. OS type and the version:
Windows 2008 R2
4. UA (phone), gateway or other hardware/software involved:
Polycom IP 501
5. Your problem:

I am trying to use SIP Server to use legacy SIP devices (Polycom phones) with Lync 2013.

-Phones register with SIP server ok.
-I can makes calls from Lync phones to SIP server connected phones ok.
-When I call from the SIP Server connected phone I do not connect to Lync. A Wireshark capture shows that the SIP Server is sending a SYN packet to the Lync server and the Lync server sends back RST, ACK - I think this means the port is not open.

Any ideas what could be going on here?
Tata
Do you have "&net.sip.transport.follow.request = true" in the DialPlan rule?
rich.fisk@minco.com
Yes
rich.fisk@minco.com
Here's my dial plan rule:

Matching patterns
$request = ^INVITE
$registered = false
To = sip:(.+)@
$getUri(From) = sip:(.+)
$port = (.+)

Deploy patterns
&net.sip.transport.follow.request = true
$auth = false
$continue = true
$transport = TCP
To = sip:%1@192.168.0.50:5068
From = sip:+12345678901;ext=%2:%3
Tata
Are you using Lync Mediation Server?

Let you open the port 5068 (TCP) at the firewall in the Mediation Server's Windows.


In Wireshark, can you see Brekeke's TCP connection sent to the port 5068?
rich.fisk@minco.com
The Windows firewall is disabled on the Lync Mediation server.

The initial INVITE from Brekeke SIP server goes to Lync mediation server port 5068.

A subsequent request from Brekeke SIP server is directed to port 5060 on the Lync mediation server. This is when the call setup fails.
Tata
Ok

Let you set the following in Deploy Patterns
&net.sip.fixed.addrport.uas = true


Deploy Patterns
&net.sip.transport.follow.request = true
$auth = false
$continue = true
$transport = TCP
To = sip:%1@192.168.0.50:5068
From = sip:+12345678901;ext=%2:%3
&net.sip.fixed.addrport.uas = true
rich.fisk@minco.com
That fixed the problem. Thank you!
Tata
> From = sip:+12345678901;ext=%2:%3

Do you have any reason to put the original remote port number in outgoing "From" header?
rich.fisk@minco.com
I just wanted to modify the from header to be a E164 number that is recognized by Lync.

Is the port in the original From header? Is there a reason why I should not put the port in the from header?
Tata
I got it.
If you have reason, it is no problem.
tuti
Hi,
I have similar issues in my hands.
I need the configuration to use on the Lync server please.
james
tuti,

Are you using Brekeke PBX or Brekeke SIP Server?

Brekeke PBX + Lync
http://wiki.brekeke.com/wiki/Brekeke-PB ... ync-or-OCS

Brekeke SIP Server + Lync
http://wiki.brekeke.com/wiki/Configure- ... ync-or-OCS