06-25-2010 10:17 PM - edited 03-15-2019 11:25 PM
Hi,
I want yo make call to PSTN taking digital trunk of my central site when I dial from my remote site. I want to dial 3+7 digits then add the prefix 901984 to the 7 digits, after this send this digits to my central site. E1 in central site is working fine, and there is a VPN site to site already working.
REMOTE SITE
voice translation-rule 1
rule 1 /^3\(.......\)/ /901984\1/
!
!
voice translation-profile PLAYA_POR_OJO
translate called 1
dial-peer voice 1500 voip
description a salida por OJO desde Playa
translation-profile outgoing PLAYA_POR_OJO
destination-pattern 901984.......
session target ipv4:172.16.0.1 -----> CME of central site
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
CENTRAL SITE
dial-peer voice 901 pots
corlist outgoing LADA
description LD National
destination-pattern 901..........
direct-inward-dial
port 0/0/0:0
prefix 01
with this config I can not take trunk in central site , when I dial from remote site,,,,, I do not know why??
Solved! Go to Solution.
06-27-2010 05:23 AM
Your dial-peer config should look like this
dial-peer voice 1500 voip
description a salida por OJO desde Playa
translation-profile outgoing PLAYA_POR_OJO
destination-pattern 3....... !<---------
session target ipv4:172.16.0.1 -----> CME of central site
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
Since you are dialing 3+7 digit, it should match dial-peer first and then get translated on the way out.
Hope this helps.
thanks
- abu
06-26-2010 01:08 AM
Hi,
Try changing the translation-profile from outgoing to incoming on dial-peer voice 1500 voip.
PLZ Rate if you find this helpfull.
06-27-2010 05:23 AM
Your dial-peer config should look like this
dial-peer voice 1500 voip
description a salida por OJO desde Playa
translation-profile outgoing PLAYA_POR_OJO
destination-pattern 3....... !<---------
session target ipv4:172.16.0.1 -----> CME of central site
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
Since you are dialing 3+7 digit, it should match dial-peer first and then get translated on the way out.
Hope this helps.
thanks
- abu
06-27-2010 09:26 AM
Hi Abu,
I have already made the change suggested but still the call does not go through,
may be still something is letf
regards
06-28-2010 01:35 AM
can you collect
debug ip tcp transaction
debug h225 asn1
debug voip ccapi inout
thanks
- abu
06-28-2010 11:51 AM
Hi abu,
Finally I found the error, in addition to change the destination pattern as you told me , I had to change the prefix in central for the dial peer.
Thanks a lot for your time
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: