[cisco-voip] using "reject" rule to reject outbound called numbers

Lelio Fulgenzi lelio at uoguelph.ca
Fri May 25 11:43:02 EDT 2007


I'm trying to use the reject rule to block outbound called numbers but it's not working. The debugs actually say it's skipping the block rule.

Anyone know what's going on?



------------------------------------------------------------------------------
  config:

  !
  voice translation-profile 999
   translate called 1112
  !
  voice translation-rule 1112
   rule 1 reject /914165551212/
  !
  dial-peer voice 99901 pots
   translation-profile outgoing 999 ***tried incoming as well, it failed***
   destination-pattern 914165551212
   port 0/1/0:23
   forward-digits 11
  !




------------------------------------------------------------------------------
  debug:

    *May 25 11:33:08: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal: Voice port 0x673C1D8C does not belong to a
    ny trunk group
    *May 25 11:33:08: //-1/12C459A180E7/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x662CD204; count=1
    *May 25 11:33:08: //-1/12C459A180E7/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x662CD204; count=0
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x662CD204; count=1
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: number=61001 type=unknown plan=unknown numbertype=ca
    lling
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_match_internal: Error: ruleset for calling number not found
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: No match: number=61001 type=unknown plan=unknown
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: number=914165551212 type=unknown plan=unknown number
    type=called
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_match: Skipping a call block rule; number=914165551212 rule precedence=1
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_match_internal: No match found
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: No match: number=914165551212 type=unknown plan=unkn
    own
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirec
    t-target
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-target number not found
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirec
    t-called
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_dp_translate: calling_number=61001 calling_octet=0x0
            called_number=914165551212 called_octet=0x80
            redirect_number= redirect_type=0 redirect_plan=0        redirect_PI=0 redirect_SI=0
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for outgoing directi
    on
    *May 25 11:33:10: //-1/12C459A180E7/RXRULE/regxrule_vp_translate: calling_number=61001 calling_octet=0x0
            called_number=914165551212 called_octet=0x80
            redirect_number= redirect_type=0 redirect_plan=0
    *May 25 11:33:11: %ISDN-6-CONNECT: Interface Serial0/1/0:22 is now connected to 14165551212 N/A
    *May 25 11:33:13: //-1/12C459A180E7/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x662CD204; count=2
    *May 25 11:33:13: %ISDN-6-CONNECT: Interface Serial0/1/0:22 is now connected to 14165551212 N/A
    *May 25 11:33:13: %ISDN-6-CONNECT: Interface Serial0/1/0:22 is now connected to 14165551212 N/A
    *May 25 11:33:13: %ISDN-6-DISCONNECT: Interface Serial0/1/0:22  disconnected from 14165551212 , call lasted 1 seconds
    *May 25 11:33:13: %ISDN-6-CONNECT: Interface Serial0/1/0:22 is now connected to 14165551212 N/A
    *May 25 11:33:13: %ISDN-6-DISCONNECT: Interface Serial0/1/0:22  disconnected from unknown , call lasted 1 seconds

------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo."      WJR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070525/3620600e/attachment.html 


More information about the cisco-voip mailing list