Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Connecting to Lync
Author Message
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 10:35 am    Post subject: Connecting to Lync Reply with quote

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?
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 01, 2013 11:25 am    Post subject: Reply with quote

Do you have "&net.sip.transport.follow.request = true" in the DialPlan rule?
Back to top
View user's profile
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 11:29 am    Post subject: Reply with quote

Yes
Back to top
View user's profile
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 11:41 am    Post subject: Reply with quote

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
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 01, 2013 1:30 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 1:59 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 01, 2013 2:08 pm    Post subject: Reply with quote

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
Back to top
View user's profile
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 2:10 pm    Post subject: Reply with quote

That fixed the problem. Thank you!
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 01, 2013 2:12 pm    Post subject: Reply with quote

> From = sip:+12345678901;ext=%2:%3

Do you have any reason to put the original remote port number in outgoing "From" header?
Back to top
View user's profile
rich.fisk@minco.com
Brekeke Junior Member


Joined: 30 Apr 2013
Posts: 6
Location: United States

PostPosted: Wed May 01, 2013 2:18 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed May 01, 2013 4:59 pm    Post subject: Reply with quote

I got it.
If you have reason, it is no problem.
Back to top
View user's profile
tuti
Brekeke Junior Member


Joined: 25 Jan 2012
Posts: 5
Location: lAGOS

PostPosted: Wed Apr 02, 2014 2:10 am    Post subject: Brekeke and Lync server Reply with quote

Hi,
I have similar issues in my hands.
I need the configuration to use on the Lync server please.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Wed Apr 02, 2014 10:34 am    Post subject: Reply with quote

tuti,

Are you using Brekeke PBX or Brekeke SIP Server?

Brekeke PBX + Lync
http://wiki.brekeke.com/wiki/Brekeke-PBX-and-Microsoft-Lync-or-OCS

Brekeke SIP Server + Lync
http://wiki.brekeke.com/wiki/Configure-Brekeke-SIP-Server-for-Lync-or-OCS
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1