cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
393
Views
0
Helpful
5
Replies

Call to PSTN taking trunks on central site

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??

1 Accepted Solution

Accepted Solutions

Abu Hadee
Level 3
Level 3

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

View solution in original post

5 Replies 5

Keith Fulcher
Level 1
Level 1

Hi,

Try changing the translation-profile from outgoing to incoming on dial-peer voice 1500 voip.

PLZ Rate if you find this helpfull.

Abu Hadee
Level 3
Level 3

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

Hi Abu,

I have already made the change suggested but still the call does not go through,

may be still something is letf

regards

can you collect

debug ip tcp transaction

debug h225 asn1

debug voip ccapi inout

thanks

- abu

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

Getting Started

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: