cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3692
Views
0
Helpful
8
Replies

Integration with Microsoft Lync 2010

syedzulfeqar
Level 1
Level 1

Hi All,

Actually i am new to voice and i want to set up sip trunk with Microsoft Lync 2010 and the voice gateway is Cisco 3900e

Device Version

Cisco IOS Software, C3900e Software (C3900e-UNIVERSALK9-M), Version 15.1(4)M4, R

ELEASE SOFTWARE (fc1)

System image file is "flash0:c3900e-universalk9-mz.

SPA.151-4.M4.bin"

Successfully configured Lync part but i dont know how to configure Cisco voice gateway. Below is the running configuration which i did on the voice gateway.

Any Help will be Highly Appreciated

Thanks

SRC-voiceHQ#sh run

Building configuration...

Current configuration : 5319 bytes

!

! Last configuration change at 16:34:51 UTC Mon Nov 26 2012

! NVRAM config last updated at 15:23:32 UTC Mon Nov 26 2012

! NVRAM config last updated at 15:23:32 UTC Mon Nov 26 2012

version 15.1

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname SRC-voiceHQ

!

boot-start-marker

boot-end-marker

!

!

! card type command needed for slot/vwic-slot 0/0

logging buffered 4096

enable secret 4 WZEGVSUvkeB92o./zIf09VBNSskQ1XLwf3QMozZydN2

!

no aaa new-model

!

!

--More--                           no ipv6 cef

ip source-route

!

!

no ip cef

!

!

!

!

multilink bundle-name authenticated

!

!

!

!

!

crypto pki token default removal timeout 0

!

crypto pki trustpoint TP-self-signed-2088248118

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-2088248118

revocation-check none

rsakeypair TP-self-signed-2088248118

!

!

--More--                           crypto pki certificate chain TP-self-signed-2088248118

certificate self-signed 01

  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030

  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274

  69666963 6174652D 32303838 32343831 3138301E 170D3132 31313235 31363139

  32395A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649

  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 30383832

  34383131 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281

  8100D850 34DBC7D0 2FF1A18E A7528C0B 11DE175A B3C2F453 8D62F5E0 F8E8C0F0

  71BE054A C0585BCE 86A24BC4 5265F41D E21AFF78 0A785350 392A17C4 A540EBCE

  1D5E9FD1 D22E6B0C 14B68D2D 9860FD63 719005FC 40F41553 E834CC6D 9B907FD5

  6E1E6C59 D42F70AE 0C50F80B E7DB9CB9 9705E46D 0484EE09 22F4FD4C 4AB8A699

  399F0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603

  551D2304 18301680 14A4D9A4 E31E397E 51BEE253 A5CEB320 D02471D4 00301D06

  03551D0E 04160414 A4D9A4E3 1E397E51 BEE253A5 CEB320D0 2471D400 300D0609

  2A864886 F70D0101 05050003 81810097 266619BD F2FC7DA1 E099188E C30D3B57

  B8BAD961 702602FC 412729EA 5C5C1DE1 B2E1ECB8 AA2B77B2 C20FE7A0 C56B9BFB

  1C714937 AAF6126E EC9D0451 DB92C33C A7145D2E D4E9A6C7 29242600 17815A4A

  BDCB25DB 0F3B3F66 68E9B29F C2B9DF5D 3A8F48F3 4078CB8E AA1E75CC 40216E7D

  F767194A AB74767C 636BE6B4 820D5D

      quit

voice-card 0

dsp services dspfarm

!

--More--                           !

voice rtp send-recv

!

voice service voip

no supplementary-service sip refer

no supplementary-service sip handle-replaces

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

!

voice class codec 1

codec preference 1 g711alaw

codec preference 2 g711ulaw

!

voice class h323 1

  h225 timeout tcp establish 3

  call start slow

  call preserve

!

!

!

!

!

!

application

service autoatt flash:its-CISCO.2.0.1.0.tcl

--More--                             paramspace english language en

  paramspace english index 1

  param operator 1000

  paramspace english location flash:

  paramspace english prefix en

  param en 0

!

!

license udi pid C3900-SPE250/K9 sn FOC16090NFU

!

!

hw-module pvdm 0/0

!

hw-module pvdm 0/1

!

archive

log config

  hidekeys

username 23C2-8

!

redundancy

!

!

!

--More--                           !

!

!

!

!

!

!

!

interface GigabitEthernet0/0

description SIP-TRUNK

ip address 10.66.4.90 255.255.255.252

ip nat outside

ip virtual-reassembly in

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 10.101.1.51 255.255.255.0

ip nat inside

ip virtual-reassembly in

duplex auto

speed auto

!

interface GigabitEthernet0/2

--More--                            no ip address

shutdown

duplex auto

speed auto

!

interface GigabitEthernet0/3

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/1/0

no ip address

shutdown

clock rate 2000000

!

interface Serial0/1/1

no ip address

shutdown

clock rate 2000000

!

no ip forward-protocol nd

!

ip http server

--More--                           ip http secure-server

!

ip nat inside source list 110 interface GigabitEthernet0/0 overload

ip nat inside source static udp 10.1.20.183 5060 10.66.4.90 5060 extendable

ip route 0.0.0.0 0.0.0.0 10.101.1.53

ip route 10.1.0.0 255.255.255.0 10.101.1.53

ip route 10.1.20.0 255.255.255.0 10.101.1.53

ip route 10.200.7.156 255.255.255.252 10.66.4.89

ip route 10.200.7.157 255.255.255.255 10.66.4.89

ip route 192.168.0.0 255.255.255.0 10.101.1.53

!

access-list 110 permit ip 10.1.20.0 0.0.0.255 any

access-list 110 permit ip 192.168.0.0 0.0.0.255 any

access-list 110 permit ip any any

!

!

!

!

nls resp-timeout 1

cpd cr-id 1

!

!

control-plane

!

--More--                           !

!

!

mgcp profile default

!

sccp local GigabitEthernet0/0

!

dial-peer voice 1999 voip

tone ringback alert-no-PI

description TO Lync

destination-pattern 12507301

session protocol sipv2

session target ipv4:10.1.20.183:5060

session transport tcp

dtmf-relay rtp-nte

codec g711alaw

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

no vad

!

!

gateway

timer receive-rtp 1200

!

!

--More--                           !

gatekeeper

shutdown

!

!

!

line con 0

password hjkjj@kl

line aux 0

line vty 0 4

password ghjh@kl

--More--                            login

transport input all

!

scheduler allocate 20000 1000

end

Thanks

8 Replies 8

Ajay Singh
Level 1
Level 1

Are you using any CUCM or CME???which version is running in the system??

Ajay

Hi Ajay,

No CUCM and CME.

Using with only Lync 2010 and the cisco voice gateway configuration given above.

i want the configuration on cisco voice gateway...

it would be great if you can help me!

Thanks

Simply need to create the SIP Dial peers from the 3900 router to your pool server.  

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010ae1c.shtml   This actually goes through how Dial Peers work. 

Hi Guys,

 

Can you give a simple example on how i should configure the dial-peer from CME to Lync? It was working before, but now it's broken and i have tried a lot of combination with no luck. I need  simple dial peer config.

Should i worry for the incoming dial-peer too? I have an FXS port on the CME and need to do a VOIP to Lync. Lync to CME is working fine, but the opposite is not :(

Any advise?

This worked :)

 

dial-peer voice 301 voip

 destination-pattern 3..

 rtp payload-type comfort-noise 13

 session protocol sipv2

 session target ipv4:192.168.0.13

 session transport tcp

 dtmf-relay rtp-nte sip-notify sip-kpml

 codec g711ulaw

Well, i have not tested this solution but only available option is what is mentioned above in Tommer's post..You also need to create a SIP trunk from MS pointing towards this Voice gateway..appropriate Dial peers will be required.

I would recommnd, if you have CUCM available in the environment, create trunks between MS Lync and CUCM and let CUCM handle the call signalling and routing..that's a tested integration. you can check the interoperability page on cisco website. When you do integration of CUCM and MS OCS ?Lync, you also require Mediation server or CUCiMOC/CUCiLync client on user desktop.

HTH

Ajay

Hi,

so, i have the same environment. Lync 2013 and a cisco 1000V router on esxi with VRFs.

here is m config:

vrf definition Mgmt-intf

!

address-family ipv4

exit-address-family

!

address-family ipv6

exit-address-family

!

voice vrf Mgmt-intf

!

voice service voip

no ip address trusted authenticate

address-hiding

media disable-detailed-stats

allow-connections sip to sip

no supplementary-service sip moved-temporarily

no supplementary-service sip refer

sip

  bind control source-interface GigabitEthernet0

  bind media source-interface GigabitEthernet0

  listen-port non-secure  5066

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g711alaw

codec preference 3 g729r8

!

voice class codec 2

codec preference 1 ilbc

codec preference 2 g722-64

codec preference 3 g711alaw

codec preference 4 g711ulaw

!

interface GigabitEthernet0

vrf forwarding Mgmt-intf

ip address 172.16.1.164 255.255.255.0

negotiation auto

!

dial-peer voice 15 voip

tone ringback alert-no-PI

numbering-type unknown

preference 1

destination-pattern 4.

rtp payload-type comfort-noise 13

session protocol sipv2

session target ipv4:172.16.2.207:5068

session transport tcp

voice-class codec 2

dtmf-relay rtp-nte

!

dial-peer voice 17 voip

numbering-type unknown

preference 1

destination-pattern 7.

rtp payload-type comfort-noise 13

session protocol sipv2

session target ipv4:172.16.1.32:5060

session transport udp

voice-class codec 2

dtmf-relay rtp-nte

!

!

gateway

timer receive-rtp 1200

!

sip-ua

keepalive target ipv4:172.16.2.207:5068 tcp

!

172.16.1.32 - Asterisk with a extensions on it.

172.16.2.207 - Lync 2013 mediation server with other extension on it

i can call from Asterisk extension via router and to Lync extension.

i cannot call from Lync to Asterisk.

TCP session with the router from Lync on port 5066 does not come up. three way handshake seems to come up.

strange. lync person seems to configured everything correctly

any thoughts?

OK, so how i solved the problem:

between my lync and cisco router i had ASA firewall, and what i did, i have just moved them in same network. it solved.

i will check why asa does not allow sip via tcp.

it does inspection for sip via udp, as i knwo