From: Taimoor (taimoor@cisco.com)
Date: Thu Mar 20 2003 - 20:44:39 GMT-3
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
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:42 GMT-3