<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">
<<a href="mailto:jonvoip@gmail.com">jonvoip@gmail.com</a>></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>
call-block translation-profile incoming BLOCKED<br>
</div>
call-block disconnect-cause incoming call-reject<br>
incoming called-number .<br>
direct-inward-dial
<div class="im"><br>
port 0/0/0:23<br>
</div>
!<br>
dial-peer voice 101 pots
<div class="im"><br>
call-block translation-profile incoming BLOCKED<br>
</div>
call-block disconnect-cause incoming call-reject<br>
incoming called-number .<br>
direct-inward-dial<br>
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 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212 rule precedence=1<br>
.Mar 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2<br>
.Mar 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3<br>
.Mar 4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2<br>
.Mar 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">
<<a href="mailto:jonvoip@gmail.com">jonvoip@gmail.com</a>></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">
<<a href="mailto:miller.mathew@gmail.com">miller.mathew@gmail.com</a>></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>
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>
> So, I have the following translation:<br>
><br>
> voice translation-rule 2<br>
> rule 1 reject /^6305551212$/<br>
><br>
> voice translation-profile BLOCKED<br>
> translate calling 2<br>
> !<br>
><br>
><br>
> voice-port 0/0/0:23<br>
> translation-profile incoming BLOCKED<br>
> bearer-cap Speech<br>
> !<br>
><br>
> Router#test voice translation-rule 2 6305551212<br>
> 6305551212 blocked on rule 1<br>
><br>
><br>
> Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212rule precedence=1<br>
> .Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2<br>
> .Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3<br>
> .Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2<br>
> .Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: partial match found with rule 2 ruleset 2<br>
> .Mar 4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: partial match found doing regxrule_profile_match<br>
><br>
> And the call progresses fine to its destination.<br>
><br>
> 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>
><br>
> What is going on here?<br>
><br>
> Why does this not work...<br>
><br>
> This is a 2851 running 12.4.24T2<br>
><br>
><br>
> Jonathan<br>
><br>
><br>
><br>
</div>
</div>
<div>
<div></div>
<div>> _______________________________________________<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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<DIV>
<p class=MsoNormal><span style='font-size:7.0pt';font-family:'"Helvetica","Tahoma","Arial","sans-serif"'><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>