Author |
Message |
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 10:35 am Post subject: Connecting to Lync |
|
|
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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 01, 2013 11:25 am Post subject: |
|
|
Do you have "&net.sip.transport.follow.request = true" in the DialPlan rule? |
|
Back to top |
|
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 11:29 am Post subject: |
|
|
Yes |
|
Back to top |
|
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 11:41 am Post subject: |
|
|
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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 01, 2013 1:30 pm Post subject: |
|
|
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 |
|
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 1:59 pm Post subject: |
|
|
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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 01, 2013 2:08 pm Post subject: |
|
|
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 |
|
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 2:10 pm Post subject: |
|
|
That fixed the problem. Thank you! |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 01, 2013 2:12 pm Post subject: |
|
|
> 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 |
|
rich.fisk@minco.com Brekeke Junior Member
Joined: 30 Apr 2013 Posts: 6
Location: United States
|
Posted: Wed May 01, 2013 2:18 pm Post subject: |
|
|
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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed May 01, 2013 4:59 pm Post subject: |
|
|
I got it.
If you have reason, it is no problem. |
|
Back to top |
|
tuti Brekeke Junior Member
Joined: 25 Jan 2012 Posts: 5
Location: lAGOS
|
Posted: Wed Apr 02, 2014 2:10 am Post subject: Brekeke and Lync server |
|
|
Hi,
I have similar issues in my hands.
I need the configuration to use on the Lync server please. |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
|
Back to top |
|
|