cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
776
Views
0
Helpful
8
Replies

*****************Translate specific incoming calls***************

CrazyDonJuan
Level 1
Level 1

Hi Pros,

I am about to apply the config below into one of our remotes router. Before I do so, I need a second opinion as I new in VOIP.

There is the config, I wrote it myself. More info coming after...

voice translation-rule 7000

rule 1 /60475906/ /40345099/

rule 2 /60475907/ /40345099/

rule 3 /60475999/ /40345099/

!

voice translation-profile sendToPaidServer

translate called 7000

!

dial-peer voice 400 voip

description send calls to prepaid router

huntstop

translate called sendToPaidServer

preference 5

destination-pattern 40345099$

session target ipv4:10.x.x.x

dtmf-relay cisco-rtp

fax rate 7200

ip qos dscp cs5 media

no vad

!

This is what I want this config to acomplish.

I have a dozen remotes that used to dial the three 604 numbers in the config to connect to a prepaid server at the HQ. Last winter,we had issues with the 604 numbers at the HQ,so we changed them for 403,but remote is still not aware about the change. And remotes can only dial local 604 number,all other number are rejected!!

Now I want remote to continue to dial the same 604 numbers as they used(seamless changed).

Hope that I have enough info and I am precized.

Thanks in advance,

Crazy

8 Replies 8

CrazyDonJuan
Level 1
Level 1

Any thoughts Pros? Come on.

Applied config,but it does not work as I expected. What may be wrong the config? Please help.

Crazy

Hi,

I think you can change two things in your dial peer.

dial-peer voice 400 voip

translation-profile outgoing sendToPaidServer

destination-pattern 60475...

Check if it works.

Regards,

- Adrián.

Hi Adrian,

My prepaid router does not have any dial-peer for 604 number.The destination cannot be 604,this router going to drop the call.

I made the translation because I want to send the call to this router as 403.

AS of the first mistake, I catched that before I applied the config!

Thanks,

Crazy

CrazyDonJuan
Level 1
Level 1

config still not working even after modification.There is the current config:

voice translation-rule 7000

rule 1 /6047590699/ /4034509938/

rule 2 /6047590700/ /4034509937/

rule 3 /6047590698/ /4034509934/

!

voice translation-profile sendToPaidServer

translate called 7000

!

dial-peer voice 800 voip

description send calls to prepaid router

translation-profile outgoing sendToPaidServer

huntstop

preference 2

destination-pattern 403450993[478]$

session target ipv4:10.x.x.x(router with T1 card connected to prepaid server)

dtmf-relay cisco-rtp

fax rate 7200

ip qos dscp cs5 media

no vad

!

Contact at remote said,that nothing happend after typing one of the 604 numbers translated above.

maybe dial peer 800 does not match the pre translated number you are appying the translation on the dial peer that matches the number after translation, it the numbers are coming in on a e1 or t1 put the rule under the voice port.

hope this helps

Hi,

Check which dial peers are matched when you're calling 604 numbers.

debug voip ccapi inout or show call active voice brief.

Regards.

jgreenberg
Level 1
Level 1

OK Crazy,

I got a crazy solution for you. I haven't tested it, but it might work...

voice translation-rule 7000

rule 1 /60475906/ /40345099/

rule 2 /60475907/ /40345099/

rule 3 /60475999/ /40345099/

voice service voip

allow-connections h323 to h323

int lo0

192.168.1.1 255.255.255.255

dial-peer voice 400 voip

description translate called number and send to loopback of VGW

translate called sendToPaidServer

destination-pattern 60447590[6-9]

session target ipv4:192.168.1.1

dtmf-relay cisco-rtp

fax rate 7200

ip qos dscp cs5 media

no vad

dial-peer voice 401 voip

destination-pattern 40345099

session target ipv4:10.x.x.x

dtmf-relay cisco-rtp

fax rate 7200

ip qos dscp cs5 media

no vad

To follow the logic:

1. The user dials the 604 number

2. The VGW sends the call to the loopback of the VGW with the translated called number.

3. The router sees the call come in with the translated called number and sends it on it's way to the HQ site.

HTH,

Jon