Forums Read-only archive

Brekeke interop. with Lync 2010

15 posts · Brekeke SIP Server Forum

anodin Original post
1. Brekeke Product Name and version:
Brekeke SIP Server , Version 3.0.6.3 Evaluation

2. Java version:
1.7.0

3. OS type and the version:
Windows Server 2008 Standard Edition

4. UA (phone), gateway or other hardware/software involved:
Lync 2010

5. Network pattern:
1

6. Your problem:
Hi! I'm testing interoperability between Brekeke SIP Server & Lync 2010.
Here's the testing infrastructure :

http://i49.tinypic.com/acdbmb.png

For now, some TCP packets make their way from Brekeke to Lync but calls are declined and I can' t log correctly for debugging.

So I'd have two questions :

1/ Since the Mediation server is integrated with Lync 2010 (not a full-fledged server with its own IP address since it's now possible with 2010 version of Lync - from what I've understood) would this dialplan be ok ?

http://i48.tinypic.com/s320m0.png

2/ As the Mediation server is the part I'm really not sure of, could someone indicate a nice tutorial for this part ? I've tried a few of them but, really not sure of what I'm doing.
voipwell.com
Not sure why you have $continue=true in both statements. Continue true
means to execute that dial plan and continue trying to match another dial plan for that call leg. If that's what you intend then that's ok.
lakeview
You said "calls are declined".
Do you know which SIP response code did the Mediation server return?


For debugging, refer to the wiki below.
http://wiki.brekeke.com/wiki/log-SIP-packets
anodin
Thanks for both answers.

For "$continue=true" rule, well I'm not sure, I've followed instructions from : http://wiki.brekeke.com/wiki/Configure- ... er-for-OCS

I've implemented the rule for logs, I'll try to log that decline as soon as I can.
lakeview
A debugging log will help you but if it is hard to configure, try Wireshark.

Depending on response packet which the Mediation server sends, you may need to tune the Lync.
anodin
For now, I got nothing in the log, I'm still trying to configure it.

What I got with Wireshark is an incorrect header checksum :

http://postimage.org/image/d9mlkq7np/

(192.168.0.141 : Lync 2010 / 192.168.0.130 : Brekeke SIP Server)

Here's the full exchange :

http://postimage.org/image/b7munj3yh/

(192.168.0.122 : XP with a registered SIP client on Brekeke using Ekiga)

They talk about that problem on other boards, they're taliking about firmware.

I'm gonna try with another softphone to see if I got something different.
anodin
Actually the INVITE is not even re-routed, it could be a matter of port, I'm trying to edit the dialplan.
anodin
I've changed the port by changing the dialplan :

To = sip:+%1@192.168.0.141:5050

Now the INVITE is sent to Lync, the error I get is :

486 Status : 400 Missing correct Via header
anodin
I've followed that from Cisco's board and adapted it :
1) Have you enabled TCP connections on Lync? If not, do this first:
Set-CsRegistrar "registrar:pool.your-domain.com" -SipServerTcpPort 5060
set-CsMediaConfiguration -EncryptionLevel supportencryption

2) Make sure that IP of VCS (not FQDN) is used in trusted application and route to VCS in Lync, and TCP mode is used:
New-CsTrustedApplication -ApplicationID CiscoVCS -TrustedApplicationPoolFqdn <VCS IP> -Port 5060 -EnableTCP
$route = New-CsStaticRoute -TCPRoute -destination "<VCS IP>" -port 5060 -matchuri "vcs.sip.domain.com"

3) Open Topology Builder, go to Trusted Application Servers - <VCS IP>, then change the radio button from "Use all configured IP addresses" to "Limit service usage to selected IP addresses" and type you VCS IP.

4) Publish topology and check for "Missing Correct Via Header" error again.
And now I'm stuck with :

667 Status: 504 Server time-out :

ms-diagnostics: 1022;reason="Cannot process routing destination";Destination="sip:401@192.168.0.141:5050";source="LyncServer.lync.fr"
janP
> 486 Status : 400 Missing correct Via header

Can you paste the INVITE packet here which sent from Brekeke SIP Server to Lync?

Does its Via header indicate the Brekeke SIP Server's IP address?
anodin
Here's the INVITE packet :

http://txtup.co/Eochf

Yes its Via header indicates the Brekeke IP's address, even two times, UDP & TCP.

Anyway, I think the problem is on the Lync side where I'm really not sure what to do between put a PSTN or Trusted Pool or both. I keep on trying
ambrosio
I looked at your packets.
Are you using X-Lite and Brekeke SIP Server on same machine?


Try the B2B UA mode at Brekeke SIP Server.
http://wiki.brekeke.com/wiki/Back-To-Ba ... Agent-Mode
anodin
Oh nice, thanks very much for the help.

Well now I get a :

882 Status : 401 Unauthorized

Seems to be an authentication problem.

I don't think that Brekeke could auhtenticate via Kerberos or TLS-DSK (Lync only protocol ?) but maybe there's a chance with NTLM

However, here's a full packet :

http://txtup.co/l8WqZ
ambrosio
Have you read Lync's document?
You will find a clue there.


For 401, it means you need a valid username and password at Lync.
Contact a system administrator in your organization.
ambrosio
Let you use http://pcapr.net/ if you post packets :)