For global use num-exp.<br><br>
<div class="gmail_quote">On Tue, Apr 28, 2009 at 9:08 AM, Paul <span dir="ltr"><<a href="mailto:asobihoudai@yahoo.com">asobihoudai@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Per Cisco documentation. . .<br><br>Voice Translation Rules are applied to Voice Translation Profiles. These profiles are then applied to dial peers or voice ports. Profiles can be applied to VoIP or POTS dial peers or voice ports, and can be applied to inbound or outbound calls. A profile can translate Called, Calling, or Redirecting numbers.<br>
<br>Please see this URL for more information.<br><br><a href="http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml" target="_blank">http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml</a><br>
<br>If you need to apply it to all calls, then put it on your voice-port. It sounds like that's what you're going to have to do.<br><br><br><br>Again, get rid of this crap.<br>
<div class="im"><br>translation-rule 2<br> Rule 1 ^. 0 national national<br> Rule 2 ^. 00 international international<br>!<br>!<br>translation-rule 5<br> Rule 0 860 600<br><br></div>These commands are deprecated.<br>
<div class="im"><br><br><br>________________________________<br>From: Robin Clayton <<a href="mailto:Robin.Clayton@rrca.org.uk">Robin.Clayton@rrca.org.uk</a>><br>To: <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
</div>Sent: Tuesday, April 28, 2009 9:37:11 AM<br>Subject: Re: [cisco-voip] Difference between "voice translation-rule" and "translation-rule"<br>
<div>
<div></div>
<div class="h5"><br><br>Hmm<br><br>I wonder how it works now then for the 860 translation.<br><br>Does it actually change the number as I have no dial-peer that matches 600 ( 600 being the unity pilot )<br><br>Full Config..<br>
—-----------<br><br>Current configuration : 3887 bytes<br>!<br>version 12.4<br>service timestamps debug datetime msec<br>service timestamps log datetime msec<br>service password-encryption<br>!<br>hostname CARL-VG2811-1<br>
!<br>boot-start-marker<br>boot-end-marker<br>!<br>enable secret "it's quite secure realy"<br>!<br>no aaa new-model<br>!<br>resource policy<br>!<br>network-clock-participate wic 0<br>ip subnet-zero<br>!<br>!<br>
ip cef<br>!<br>!<br>isdn switch-type primary-net5<br>!<br>voice-card 0<br> no dspfarm<br>!<br>!<br>voice call send-alert<br>voice call convert-discpi-to-prog<br>voice call carrier capacity active<br>voice rtp send-recv<br>
!<br>voice service voip<br> allow-connections h323 to h323<br> allow-connections h323 to sip<br> allow-connections sip to h323<br> allow-connections sip to sip<br> h323<br>!<br>!<br>!<br>voice class codec 1<br> codec preference 1 g711ulaw<br>
codec preference 2 g729r8<br>!<br>!<br>!<br>voice class h323 1<br> h225 timeout tcp establish 3<br> h225 timeout setup 3<br>!<br>!<br>!<br>!<br>!<br>!<br>voice translation-rule 1<br> rule 1 /^8220/ /8/<br>!<br>!<br>voice translation-profile frompstn<br>
translate called 1<br>!<br>!<br>!<br>!<br>username "yes we have these too!"<br>!<br>!<br>controller E1 0/0/0<br> pri-group timeslots 1-16<br>!<br>translation-rule 2<br> Rule 1 ^. 0 national national<br> Rule 2 ^. 00 international international<br>
!<br>!<br>translation-rule 5<br> Rule 0 860 600<br>!<br>!<br>!<br>!<br>interface FastEthernet0/0<br> ip address xxx.xxx.xxx.254 255.255.255.0<br> duplex auto<br> speed auto<br> h323-gateway voip interface<br> h323-gateway voip bind srcaddr xxx.xxx.xxx.254<br>
!<br>interface FastEthernet0/1<br> no ip address<br> shutdown<br> duplex auto<br> speed auto<br>!<br>interface Serial0/0/0:15<br> no ip address<br> isdn switch-type primary-net5<br> isdn incoming-voice voice<br> no cdp enable<br>
!<br>ip default-gateway xx.xx.xx.1<br>ip classless<br>ip route 0.0.0.0 0.0.0.0 xx.xx.xx.1<br>!<br>!<br>ip http server<br>no ip http secure-server<br>!<br>!<br>!<br>!<br>control-plane<br>!<br>!<br>!<br>voice-port 0/0/0:15<br>
!<br>!<br>!<br>!<br>!<br>dial-peer voice 1 pots<br> translation-profile incoming frompstn<br> incoming called-number .<br> direct-inward-dial<br>!<br>dial-peer voice 2 pots<br> destination-pattern 999<br> progress_ind alert enable 8<br>
progress_ind progress enable 8<br> progress_ind connect enable 8<br> port 0/0/0:15<br> forward-digits all<br>!<br>dial-peer voice 3 pots<br> destination-pattern 9999<br> progress_ind alert enable 8<br> progress_ind progress enable 8<br>
progress_ind connect enable 8<br> port 0/0/0:15<br> forward-digits 3<br>!<br>dial-peer voice 4 pots<br> destination-pattern 112<br> progress_ind alert enable 8<br> progress_ind progress enable 8<br> progress_ind connect enable 8<br>
port 0/0/0:15<br> forward-digits all<br>!<br>dial-peer voice 6 pots<br> destination-pattern 9112<br> progress_ind alert enable 8<br> progress_ind progress enable 8<br> progress_ind connect enable 8<br> port 0/0/0:15<br> forward-digits 3<br>
!<br>dial-peer voice 10 voip<br> description INCOMING DDI RANGE 01228 822 060 --- 080<br> preference 2<br> destination-pattern 8..<br> progress_ind setup enable 3<br> voice-class codec 1<br> voice-class h323 1<br> session target ipv4:xx.xx.xx.11<br>
dtmf-relay h245-alphanumeric<br> ip qos dscp cs5 media<br> no vad<br>!<br>dial-peer voice 11 voip<br> description INCOMING DDI RANGE 01228 822 060 --- 080<br> preference 2<br> destination-pattern 8..<br> progress_ind setup enable 3<br>
voice-class codec 1<br> voice-class h323 1<br> session target ipv4:xx.xx.xx.10<br> dtmf-relay h245-alphanumeric<br> ip qos dscp cs5 media<br> no vad<br>!<br>dial-peer voice 15 voip<br> destination-pattern 860<br> progress_ind setup enable 3<br>
translate-outgoing called 5<br> voice-class codec 1<br> voice-class h323 1<br> session target ipv4:xx..xx.xx.10<br> dtmf-relay h245-alphanumeric<br> ip qos dscp cs5 media<br> no vad<br>!<br>dial-peer voice 16 voip<br> destination-pattern 860<br>
progress_ind setup enable 3<br> translate-outgoing called 5<br> voice-class codec 1<br> voice-class h323 1<br> session target ipv4:xx.xx.xx.11<br> dtmf-relay h245-alphanumeric<br> ip qos dscp cs5 media<br> no vad<br>!<br>
dial-peer voice 99 pots<br> description Dial Peer to PSTN<br> destination-pattern 9.T<br> progress_ind alert enable 8<br> progress_ind progress enable 8<br> progress_ind connect enable 8<br> port 0/0/0:15<br>!<br>!<br>!<br>
line con 0<br> login local<br>line aux 0<br>line vty 0 4<br> login local<br>!<br>scheduler allocate 20000 1000<br>!<br>end<br><br>—----------------------------------------<br><br>Rob<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br>Richard Rose Central Academy<br>Edgehill Road<br>Carlisle<br>Cumbria<br>CA1 3SL<br><br>Tel: 01228 822060<br>Fax: 01228 822061<br><br><a href="http://www.richardroseacademies.org/" target="_blank">http://www.richardroseacademies.org/</a><br>
<br>>>> Paul <<a href="mailto:asobihoudai@yahoo.com">asobihoudai@yahoo.com</a>> 28/04/2009 13:30 >>><br><br>translation-rule is a deprecated command. don't use it unless you want to go bald.<br>
<br>Just use<br><br>- voice translation-rule<br>- voice translation-profile<br><br>and then apply the profile where you need it<br><br><br><br><br>________________________________<br>From: Robin Clayton <<a href="mailto:Robin.Clayton@rrca.org.uk">Robin.Clayton@rrca.org.uk</a>><br>
To: <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>Sent: Tuesday, April 28, 2009 4:05:11 AM<br>Subject: [cisco-voip] Difference between "voice translation-rule" and "translation-rule"<br>
<br><br>Hi Everyone.<br><br>What's the difference between a<br><br>voice translation-rule<br><br>and<br><br>translation-rule<br><br>on the gateway?<br><br><br><br><br>I have the following<br><br><br>—--SNIP-----<br><br>
voice translation-rule 1<br>rule 1 /^8220/ /8/<br>!!<br>voice translation-profile frompstn<br>translate called 1<br>!<br>controller E1 0/0/0<br>pri-group timeslots 1-16<br>!<br>translation-rule 2<br>Rule 1 ^. 0 national national<br>
Rule 2 ^. 00 international international<br>!<br>!<br>translation-rule 5<br>Rule 0 860 600<br>!<br>!<br>translation-rule 6<br>Rule 0 875 850<br>!<br><br><br>---SNIP----<br><br><br><br>I have just added "translation-rule 6" but it seems to have no effect.<br>
Additionally I don't have a dial-peer for 600 ( does the dial peer take the pre-translated number 860? )<br><br>translation-rule 5 does 'SEEM' to work ok.<br><br>Rob<br><br><br><br><br>===============================<br>
Robin Clayton<br>Network Manager<br>Tel: 01228822075<br><br><br><br>Richard Rose Central Academy<br>Edgehill Road<br>Carlisle<br>Cumbria<br>CA1 3SL<br><br>Tel: 01228 822060<br>Fax: 01228 822061<br><br><a href="http://www.richardroseacademies.org/" target="_blank">http://www.richardroseacademies.org/</a><br>
<br><br><br><br></div></div>_______________________________________________<br>cisco-voip mailing list<br>
<div class="im"><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br></div>
<div>
<div></div>
<div class="h5"><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br></div></div></blockquote></div><br>