[cisco-voip] Question about what I'm doing wrong trying to block these calls on H.323 ??

Tim Reimers treimers at ashevillenc.gov
Fri May 4 14:11:02 EDT 2012


Thanks! 

 

I wondered if it was a directionality thing..

 

I just needed this:

 

dial-peer voice 1 pots

incoming called-number .

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 2 pots

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

incoming called-number .

direct-inward-dial

port 0/0/1:23

 

 

 

From: miken miken [mailto:miken at sisna.com] 
Sent: Friday, May 04, 2012 12:47 PM
To: Tim Reimers
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Question about what I'm doing wrong trying to
block these calls on H.323 ??

 

Hello Tim

 

Your profile has been configured as incoming on your dial-peer for CUCM.
In other words, this will catch the digits inbound from CUCM and not the
PRI. Try configuring the profile incoming on your inbound dial-peer from
the PRI. If you don't have one configured and are using the implicit
dial-peer 0, then perhaps adding it to the voice-port may work with out
having to make additional dial-peer changes to your working
configuration.

 

Thank you

MikeN



 

On Fri, May 4, 2012 at 9:15 AM, Tim Reimers <treimers at ashevillenc.gov>
wrote:

Hi all -

 

I'm having some difficulty in getting call blocking to work -

Calls from 8282438594 to 8282595512 still get through.

AT&T gives me "8282438594" as my incoming number, and delivers "5512" as
my called number.

 

 

Per

http://www.cisco.com/en/US/customer/tech/tk652/tk90/technologies_configu
ration_example09186a00803f818a.shtml#con13

I've done the steps in that section.

 

Only difference is that I'm using a VOIP dialpeer and they show POTS
peers.

The syntax at the top of the section does seem to indicate that either
"pots|voip"

would be legal syntax though.

 

Here's the setup -

 

ISDN PRI connecting to UCM via H.323

Router running 

c2800nm-spservicesk9-mz.123-11.T8.bin

 

UCM is version 7.15

 

 

Here's my setup

 

 

 

voice translation-profile call_block

translate calling 2

 

 

voice translation-rule 2

rule 1 reject /8282438594/

!

!

!

 

 

 

dial-peer voice 1000 voip

description Inbound from PRI to Callmanager2

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

preference 1

destination-pattern [2-8]...

progress_ind setup enable 3

modem passthrough nse codec g711ulaw

voice-class codec 1

voice-class h323 1

session target ipv4:192.168.201.6

incoming called-number .

dtmf-relay h245-alphanumeric

fax rate disable

no vad

!

dial-peer voice 1001 voip

description Inbound from PRI to Callmanager1

call-block translation-profile incoming call_block

call-block disconnect-cause incoming call-reject

preference 2

destination-pattern [2-8]...

progress_ind setup enable 3

modem passthrough nse codec g711ulaw

voice-class codec 1

voice-class h323 1

session target ipv4:192.168.200.2

incoming called-number .

dtmf-relay h245-alphanumeric

fax rate disable

no vad

 

 

 

Here's a debug ISDN Q931 -

 

Looks like I've got the right "calling number" set- 

 

 

CityHall2821#

002283: 10w2d: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref =
0x1CC6

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98382

                Exclusive, Channel 2

        Progress Ind i = 0x8283 - Origination address is non-ISDN

        Calling Party Number i = 0x2183, '8282438594'

                Plan:ISDN, Type:National

        Called Party Number i = 0x80, '5512'

                Plan:Unknown, Type:Unknown

002284: 10w2d: ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8  callref =
0x9CC6

        Channel ID i = 0xA98382

                Exclusive, Channel 2

CityHall2821#

 

 

Dialplan testing seems to indicate that the call is hitting the
dial-peers where I've got that translation profile configured.

 

 

CityHall2821#sh dialplan number 8282438594

Macro Exp.: 8282438594

 

VoiceOverIpPeer1000

        peer type = voice, information type = voice,

        description = `Inbound from PRI to Callmanager2',

        tag = 1000, destination-pattern = `[2-8]...',

        answer-address = `', preference=1,

        CLID Restriction = None

        CLID Network Number = `'

        CLID Second Number sent

        CLID Override RDNIS = disabled,

        source carrier-id = `', target carrier-id = `',

        source trunk-group-label = `',  target trunk-group-label = `',

        numbering Type = `unknown'

        group = 1000, Admin state is up, Operation state is up,

        incoming called-number = `.', connections/maximum = 6/unlimited,

        DTMF Relay = enabled,

        modem transport = passthrough, nse, payload type = 100, codec =
g711ulaw,

,

        URI classes:

            Incoming (Called) =

            Incoming (Calling) =

            Destination =

        huntstop = disabled,

       in bound application associated: 'DEFAULT'

        out bound application associated: ''

        dnis-map =

        permission :both

        incoming COR list:maximum capability

        outgoing COR list:minimum requirement

        Translation profile (Incoming):

        Translation profile (Outgoing):

        incoming call blocking:

        translation-profile = `call_block'

        disconnect-cause = `call-reject'

        advertise 0x40 capacity_update_timer 25 addrFamily 4
oldAddrFamily 4

        type = voip, session-target = `ipv4:192.168.201.6',

        technology prefix:

        settle-call = disabled

        ip media DSCP = ef, ip signaling DSCP = af31,

        ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41

        ip video rsvp-fail DSCP = af41,

        UDP checksum = disabled,

        session-protocol = cisco, session-transport = system,

        req-qos = best-effort, acc-qos = best-effort,

        req-qos video = best-effort, acc-qos video = best-effort,

        req-qos audio def bandwidth = 64, req-qos audio max bandwidth =
0,

        req-qos video def bandwidth = 384, req-qos video max bandwidth =
0,

        dtmf-relay = h245-alphanumeric,

        RTP dynamic payload type values: NTE = 101

        Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122

               CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8

               G726r16 using static payload

               G726r24 using static payload

        RTP comfort noise payload type = 19

        fax rate = disable,   payload size =  20 bytes

        fax protocol = system

        fax-relay ecm enable

        fax NSF = 0xAD0051 (default)

        codec = g729r8,   payload size =  20 bytes,

        Media Setting = flow-through (global)

        Expect factor = 10, Icpif = 20,

        Playout Mode is set to adaptive,

        Initial 60 ms, Max 250 ms

        Playout-delay Minimum mode is set to default, value 40 ms

        Fax nominal 300 ms

        Max Redirects = 1, signaling-type = cas,

        VAD = disabled, Poor QOV Trap = disabled,

        Source Interface = NONE

        voice class sip url = system,

        voice class sip rel1xx = system,

        redirect ip2ip = disabled

        probe disabled,

        voice class perm tag = `'

        Time elapsed since last clearing of voice call statistics never

        Connect Time = 1206442855, Charged Units = 0,

        Successful Calls = 116450, Failed Calls = 4153, Incomplete Calls
= 3084

        Accepted Calls = 159, Refused Calls = 862,

        Last Disconnect Cause is "10  ",

        Last Disconnect Text is "normal call clearing (16)",

        Last Setup Time = 628057673.

Matched: 8282438594   Digits: 1

Target: ipv4:192.168.201.6

 

VoiceOverIpPeer1001

        peer type = voice, information type = voice,

        description = `Inbound from PRI to Callmanager1',

        tag = 1001, destination-pattern = `[2-8]...',

        answer-address = `', preference=2,

        CLID Restriction = None

        CLID Network Number = `'

        CLID Second Number sent

        CLID Override RDNIS = disabled,

        source carrier-id = `', target carrier-id = `',

        source trunk-group-label = `',  target trunk-group-label = `',

        numbering Type = `unknown'

        group = 1001, Admin state is up, Operation state is up,

        incoming called-number = `.', connections/maximum = 0/unlimited,

        DTMF Relay = enabled,

        modem transport = passthrough, nse, payload type = 100, codec =
g711ulaw,

,

        URI classes:

            Incoming (Called) =

            Incoming (Calling) =

            Destination =

        huntstop = disabled,

        in bound application associated: 'DEFAULT'

        out bound application associated: ''

        dnis-map =

        permission :both

        incoming COR list:maximum capability

        outgoing COR list:minimum requirement

        Translation profile (Incoming):

        Translation profile (Outgoing):

        incoming call blocking:

        translation-profile = `call_block'

        disconnect-cause = `call-reject'

        advertise 0x40 capacity_update_timer 25 addrFamily 4
oldAddrFamily 4

        type = voip, session-target = `ipv4:192.168.200.2',

        technology prefix:

        settle-call = disabled

        ip media DSCP = ef, ip signaling DSCP = af31,

        ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41

        ip video rsvp-fail DSCP = af41,

        UDP checksum = disabled,

        session-protocol = cisco, session-transport = system,

        req-qos = best-effort, acc-qos = best-effort,

        req-qos video = best-effort, acc-qos video = best-effort,

        req-qos audio def bandwidth = 64, req-qos audio max bandwidth =
0,

        req-qos video def bandwidth = 384, req-qos video max bandwidth =
0,

        dtmf-relay = h245-alphanumeric,

        RTP dynamic payload type values: NTE = 101

        Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122

               CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8

               G726r16 using static payload

               G726r24 using static payload

        RTP comfort noise payload type = 19

        fax rate = disable,   payload size =  20 bytes

        fax protocol = system

        fax-relay ecm enable

        fax NSF = 0xAD0051 (default)

        codec = g729r8,   payload size =  20 bytes,

        Media Setting = flow-through (global)

        Expect factor = 10, Icpif = 20,

        Playout Mode is set to adaptive,

        Initial 60 ms, Max 250 ms

        Playout-delay Minimum mode is set to default, value 40 ms

        Fax nominal 300 ms

        Max Redirects = 1, signaling-type = cas,

        VAD = disabled, Poor QOV Trap = disabled,

        Source Interface = NONE

        voice class sip url = system,

        voice class sip rel1xx = system,

        redirect ip2ip = disabled

        probe disabled,

        voice class perm tag = `'

        Time elapsed since last clearing of voice call statistics never

        Connect Time = 85227, Charged Units = 0,

        Successful Calls = 18, Failed Calls = 1061, Incomplete Calls = 0

        Accepted Calls = 0, Refused Calls = 0,

        Last Disconnect Cause is "1   ",

        Last Disconnect Text is "unassigned number (1)",

        Last Setup Time = 627628824.

Matched: 8282438594   Digits: 1

Target: ipv4:192.168.200.2

 

CityHall2821#

 


_______________________________________________
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/20120504/91b2c240/attachment.html>


More information about the cisco-voip mailing list