## need to program over 100 rules in cisco translation profiles

## need to program over 100 rules in cisco translation profiles

(OP)

I have searched the web high and low for an answer and if I have missed it here in these threads or elsewhere then I apologize for the over-site...

I am needing to program over 100 rules in cisco translation profiles to accommodate the over 200+ telemarketing and bogus calls my company gets on our wonderful TWC voice PRI.

I have the first 100 numbers in the router with no issues and they are getting blocked but anything over the initial group doesn't.

We have a Cisco 2901 router and I am attaching a copy of my config for anyone who can point me to the right place to get more of these blocked.

Thanks in advance.

D

voice service voip

ip address trusted list

ipv4 192.168.100.250

dtmf-interworking rtp-nte

mode border-element

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

no supplementary-service h225-notify cid-update

no supplementary-service sip moved-temporarily

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

sip

bind control source-interface GigabitEthernet0/0

bind media source-interface GigabitEthernet0/0

session transport tcp

header-passing

error-passthru

referto-passing

early-offer forced

history-info

midcall-signaling passthru

!

voice class codec 1

codec preference 1 g711ulaw

!

voice class codec 100

codec preference 1 g711ulaw

!

voice class codec 101

codec preference 1 g711ulaw

!

voice class h323 1

h225 timeout tcp establish 3

!

voice class sip-profiles 100

request NOTIFY sip-header History-Info modify "sip:(.*)@[^ ]+" "tel:^^\1"

request NOTIFY sip-header History-Info modify "<sip:(+1502.T)@qsrlyncfe.qsrautomations.com>\"" "tel:502.T\1"

!

!

!

!

voice translation-rule 1

rule 1 // // type any unknown plan any unknown

!

voice translation-rule 9

rule 1 reject /5025286038/

rule 2 reject /5026129018/

rule 3 reject /5023509172/

rule 4 reject /5027585388/

rule 5 reject /8009552030/

rule 6 reject /5134016314/

rule 7 reject /6154782478/

rule 8 reject /4693191121/

rule 9 reject /5027920648/

rule 10 reject /5025193069/

rule 11 reject /8778471486/

rule 12 reject /8004598387/

rule 13 reject /5022871928/

rule 14 reject /2247041462/

rule 15 reject /5026486898/

rule 16 reject /5022871893/

rule 17 reject /5713923718/

rule 18 reject /6158293418/

rule 19 reject /8002782420/

rule 20 reject /3172075657/

rule 21 reject /2122386230/

rule 22 reject /8593172252/

rule 23 reject /8889834397/

rule 24 reject /2143087009/

rule 25 reject /6193244656/

rule 26 reject /5022903657/

rule 27 reject /8009001370/

rule 28 reject /5024422996/

rule 29 reject /5025589444/

rule 30 reject /4128475934/

rule 31 reject /9546069402/

rule 32 reject /2032702924/

rule 33 reject /8666642512/

rule 34 reject /8778393676/

rule 35 reject /5024242813/

rule 36 reject /5027711426/

rule 37 reject /8007332767/

rule 38 reject /2484580500/

rule 39 reject /5713923717/

rule 40 reject /5027428650/

rule 41 reject /5023693472/

rule 42 reject /8882589794/

rule 43 reject /7038290487/

rule 44 reject /6066544350/

rule 45 reject /7024253735/

rule 46 reject /5028374018/

rule 47 reject /5025407054/

rule 48 reject /5029662336/

rule 49 reject /7328075611/

rule 50 reject /8882329345/

rule 51 reject /3232500528/

rule 52 reject /2709084273/

rule 53 reject /9012900915/

rule 54 reject /5022871867/

rule 55 reject /8774881792/

rule 56 reject /6827038118/

rule 57 reject /2142831316/

rule 58 reject /8885823359/

rule 59 reject /8003532622/

rule 60 reject /3473218040/

rule 61 reject /5022448721/

rule 62 reject /3172493000/

rule 63 reject /5027442035/

rule 64 reject /9143729988/

rule 65 reject /7023595643/

rule 66 reject /5024140055/

rule 67 reject /8595688160/

rule 68 reject /9728892852/

rule 69 reject /7204458319/

rule 70 reject /5618992512/

rule 71 reject /5189923523/

rule 72 reject /8782010297/

rule 73 reject /4082357700/

rule 74 reject /3608511726/

rule 75 reject /2068556739/

rule 76 reject /2032420804/

rule 77 reject /3052275869/

rule 78 reject /4159465707/

rule 79 reject /5025501275/

rule 80 reject /9544856958/

rule 81 reject /3057131010/

rule 82 reject /8599082968/

rule 83 reject /4704265793/

rule 84 reject /8593472638/

rule 85 reject /5025133975/

rule 86 reject /8663511402/

rule 87 reject /8884019025/

rule 88 reject /6069309127/

rule 89 reject /8774343695/

rule 90 reject /8585687619/

rule 91 reject /6026353897/

rule 92 reject /6782653904/

rule 93 reject /9145957031/

rule 94 reject /8175004360/

rule 95 reject /8665804780/

rule 96 reject /2064521973/

rule 97 reject /4077322414/

rule 98 reject /2053963619/

rule 99 reject /8595869557/

!

voice translation-rule 10

rule 1 reject /5023093515/

rule 2 reject /5023093549/

rule 3 reject /8559694636/

rule 4 reject /8776983261/

rule 5 reject /4704265793/

rule 6 reject /8882329345/

rule 7 reject /4824589112/

rule 8 reject /9147683713/

rule 9 reject /5026120022/

rule 10 reject /8884019025/

rule 11 reject /6239001978/

rule 12 reject /6094231163/

rule 13 reject /9056878440/

rule 14 reject /5612833474/

rule 15 reject /5024988588/

rule 16 reject /2067771088/

rule 17 reject /5022677522/

rule 18 reject /5024344178/

rule 19 reject /2016192222/

rule 20 reject /5024344179/

rule 21 reject /6097510962/

rule 22 reject /8882589794/

rule 23 reject /5023509172/

rule 24 reject /5029559747/

rule 25 reject /2397703494/

rule 26 reject /2132048090/

rule 27 reject /5408126263/

rule 28 reject /6312289011/

rule 29 reject /5022763480/

rule 30 reject /5022349107/

rule 31 reject /5022901672/

rule 32 reject /7656370782/

rule 33 reject /7242225135/

rule 34 reject /5023794651/

rule 35 reject /5022132798/

rule 36 reject /5022307862/

rule 37 reject /5026538492/

rule 38 reject /8003523407/

rule 39 reject /5026538505/

rule 40 reject /5024242813/

rule 41 reject /6312289013/

rule 42 reject /5024736326/

rule 43 reject /9895755173/

rule 44 reject /6175811051/

rule 45 reject /8133669800/

rule 46 reject /5024985468/

rule 47 reject /6896432322/

rule 48 reject /6152465119/

rule 49 reject /5025368163/

rule 50 reject /5026538510/

rule 51 reject /8328616942/

rule 52 reject /8009001370/

rule 53 reject /8552884954/

rule 54 reject /7703608316/

rule 55 reject /5014079999/

rule 56 reject /5028226806/

rule 57 reject /3175505549/

rule 58 reject /8009286614/

rule 59 reject /8592866445/

rule 60 reject /8036301990/

rule 61 reject /6785631190/

rule 62 reject /9133055358/

rule 63 reject /8592516576/

rule 64 reject /5024422826/

rule 65 reject /3479433856/

rule 66 reject /5025293149/

rule 67 reject /8004598387/

rule 68 reject /6786793123/

rule 69 reject /8643346816/

rule 70 reject /6062574150/

rule 71 reject /5186184673/

rule 72 reject /5025402357/

rule 73 reject /5025090014/

rule 74 reject /2709421060/

rule 75 reject /5025827194/

rule 76 reject /6518293418/

rule 77 reject /9142885612/

rule 78 reject /5024105114/

rule 79 reject /5716990444/

rule 80 reject /5028374018/

rule 81 reject /6048543935/

rule 82 reject /8884019027/

rule 83 reject /2089175124/

rule 84 reject /5022420896/

rule 85 reject /9734236030/

rule 86 reject /8453351907/

rule 87 reject /5024105623/

rule 88 reject /5025090292/

rule 89 reject /8598383272/

rule 90 reject /5022421084/

rule 91 reject /8779030082/

rule 92 reject /5022421082/

rule 93 reject /5022420990/

rule 94 reject /5024985348/

rule 96 reject /5712295487/

rule 99 reject /8772538089/

!

voice translation-rule 11

!

voice translation-rule 12

!

voice translation-rule 99

rule 1 reject /5022903415/

rule 2 reject /5022903965/

rule 3 reject /5022904383/

rule 4 reject /5022904722/

rule 8 reject /5022904875/

rule 9 reject /5022904878/

rule 10 reject /5022904880/

rule 13 reject /5022904909/

rule 15 reject /5022905659/

rule 16 reject /5022905661/

rule 17 reject /5022905663/

rule 18 reject /5022905675/

rule 19 reject /5022905676/

rule 20 reject /5022905678/

rule 21 reject /5022905695/

rule 22 reject /5022905735/

rule 23 reject /5022905739/

rule 24 reject /5022905754/

rule 25 reject /5022905755/

rule 26 reject /5022905756/

rule 27 reject /5022905766/

rule 28 reject /5022905771/

rule 29 reject /5022905781/

rule 30 reject /5022905798/

rule 35 reject /5022904828/

rule 36 reject /5022905549/

rule 37 reject /5022900968/

rule 38 reject /5022905658/

rule 39 reject /5022904903/

rule 40 reject /5022905651/

!

voice translation-profile call_block01

translate calling 9

!

voice translation-profile call_block02

translate calling 10

!

dial-peer voice 9 pots

call-block translation-profile incoming call_block01

call-block disconnect-cause incoming call-reject

incoming called-number 502290....

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 10 pots

call-block translation-profile incoming call_block02

call-block disconnect-cause incoming call-reject

incoming called-number 502290....

port 0/0/0:23

!

I am needing to program over 100 rules in cisco translation profiles to accommodate the over 200+ telemarketing and bogus calls my company gets on our wonderful TWC voice PRI.

I have the first 100 numbers in the router with no issues and they are getting blocked but anything over the initial group doesn't.

We have a Cisco 2901 router and I am attaching a copy of my config for anyone who can point me to the right place to get more of these blocked.

Thanks in advance.

D

voice service voip

ip address trusted list

ipv4 192.168.100.250

dtmf-interworking rtp-nte

mode border-element

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

no supplementary-service h225-notify cid-update

no supplementary-service sip moved-temporarily

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

sip

bind control source-interface GigabitEthernet0/0

bind media source-interface GigabitEthernet0/0

session transport tcp

header-passing

error-passthru

referto-passing

early-offer forced

history-info

midcall-signaling passthru

!

voice class codec 1

codec preference 1 g711ulaw

!

voice class codec 100

codec preference 1 g711ulaw

!

voice class codec 101

codec preference 1 g711ulaw

!

voice class h323 1

h225 timeout tcp establish 3

!

voice class sip-profiles 100

request NOTIFY sip-header History-Info modify "sip:(.*)@[^ ]+" "tel:^^\1"

request NOTIFY sip-header History-Info modify "<sip:(+1502.T)@qsrlyncfe.qsrautomations.com>\"" "tel:502.T\1"

!

!

!

!

voice translation-rule 1

rule 1 // // type any unknown plan any unknown

!

voice translation-rule 9

rule 1 reject /5025286038/

rule 2 reject /5026129018/

rule 3 reject /5023509172/

rule 4 reject /5027585388/

rule 5 reject /8009552030/

rule 6 reject /5134016314/

rule 7 reject /6154782478/

rule 8 reject /4693191121/

rule 9 reject /5027920648/

rule 10 reject /5025193069/

rule 11 reject /8778471486/

rule 12 reject /8004598387/

rule 13 reject /5022871928/

rule 14 reject /2247041462/

rule 15 reject /5026486898/

rule 16 reject /5022871893/

rule 17 reject /5713923718/

rule 18 reject /6158293418/

rule 19 reject /8002782420/

rule 20 reject /3172075657/

rule 21 reject /2122386230/

rule 22 reject /8593172252/

rule 23 reject /8889834397/

rule 24 reject /2143087009/

rule 25 reject /6193244656/

rule 26 reject /5022903657/

rule 27 reject /8009001370/

rule 28 reject /5024422996/

rule 29 reject /5025589444/

rule 30 reject /4128475934/

rule 31 reject /9546069402/

rule 32 reject /2032702924/

rule 33 reject /8666642512/

rule 34 reject /8778393676/

rule 35 reject /5024242813/

rule 36 reject /5027711426/

rule 37 reject /8007332767/

rule 38 reject /2484580500/

rule 39 reject /5713923717/

rule 40 reject /5027428650/

rule 41 reject /5023693472/

rule 42 reject /8882589794/

rule 43 reject /7038290487/

rule 44 reject /6066544350/

rule 45 reject /7024253735/

rule 46 reject /5028374018/

rule 47 reject /5025407054/

rule 48 reject /5029662336/

rule 49 reject /7328075611/

rule 50 reject /8882329345/

rule 51 reject /3232500528/

rule 52 reject /2709084273/

rule 53 reject /9012900915/

rule 54 reject /5022871867/

rule 55 reject /8774881792/

rule 56 reject /6827038118/

rule 57 reject /2142831316/

rule 58 reject /8885823359/

rule 59 reject /8003532622/

rule 60 reject /3473218040/

rule 61 reject /5022448721/

rule 62 reject /3172493000/

rule 63 reject /5027442035/

rule 64 reject /9143729988/

rule 65 reject /7023595643/

rule 66 reject /5024140055/

rule 67 reject /8595688160/

rule 68 reject /9728892852/

rule 69 reject /7204458319/

rule 70 reject /5618992512/

rule 71 reject /5189923523/

rule 72 reject /8782010297/

rule 73 reject /4082357700/

rule 74 reject /3608511726/

rule 75 reject /2068556739/

rule 76 reject /2032420804/

rule 77 reject /3052275869/

rule 78 reject /4159465707/

rule 79 reject /5025501275/

rule 80 reject /9544856958/

rule 81 reject /3057131010/

rule 82 reject /8599082968/

rule 83 reject /4704265793/

rule 84 reject /8593472638/

rule 85 reject /5025133975/

rule 86 reject /8663511402/

rule 87 reject /8884019025/

rule 88 reject /6069309127/

rule 89 reject /8774343695/

rule 90 reject /8585687619/

rule 91 reject /6026353897/

rule 92 reject /6782653904/

rule 93 reject /9145957031/

rule 94 reject /8175004360/

rule 95 reject /8665804780/

rule 96 reject /2064521973/

rule 97 reject /4077322414/

rule 98 reject /2053963619/

rule 99 reject /8595869557/

!

voice translation-rule 10

rule 1 reject /5023093515/

rule 2 reject /5023093549/

rule 3 reject /8559694636/

rule 4 reject /8776983261/

rule 5 reject /4704265793/

rule 6 reject /8882329345/

rule 7 reject /4824589112/

rule 8 reject /9147683713/

rule 9 reject /5026120022/

rule 10 reject /8884019025/

rule 11 reject /6239001978/

rule 12 reject /6094231163/

rule 13 reject /9056878440/

rule 14 reject /5612833474/

rule 15 reject /5024988588/

rule 16 reject /2067771088/

rule 17 reject /5022677522/

rule 18 reject /5024344178/

rule 19 reject /2016192222/

rule 20 reject /5024344179/

rule 21 reject /6097510962/

rule 22 reject /8882589794/

rule 23 reject /5023509172/

rule 24 reject /5029559747/

rule 25 reject /2397703494/

rule 26 reject /2132048090/

rule 27 reject /5408126263/

rule 28 reject /6312289011/

rule 29 reject /5022763480/

rule 30 reject /5022349107/

rule 31 reject /5022901672/

rule 32 reject /7656370782/

rule 33 reject /7242225135/

rule 34 reject /5023794651/

rule 35 reject /5022132798/

rule 36 reject /5022307862/

rule 37 reject /5026538492/

rule 38 reject /8003523407/

rule 39 reject /5026538505/

rule 40 reject /5024242813/

rule 41 reject /6312289013/

rule 42 reject /5024736326/

rule 43 reject /9895755173/

rule 44 reject /6175811051/

rule 45 reject /8133669800/

rule 46 reject /5024985468/

rule 47 reject /6896432322/

rule 48 reject /6152465119/

rule 49 reject /5025368163/

rule 50 reject /5026538510/

rule 51 reject /8328616942/

rule 52 reject /8009001370/

rule 53 reject /8552884954/

rule 54 reject /7703608316/

rule 55 reject /5014079999/

rule 56 reject /5028226806/

rule 57 reject /3175505549/

rule 58 reject /8009286614/

rule 59 reject /8592866445/

rule 60 reject /8036301990/

rule 61 reject /6785631190/

rule 62 reject /9133055358/

rule 63 reject /8592516576/

rule 64 reject /5024422826/

rule 65 reject /3479433856/

rule 66 reject /5025293149/

rule 67 reject /8004598387/

rule 68 reject /6786793123/

rule 69 reject /8643346816/

rule 70 reject /6062574150/

rule 71 reject /5186184673/

rule 72 reject /5025402357/

rule 73 reject /5025090014/

rule 74 reject /2709421060/

rule 75 reject /5025827194/

rule 76 reject /6518293418/

rule 77 reject /9142885612/

rule 78 reject /5024105114/

rule 79 reject /5716990444/

rule 80 reject /5028374018/

rule 81 reject /6048543935/

rule 82 reject /8884019027/

rule 83 reject /2089175124/

rule 84 reject /5022420896/

rule 85 reject /9734236030/

rule 86 reject /8453351907/

rule 87 reject /5024105623/

rule 88 reject /5025090292/

rule 89 reject /8598383272/

rule 90 reject /5022421084/

rule 91 reject /8779030082/

rule 92 reject /5022421082/

rule 93 reject /5022420990/

rule 94 reject /5024985348/

rule 96 reject /5712295487/

rule 99 reject /8772538089/

!

voice translation-rule 11

!

voice translation-rule 12

!

voice translation-rule 99

rule 1 reject /5022903415/

rule 2 reject /5022903965/

rule 3 reject /5022904383/

rule 4 reject /5022904722/

rule 8 reject /5022904875/

rule 9 reject /5022904878/

rule 10 reject /5022904880/

rule 13 reject /5022904909/

rule 15 reject /5022905659/

rule 16 reject /5022905661/

rule 17 reject /5022905663/

rule 18 reject /5022905675/

rule 19 reject /5022905676/

rule 20 reject /5022905678/

rule 21 reject /5022905695/

rule 22 reject /5022905735/

rule 23 reject /5022905739/

rule 24 reject /5022905754/

rule 25 reject /5022905755/

rule 26 reject /5022905756/

rule 27 reject /5022905766/

rule 28 reject /5022905771/

rule 29 reject /5022905781/

rule 30 reject /5022905798/

rule 35 reject /5022904828/

rule 36 reject /5022905549/

rule 37 reject /5022900968/

rule 38 reject /5022905658/

rule 39 reject /5022904903/

rule 40 reject /5022905651/

!

voice translation-profile call_block01

translate calling 9

!

voice translation-profile call_block02

translate calling 10

!

dial-peer voice 9 pots

call-block translation-profile incoming call_block01

call-block disconnect-cause incoming call-reject

incoming called-number 502290....

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 10 pots

call-block translation-profile incoming call_block02

call-block disconnect-cause incoming call-reject

incoming called-number 502290....

port 0/0/0:23

!

## RE: need to program over 100 rules in cisco translation profiles

if so can you block it on your phone system side instead?