cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3498
Views
0
Helpful
1
Replies

How to block outgoing calls to specific number?

Hello to all,

I want to block outoging calls to specific number, for example 0644224569. First I tried to apply translation-rule with one rule similar to "rule 1 reject /0644224569/" but this doesn't works, I receive the next message:

Mar 19 11:41:05.239: //-1/3AFC1059806E/RXRULE/regxrule_match: Skipping a call block rule; number=0644224569 rule precedence=1

I searched information about this issue and I deduced that it's not possible to use "rule X reject" with outgoing calls, this only works with incoming calls, it's true?

Also I tried to block number with COR, but here the problem is that the called number match with another dial-peer when the first try is blocked.

Example:

dial-peer cor custom

name local

name international

name movil

name oriol

!

!

dial-peer cor list local

member local

!

dial-peer cor list international

member international

!

dial-peer cor list movil

member movil

!

dial-peer cor list administracion

member local

member international

member movil

!

dial-peer cor list helpdesk

member local

member movil

!

dial-peer cor list block

member oriol

!

dial-peer voice 11 voip

corlist outgoing local

description ### SIP Nacionales por VoipBuster por si falla/ocupado ANALOGICA

preference 2

max-conn 4

destination-pattern 0T

progress_ind setup enable 3

session protocol sipv2

session target sip-server

session transport udp

dtmf-relay rtp-nte

no vad

!

dial-peer voice 2 voip

corlist outgoing international

description ### SIP Internacionales Voipbuster ###

preference 1

max-conn 4

destination-pattern 00T

progress_ind setup enable 3

session protocol sipv2

session target sip-server

session transport udp

dtmf-relay rtp-nte

no vad

!

dial-peer voice 50 pots

corlist outgoing block

description ### FXO ANTENA GSM SALIDA MOVILES ###

translation-profile outgoing SALIDA_CON_6_CELULAR

preference 1

destination-pattern 0644224569

port 0/2/1

!

ephone-dn  6  dual-line

number 400

pickup-group 830

label David Lopez 400

description David Lopez

name David Lopez

call-forward busy 899

call-forward noan 899 timeout 25

corlist incoming helpdesk

huntstop channel

hold-alert 30 originator

!

When I call from dn 400 the call is not possible via dial-peer 50, but the call is succes because CME uses dial-peer 11.

any idea?

Thanks!

1 Accepted Solution

Accepted Solutions

Chris Deren
Hall of Fame
Hall of Fame

Under telephony-settings you can define the following:

after-hours block pattern 1 XXXX 7-24 where XXXX is the digit string you want to block.

HTH,

Chris

View solution in original post

1 Reply 1

Chris Deren
Hall of Fame
Hall of Fame

Under telephony-settings you can define the following:

after-hours block pattern 1 XXXX 7-24 where XXXX is the digit string you want to block.

HTH,

Chris