cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
322
Views
4
Helpful
5
Replies

fixed dial plan

ereyes
Level 1
Level 1

I need use a translation-rule for this.

Dialed 080034512125 , now need send only 08003451212

How can take this for strip the more digit?

Dial-peer voice xxx voip

destination-pattern 0800.......

!

when aply csim with 080034512125 this pass to voip all digit , I need that the only 08003451212 pass

5 Replies 5

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

Try adding

forward-digits 11

to the dial-peer.. if not you'll need to set up a translation pattern... post back and I can show you how.

Regards

Aaron

Please rate helpful posts..

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

This is a VOIP dial-peer and not permit put this command "forward-digits 11".

How can config translation rule for aply this?

Hi

Oh yes... Something like this then:

voice translation-rule 1

rule 1 /^080034512125$/ /08003451212/

voice translation-profile Translate-Called

translate called 1

dial-peer xxx voip

translation-profile outgoing Translate-Called

Regards

Aaron

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Thanks , but no only calls to this number , I need use a translation for 0800xxxxxxx

Now call to 0800xxxxxxx plus a x ( 080022212125) need send 08002221212

How can implement this?

OK - this one should strip the 5 off the end of any number pushed through it... is that what you mean?

voice translation-rule 1

rule 1 /\(.*\)5/ /\1/

Regards

Aaron

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!