RE: IP voice translation rule

From: love cisco (love_cisco@hotmail.com)
Date: Thu Mar 20 2003 - 22:51:45 GMT-3


Thank you very much! Taimoor.
So, is there a solution that using phone A can call phone B with dial
number 1 or 1002 and using phone A call phone C with dial number 1003?

>From: "Taimoor" <taimoor@cisco.com>
>Reply-To: <taimoor@cisco.com>
>To: "'love cisco'" <love_cisco@hotmail.com>, <ccielab@groupstudy.com>
>Subject: RE: IP voice translation rule
>Date: Thu, 20 Mar 2003 15:44:39 -0800
>
>First of all... Translation rule 1 will change :
>
>1003 to 1002003
>
>You can verify this with test translation command :
>
>Digit analysis happens after every digit in order to match the
>dial-peer, it reduces the possibilities on each digit match and until it
>has only one match it keeps collecting digits. Once it has reduced the
>possible matched to one match, it sees if it requires any MORE digits,
>(i.e number of dots remaining for wildcard or a T, for indefinitee
>digits until timeout). It then uses that dial peer to place the call.
>Hope that answers your question....
>
>P.S I love Cisco too...:)
>
>Regards,
>
>------------------------------------------------------------------------
>--------
> :|: :|: Taimoor Husain
> :| | |: :| | |: CCIE # 9315
> .:| | | | | | |:. .:| | | | | | |:. IP Telephony
>Specialist
> _______________________ taimoor@cisco.com
> C I S C O S Y S T E M S Phone: (408) 527-2572
> -------------------------------------------------------------------
>
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>love cisco
>Sent: Thursday, March 20, 2003 12:54 PM
>To: ccielab@groupstudy.com
>Subject: IP voice translation rule
>
>
>How does the router distinguish you just pressed 1 digits number or 4
>digits number?
>For example, if I use my following config, I want use phone A dial phone
>C,
>so I input 4 digits number of phone C (1003). Because the first number
>of
>phone C is 1 and there is a translation rule under phone A voice-port (1
>=>
>1002). Is that phone A will dial phone B instead of phone C? How does
>the
>router know you just pressed 1 or 1003?
>
>hostname R4-voice
>!
>translation-rule 1
>Rule 1 ^1 1002
>!
>translation-rule 2
>Rule 1 ^2 2001
>!
>interface Loopback0
>ip address 100.100.100.1 255.255.255.0
>!
>voice-port 1/1
>translate called 1
>description Phone A with phone#2001
>!
>voice-port 1/2
>translate called 2
>description Phone B with phone#1002
>!
>voice-port 1/3
>description Phone C with phone#1003
>!
>dial-peer voice 10 pots
>destination-pattern 2001
>port 1/1
>!
>dial-peer voice 20 pots
>destination-pattern 1002
>port 1/2
>!
>dial-peer voice 30 pots
>destination-pattern 1003
>port 1/3
>!
>dial-peer voice 100 voip
>destination-pattern 2001
>session target ipv4:100.100.100.1
>!
>dial-peer voice 200 voip
>destination-pattern 1002
>session target ipv4:100.100.100.1
>!
>dial-peer voice 300 voip
>destination-pattern 1003
>session target ipv4:100.100.100.1
>
>
>_________________________________________________________________
>SkA*;z5DEsSQ=xPP=;Aw#,GkJ9SC MSN Messenger: http://messenger.msn.com/cn
>
>



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:43 GMT-3