[cisco-voip] Using Translation Profiles to 'reject' calls through aDial Peer

Andrew Dignan andy at dignans.com
Mon Jan 31 11:24:26 EST 2005


Yeah, no matter which place I apply it (dial-peer, voice-por) I get
"Skipping a call block rule" in the debug.

> I don't understand why this isn't working.  I am trying to block outgoing
> calls using voice-translation profiles:
>
> voice translation-rule 1
>  rule 1 reject /^2000/ type any plan any
> !
> !
> voice translation-profile CallBlock
>  translate calling 1
> !
>
> dial-peer voice 9 pots
>  translation-profile outgoing CallBlock
>  destination-pattern 9T
>  direct-inward-dial
>  port 0/0:23
>  forward-digits all
> !
> DignanHome#test voice translation-rule 1 2000
> 2000 blocked on rule 1
>
> As you can see the rule checks out and I have it correctly applied to the
> dial peer (I have remove ALL other dial peers to ensure it is going out
> this dial peer).  It is still allowing calls to go out this dial peer with
> a calling number of 2000 (I have tried /2000/ and /^2000/).  Also, debug
> voice translation rule shows the correct calling number:
>
> Calling Number=2000, TON=Unknown, NPI=Unknown,
>
> Debug voice translation profile also shows this, why?
>
> Jan 31 15:52:12.114:
> //-1/E6C05F6282DD/RXRULE/regxrule_get_profile_from_voiceport_internal:
> Found profile CallerID defined on voice-port
> Jan 31 15:52:12.114:
> //-1/E6C05F6282DD/RXRULE/regxrule_profile_translate_internal: number=2000
> type=unknown plan=unknown numbertype=calling
> Jan 31 15:52:12.114: //-1/E6C05F6282DD/RXRULE/regxrule_match: Skipping a
> call block rule; number=2000 rule precedence=1
>
> Why is it "Skipping a call block rule"
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>



More information about the cisco-voip mailing list