Well, let me tell u.<br><br>Matching occurs digit by digit unless en-bloc is not been configured.<br><br>The number is "90114989123456"<br><br>When it is press to 9, none of the dial peers are matched.<br><br>After 0 is pressed dial-peer 90 is matched beacuse of T parameter which collects all digits. However, dial-peer 90110 still does not match.<br>
<br>If dial-peer 90 does not exist, dial-peer 90110 matches "after all the 9011 digits are pressed, and another digit is pressed".<br><br><br>On the other hand, if en-bloc is enabled, all digits are sent at the same time. So 9T and 9011T are being processed at the same time. Because being a longer prefix, dial-peer 90110 matches.<br>
<br>Hope it is clear.<br><br>Regards,<br><i><b><br style="color: rgb(51, 0, 153);" clear="all"><span style="color: rgb(51, 0, 153);">-</span><br style="color: rgb(51, 0, 153);"><span style="color: rgb(51, 0, 153);">Dew Swen</span></b></i><br>
<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 12:44 PM, Mehmet Turunc <span dir="ltr"><<a href="mailto:turunc.mehmet@gmail.com">turunc.mehmet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br>