01-05-2016 04:35 AM - edited 03-17-2019 05:24 AM
Dears,
In our network we are facing problem, can not receive any incomming international call what I do.
can any tell me about translation rule for incomming dial peer like 13 digit to 4 digit
Solved! Go to Solution.
01-05-2016 10:49 PM
Only configuration won't help us till we don't know whether call is hitting router or not. Please also share the output of 'debug voice ccapi inout' and 'debug ccsip messages'.
- Vivek
01-05-2016 04:41 AM
Jawad,
what is the call-flow topology? please share show run and debugs if you have collected any?
Br,
Nadeem Ahmed
PS: Please rate all useful post.
01-05-2016 10:43 PM
asalamoalaikom
Brother,
here's a configuration,
tanslation rules dial peers.
voice translation-rule 1
rule 1 /^7\(...\)/ /2997\1/
rule 2 /^58\(..\)/ /40858\1/
!
voice translation-rule 2
rule 1 /^011\(......\)/ /\1/
!
!
voice translation-profile outgoing
translate calling 1
translate called 2
!
!
dial-peer voice 5000 voip
destination-pattern 5000
session protocol sipv2
session target ipv4:192.168.125.2
dtmf-relay sip-notify rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 10 voip
session protocol sipv2
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 11 voip
destination-pattern 73..
session protocol sipv2
session target ipv4:192.168.125.1
!
dial-peer voice 102 voip
corlist outgoing Mobile-Calls
translation-profile outgoing outgoing
destination-pattern 05........
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 101 voip
corlist outgoing Local-Calls
translation-profile outgoing outgoing
destination-pattern 011.......
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 103 voip
corlist outgoing Local-Calls
translation-profile outgoing outgoing
destination-pattern 9[90].
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 104 voip
corlist outgoing Nationl-Calls
translation-profile outgoing outgoing
destination-pattern 9200.....
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 105 voip
corlist outgoing Nationl-Calls
translation-profile outgoing outgoing
destination-pattern 01[234,6-7].......
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 106 voip
corlist outgoing Local-Calls
translation-profile outgoing outgoing
destination-pattern 800.......
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 107 voip
corlist outgoing Mobile-Calls
translation-profile outgoing outgoing
destination-pattern 00T
session protocol sipv2
session target ipv4:10.200.7.157
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 108 voip
corlist outgoing Local-Calls
destination-pattern 83..
session target ipv4:192.168.141.1
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 109 voip
corlist outgoing Local-Calls
destination-pattern 58[5-9].
session target ipv4:192.168.141.1
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 110 voip
corlist outgoing Local-Calls
destination-pattern 86..
session target ipv4:192.168.151.1
dtmf-relay rtp-nte
codec g711alaw
01-05-2016 10:49 PM
Only configuration won't help us till we don't know whether call is hitting router or not. Please also share the output of 'debug voice ccapi inout' and 'debug ccsip messages'.
- Vivek
01-05-2016 04:43 AM
Hi,
Please provide more information about your setup.
Your connection to Telco is PRI or SIP trunk?
If it is PRI, check with debug isdn q931 and see if that call is hitting your router or not. In case of SIP, check the same with debug ccsip messages and share the result.
Once I am having more information about your setup and call flow, can help you with translation rule as well.
- Vivek
01-05-2016 05:08 AM
we are using sip trunk.
01-05-2016 05:10 AM
Check using 'debug ccsip messages' and see call is hitting router or not. If it is hitting the router, share the logs else you need to check with your service provider.
- Vivek
01-05-2016 05:19 AM
ok thank you,
Once I get a logs will share here.
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