04-24-2013 05:48 AM - edited 03-21-2019 07:16 AM
Hello,
I'm trying to integrate my UC540 with Microsoft Lync 2013 with the UC540 as the media gateway. So far I can call UC540 extensions from the Lync clients and make external calls through the UC540.
However I can't make any calls from UC extensions to Lync clients. I've included what I believe are the relevant portions of the configuration. Lync extensions are 52xx and UC extensions are 2xx.
When I try to dial the Lync Extension from the UC phone I get busy tone.
Any assistance with this would be greatly appreciated.
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol none
no fax-relay sg3-to-g3
sip
registrar server expires max 3600 min 3600
localhost dns:sip.skype.com
no update-callerid
sip-profiles 1000
!
!
voice translation-rule 4000
rule 1 /\(52..\)/ /+\1/
!
!
dial-peer voice 500 voip
description ** SIP Trunk to Lync Core **
translation-profile outgoing LYNC_ADD_PLUS
destination-pattern 52..
notify redirect ip2pots
session protocol sipv2
session target ipv4:192.168.254.24:5060
session transport tcp
dtmf-relay rtp-nte
codec g711ulaw
fax rate disable
fax protocol pass-through g711ulaw
no vad
!
!
translation-profile outgoing LYNC_ADD_PLUS
destination-pattern 52..
notify redirect ip2pots
session protocol sipv2
session target ipv4:192.168.254.24:5060
session transport tcp
dtmf-relay rtp-nte
codec g711ulaw
fax rate disable
fax protocol pass-through g711ulaw
no vad
04-25-2013 10:05 AM
Hi,
Do you have a "voice translation-profile LYNC_ADD_PLUS" ?
Have you configured the TCP Port 5060 on Mediation Server with TopologieBuilder?
Do you see an entry like "0.0.0.0:5060" when you execute "netstat -an" on Mediation Server CLI?
The Lync User has as telephone-URI like "tel:+52XX" ? (include "+")
I configured a connection to Lync as follows:
dial-peer voice 100 voip
destination-pattern 1..
session protocol sipv2
session target ipv4:192.168.100.254:5068
session transport tcp
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
My Lync Users telephone-URI is for example "TEL:120" (without "+")
best regards
Matthias
04-25-2013 08:57 PM
Hi Mattias,
Thanks for your reply. It's very appreciated.
I actually got the problem resolved. I used "debug ccsip messages" and found out that the system was sending SIP invite messages using sip.skype.com - apparently from a previous Skype sip trunk configuration using CCA that I had done quite some time ago.
I removed the Skype configuration and it still wasn't working. The invites to the Lync Mediation were now going using the data IP which is not what the Lyn server was expecting. This command solved my issue:
*************
sip-ua
registrar dns:hostname_of_sip_registrar.com expires 3600
I have a DNS entry in my servers that points to the default SIP registrar IP (10.1.1.1). The command also has an option to use the IP directly but I configured Lync to look for the hostname as it's more flexible.
Many thanks again for your interest and support.
Regards,
Tarquin.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide