Hi all,<br><br>I was studying Cisco Voice over IP (CVOICE) -Kevin Wallace 2009- and didn't understand this example, so I'm confused. Probably a newbee issue:)<br><br>Router(config)#dial-peer voice 90 pots<br>Router(config-dial-peer)#destination-pattern 9T<br>
Router(config-dial-peer)#port 0/0/0:23<br>Router(config-dial-peer)#exit<br>Router(config)#dial-peer voice 90110 pots<br>Router(config-dial-peer)#destination-pattern 9011T<br>Router(config-dial-peer)#port 0/0/1:23<br><br>And the explanation:<br>
<br>The following steps describe what occurs during the call in this example.<br>1. A user wants to call the international number 90114989123456 and starts to dial.<br>2. Because the first digit received is a 9, the gateway performs dial-peer matching.<br>
<span style="color: rgb(255, 0, 0);">3. Dial-peer 90 is matched, and any further digits are collected by the control character</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">T that indicates the destination-pattern value is a variable-length dial string.</span> <span style="color: rgb(51, 51, 255);">(WHY? why doesnt longest prefix match?)</span><br>
4. The user finishes dialing, and the call is routed using dial-peer 90. Dial-peer 90110<br>will never be considered.<br><br><br>For en bloc signaling, the DNIS is used, so the process is as follows:<br>1. A user wants to call the international number 90114989123456 and starts to dial.<br>
2. Because en bloc signaling is enabled, the gateway continues to collect digits until the<br>interdigit timeout value is exceeded.<br>3. The user finishes dialing, and the call is routed using dial-peer 90110.<br><br>Thanks for the help<br>