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

Jonathan Charles jonvoip at gmail.com
Fri Mar 5 00:36:04 EST 2010


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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100304/6381017e/attachment.html>


More information about the cisco-voip mailing list