<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.6000.16890" name="GENERATOR">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">change the disconnect cause to user busy.</font></div>
<div id="divRpF339801" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> cisco-voip-bounces@puck.nether.net [cisco-voip-bounces@puck.nether.net] On Behalf Of Jonathan Charles [jonvoip@gmail.com]<br>
<b>Sent:</b> Thursday, March 04, 2010 10:49 PM<br>
<b>To:</b> Mathew Miller<br>
<b>Cc:</b> cisco-voip@puck.nether.net<br>
<b>Subject:</b> Re: [cisco-voip] Call Reject not working on voice port...<br>
</font><br>
</div>
<div></div>
<div>OK, now I am starting to wonder if it was working the whole time...<br>
<br>
The calls are being rejected, but they are still ringing on the calling side...<br>
<br>
Thanks!<br>
<br>
<br>
<div class="gmail_quote">On Thu, Mar 4, 2010 at 11:36 PM, Jonathan Charles <span dir="ltr">
&lt;<a href="mailto:jonvoip@gmail.com">jonvoip@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
Did it on the inbound peers and moved it off the voice port....<br>
<br>
Call is not blocked... and translation isn't invoked.<br>
<br>
<br>
!<br>
dial-peer voice 100 pots
<div class="im"><br>
&nbsp;call-block translation-profile incoming BLOCKED<br>
</div>
&nbsp;call-block disconnect-cause incoming call-reject<br>
&nbsp;incoming called-number .<br>
&nbsp;direct-inward-dial
<div class="im"><br>
&nbsp;port 0/0/0:23<br>
</div>
!<br>
dial-peer voice 101 pots
<div class="im"><br>
&nbsp;call-block translation-profile incoming BLOCKED<br>
</div>
&nbsp;call-block disconnect-cause incoming call-reject<br>
&nbsp;incoming called-number .<br>
&nbsp;direct-inward-dial<br>
&nbsp;port 0/0/1:23<br>
<br>
<br>
However, if I test it...<br>
<br>
HTACHI525a#test voice translation-rule 2 6305551212<br>
6302192766 blocked on rule 1<br>
HTACHI525a#<br>
.Mar&nbsp; 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212 rule precedence=1<br>
.Mar&nbsp; 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2<br>
.Mar&nbsp; 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3<br>
.Mar&nbsp; 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2<br>
.Mar&nbsp; 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Matched a call block rule; number=6305551212 rule precedence=1<br>
HTACHI525a#<br>
<br>
<br>
On an actual call, you see no debug output.<br>
<font color="#888888"><br>
<br>
Jonathan</font>
<div>
<div></div>
<div class="h5"><br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Mar 4, 2010 at 11:24 PM, Jonathan Charles <span dir="ltr">
&lt;<a href="mailto:jonvoip@gmail.com">jonvoip@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
Not valid on the voice port.
<div>
<div></div>
<div><br>
<br>
<div class="gmail_quote">On Thu, Mar 4, 2010 at 7:04 PM, Mathew Miller <span dir="ltr">
&lt;<a href="mailto:miller.mathew@gmail.com">miller.mathew@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
Try this.<br>
<div><br>
<br>
voice-port 0/0/0:23<br>
</div>
&nbsp;call-block translation-profile incoming BLOCKED<br>
<div>
<div></div>
<div><br>
On Mar 4, 2010, at 5:20 PM, Jonathan Charles wrote:<br>
<br>
&gt; So, I have the following translation:<br>
&gt;<br>
&gt; voice translation-rule 2<br>
&gt; &nbsp;rule 1 reject /^6305551212$/<br>
&gt;<br>
&gt; voice translation-profile BLOCKED<br>
&gt; &nbsp;translate calling 2<br>
&gt; !<br>
&gt;<br>
&gt;<br>
&gt; voice-port 0/0/0:23<br>
&gt; &nbsp;translation-profile incoming BLOCKED<br>
&gt; &nbsp;bearer-cap Speech<br>
&gt; !<br>
&gt;<br>
&gt; Router#test voice translation-rule 2 6305551212<br>
&gt; 6305551212 blocked on rule 1<br>
&gt;<br>
&gt;<br>
&gt; Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212rule precedence=1<br>
&gt; .Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2<br>
&gt; .Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3<br>
&gt; .Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2<br>
&gt; .Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: partial match found with rule 2 ruleset 2<br>
&gt; .Mar &nbsp;4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: partial match found doing regxrule_profile_match<br>
&gt;<br>
&gt; And the call progresses fine to its destination.<br>
&gt;<br>
&gt; It appears the call reject via translation doesn't do anything, the very first line of the debug says it is just skipping the rule...<br>
&gt;<br>
&gt; What is going on here?<br>
&gt;<br>
&gt; Why does this not work...<br>
&gt;<br>
&gt; This is a 2851 running 12.4.24T2<br>
&gt;<br>
&gt;<br>
&gt; Jonathan<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>
</div>
<div>
<div></div>
<div>&gt; _______________________________________________<br>
&gt; cisco-voip mailing list<br>
&gt; <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
&gt; <a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>

<DIV>
<p class=MsoNormal><span style=&#39;font-size:7.0pt&#39;;font-family:&#39;"Helvetica","Tahoma","Arial","sans-serif"&#39;><font color="#666666"><br><br> NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.</span><o:p></o:p></span></p><BR>
</DIV></body>
</html>