Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SIP Trunk -- Cisco 29XX -- MS Lync

Hi All,


I was wondering if I could have some assistance with a setup that seems to be causing a whole lot of pain. Looking at messages in Debug (CCSIP Messages) It appears inbound calls come in from our ITSP but the Cisco is then trying to route them back to them NOT the MS Lync.

Outbound calls work

Incoming do not

     

The voice config is attached.

voice-card 0

dspfarm

dsp services dspfarm

!

!

!

voice service voip

address-hiding

mode border-element

allow-connections sip to sip

no supplementary-service sip moved-temporarily

no supplementary-service sip refer

redirect ip2ip

signaling forward unconditional

fax protocol pass-through g711alaw

sip

  bind control source-interface GigabitEthernet0/0

  bind media source-interface GigabitEthernet0/0

  session transport tcp

  header-passing

  error-passthru

   outbound-proxy dns:sip.provider.co.uk

  early-offer forced

  midcall-signaling passthru

!

voice class codec 711

codec preference 1 g711alaw

codec preference 2 g729r8

codec preference 3 g711ulaw

!

voice class sip-profiles 1

request ANY sip-header Cisco-Guid remove

response ANY sip-header Cisco-Guid remove

request ANY sip-header Remote-Party-ID modify "@.*>" "@sip.provider.co.uk>"

response ANY sip-header Remote-Party-ID modify "@.*>" "@sip.provider.co.uk>"

request INVITE sip-header Referred-By remove

!

!

!

voice translation-rule 1

rule 1 /0/ /44/

rule 2 /^0/ /44/

!

!

voice translation-profile Correct_Outwards

translate calling 1

!

!

!

!
dial-peer voice 100 voip
description TO SP
translation-profile outgoing Correct_Outwards
huntstop
preference 2
max-conn 5
destination-pattern .T
progress_ind setup enable 3
session protocol sipv2
session target sip-server
voice-class codec 711
dtmf-relay rtp-nte
dtmf-interworking rtp-nte
no vad
!
dial-peer voice 200 voip
description TO LYNC
preference 1
destination-pattern 441234567890
session protocol sipv2
session target ipv4:10.112.40.198:5068
incoming called-number .
voice-class sip dtmf-relay force rtp-nte
no voice-class sip outbound-proxy
dtmf-relay sip-notify
codec g711alaw
no vad
!
!
gateway
timer receive-rtp 1200
!
sip-ua
credentials username uuuuuuu password pppppp realm test.org

authentication username uuuuuuu password pppppp realm test.org
no remote-party-id
set pstn-cause 47 sip-status 486
retry invite 2
retry response 3
retry bye 3
retry prack 6
timers expires 300000
registrar dns:sipprovider.co.uk expires 3600
sip-server dns:sipprovider.co.uk connection-reuse
host-registrar
!

What appears to be wrong.

7 REPLIES
Hall of Fame Super Gold

SIP Trunk -- Cisco 29XX -- MS Lync

No debug messages are posted, however mormally that happens when you have a wrong dial-peer configuration.

Hall of Fame Super Silver

SIP Trunk -- Cisco 29XX -- MS Lync

No attachment.

Chris

New Member

Re: SIP Trunk -- Cisco 29XX -- MS Lync

                 Debug is now attached. Sorry

Hall of Fame Super Silver

Re: SIP Trunk -- Cisco 29XX -- MS Lync

You are calling 441733311111, yet your dial peer to Lync has different specific destination pattern, so not sure how you expect it to go where you want. Since your 100 dial-peer catches all ".T" it will attempt to go out that way. Use "debug voice dialpeer" to see if proper dial-peer is matched for your testing.

Chris

New Member

Re: SIP Trunk -- Cisco 29XX -- MS Lync

Apologies, I tried to null the config a little. The destination is the same as the number I am calling.

Hall of Fame Super Silver

Re: SIP Trunk -- Cisco 29XX -- MS Lync

The call is attempting to go to 10.112.40.240 where it fails, what is that IP? Can you post "debug voice dialpeer"?

Chris

New Member

Re: SIP Trunk -- Cisco 29XX -- MS Lync

Try adding the sip bind control to the inbound dial-peer.

!

dial-peer voice xxx voip

voice-class sip bind control source-interface GigabitEthernet0/0

voice-class sip bind media source-interface GigabitEthernet0/0

!

557
Views
0
Helpful
7
Replies
CreatePlease login to create content