09-21-2006 05:35 AM - edited 03-13-2019 03:04 PM
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
09-21-2006 05:53 AM
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..
09-21-2006 06:06 AM
This is a VOIP dial-peer and not permit put this command "forward-digits 11".
How can config translation rule for aply this?
09-21-2006 06:16 AM
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...
09-21-2006 06:46 AM
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?
09-21-2006 07:21 AM
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide