cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
3
Replies

SIP Trunk from CME to Lync stopped working

ahmad halabi
Level 1
Level 1

Hi All,

 

please i need urgent help, earlier it was working and it stopped without any configuration changes.

 

not sure from where to start or from where the issue it coming. 

if i call from Lync to Cisco its working fine

if icall from cisco to lync ( it shows unknow number and stop immediately )

below is conf


CCME2921-OS-DXB#test voice translation-rule 5 6999
Matched with rule 1
Original number: 6999 Translated number: +97145670999
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none


CCME2921-OS-DXB#show conf

voice translation-rule 1
rule 1 /^1\(..\)/ /0442901\1/
!
voice translation-rule 2
rule 2 /^0/ /90/
rule 3 /^00/ /900/
!
voice translation-rule 3
rule 1 /^4290100$/ /251/
rule 2 /^42901/ /1/
!
voice translation-rule 5
rule 1 /^6\(9..\)/ /+97145670\1/
rule 2 /\(5...\)/ /+\1/
rule 3 /\(7...\)/ /+\1/
!
voice translation-rule 6
rule 1 /\(.*\)/ /100/
!
!
voice translation-profile DID
translate calling 1
!
voice translation-profile add9
translate calling 2
translate called 3
!
voice translation-profile iqsim
translate called 6
!
voice translation-profile lync
translate called 5
!
!
!

sccp local GigabitEthernet0/0
!
dial-peer voice 2 pots
translation-profile outgoing DID
destination-pattern 905........
port 0/1/0:15
prefix 05
!
dial-peer voice 3 pots
translation-profile outgoing DID
destination-pattern 90[2346789].......
port 0/1/0:15
prefix 0
!
dial-peer voice 4 pots
translation-profile outgoing DID
destination-pattern 900T
port 0/1/0:15
prefix 00
!
dial-peer voice 5 pots
translation-profile outgoing DID
destination-pattern 9[23459]......
port 0/1/0:15
!
dial-peer voice 6 pots
translation-profile outgoing DID
destination-pattern 9[19]..
port 0/1/0:15
!
dial-peer voice 7 pots
translation-profile outgoing DID
destination-pattern 9[678]T
port 0/1/0:15
!
dial-peer voice 200 voip
destination-pattern 2..
session protocol sipv2
session target ipv4:192.168.2.5
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 1 pots
translation-profile incoming add9
incoming called-number .
direct-inward-dial
port 0/1/0:15
!
dial-peer voice 33 voip
description **Incoming call from lYnc**
session protocol sipv2
session target ipv4:172.16.75.16:5068
incoming called-number 1..
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 10 voip
translation-profile outgoing lync
destination-pattern [5-8]...
session protocol sipv2
session target ipv4:172.16.75.16:5068
session transport tcp
dtmf-relay sip-notify rtp-nte
codec g711ulaw
no vad
!

3 Replies 3

Hello,

hard to say what is going on. Can you post the output of:

debug voice translation

debug sccp message

Hi Georg,

 

first thanks for replying.

I'm not sure how to start collecting the logs after i enable the debug cmd if you can guide me, im not very expert.

 

i enabled the 2 debug cmd u gave me , and i tried to call from the cisco phone but there is no logs coming and i tried to pushed csim start i got only this.

 

CCME2921-OS-DXB#debug voice translation
VoIP Translation Rule debugging is enabled
CCME2921-OS-DXB#debug sccp messages
Skinny Client Control Protocol messages debugging is on
CCME2921-OS-DXB#csim start 6999
csim: called number = 6999, loop count = 1 ping count = 0

csim err csimDisconnected recvd DISC cid(333431)
csim: loop = 1, failed = 1
csim: call attempted = 1, setup failed = 1, tone failed = 0

 

ahmad halabi
Level 1
Level 1

do you think its a problem with the pattern ?

my example if i call 6999 , it should explain it as +97145670999

CCME2921-OS-DXB#show dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE
2 pots up up 05 905........ 0 up 0/1/0:15
3 pots up up 0 90[2346789].....- 0 up 0/1/0:15
..
4 pots up up 00 900T 0 up 0/1/0:15
5 pots up up 9[23459]...... 0 up 0/1/0:15
6 pots up up 9[19].. 0 up 0/1/0:15
7 pots up up 9[678]T 0 up 0/1/0:15
200 voip up up 2.. 0 syst ipv4:192.168.2.5
1 pots up up 0 down 0/1/0:15
33 voip up up 0 syst ipv4:172.16.75.16:50
10 voip up up [5-8]... 0 syst ipv4:172.16.75.16:50
34 voip up up 0 syst ipv4:10.5.50.103
20001 pots up up 100$ 0 50/0/1