Call to PSTN taking trunks on central site

Answered Question
Jun 25th, 2010
User Badges:

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

Correct Answer by Abu Hadee about 6 years 10 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Keith Fulcher Sat, 06/26/2010 - 01:08
User Badges:

Hi,


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



PLZ Rate if you find this helpfull.

Correct Answer
Abu Hadee Sun, 06/27/2010 - 05:23
User Badges:
  • Silver, 250 points or more

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

filiberto.aguirre Sun, 06/27/2010 - 09:26
User Badges:

Hi Abu,


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

may be still something is letf



regards

Abu Hadee Mon, 06/28/2010 - 01:35
User Badges:
  • Silver, 250 points or more

can you collect


debug ip tcp transaction

debug h225 asn1

debug voip ccapi inout


thanks

- abu

filiberto.aguirre Mon, 06/28/2010 - 11:51
User Badges:

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

Actions

This Discussion