[cisco-voip] Call Reject not working on voice port...

Mark Holloway mh at markholloway.com
Fri Mar 5 14:41:54 EST 2010


Wow, what odd behavior.  I would expect a fast-busy.  Also, I noticed in your test below the first line says Skipping and the last line says Matched yet the number= is the same on both.

On Mar 4, 2010, at 10:49 PM, Jonathan Charles wrote:

> OK, now I am starting to wonder if it was working the whole time...
> 
> The calls are being rejected, but they are still ringing on the calling side...
> 
> Thanks!
> 
> 
> On Thu, Mar 4, 2010 at 11:36 PM, Jonathan Charles <jonvoip at gmail.com> wrote:
> Did it on the inbound peers and moved it off the voice port....
> 
> Call is not blocked... and translation isn't invoked.
> 
> 
> !
> dial-peer voice 100 pots
> 
>  call-block translation-profile incoming BLOCKED
>  call-block disconnect-cause incoming call-reject
>  incoming called-number .
>  direct-inward-dial
> 
>  port 0/0/0:23
> !
> dial-peer voice 101 pots
> 
>  call-block translation-profile incoming BLOCKED
>  call-block disconnect-cause incoming call-reject
>  incoming called-number .
>  direct-inward-dial
>  port 0/0/1:23
> 
> 
> However, if I test it...
> 
> HTACHI525a#test voice translation-rule 2 6305551212
> 6302192766 blocked on rule 1
> HTACHI525a#
> .Mar  4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212 rule precedence=1
> .Mar  4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2
> .Mar  4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3
> .Mar  4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2
> .Mar  4 23:28:15: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Matched a call block rule; number=6305551212 rule precedence=1
> HTACHI525a#
> 
> 
> On an actual call, you see no debug output.
> 
> 
> Jonathan
> 
> 
> 
> 
> On Thu, Mar 4, 2010 at 11:24 PM, Jonathan Charles <jonvoip at gmail.com> wrote:
> Not valid on the voice port.
> 
> 
> On Thu, Mar 4, 2010 at 7:04 PM, Mathew Miller <miller.mathew at gmail.com> wrote:
> Try this.
> 
> 
> voice-port 0/0/0:23
>  call-block translation-profile incoming BLOCKED
> 
> On Mar 4, 2010, at 5:20 PM, Jonathan Charles wrote:
> 
> > So, I have the following translation:
> >
> > voice translation-rule 2
> >  rule 1 reject /^6305551212$/
> >
> > voice translation-profile BLOCKED
> >  translate calling 2
> > !
> >
> >
> > voice-port 0/0/0:23
> >  translation-profile incoming BLOCKED
> >  bearer-cap Speech
> > !
> >
> > Router#test voice translation-rule 2 6305551212
> > 6305551212 blocked on rule 1
> >
> >
> > Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: Skipping a call block rule; number=6305551212rule precedence=1
> > .Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: more digits needed; number=6305551212 rule precedence=2
> > .Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6305551212 rule precedence=3
> > .Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_rule_match: partial match found, partial_match 2
> > .Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: partial match found with rule 2 ruleset 2
> > .Mar  4 17:17:48: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: partial match found doing regxrule_profile_match
> >
> > And the call progresses fine to its destination.
> >
> > 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...
> >
> > What is going on here?
> >
> > Why does this not work...
> >
> > This is a 2851 running 12.4.24T2
> >
> >
> > Jonathan
> >
> >
> >
> > _______________________________________________
> > cisco-voip mailing list
> > cisco-voip at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-voip
> 
> 
> 
> 
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100305/ef0c8eb1/attachment.html>


More information about the cisco-voip mailing list