Block call with unknown calling_number

Unanswered Question
Feb 5th, 2007

Hi!

I have AS5300 with IOS 12.3, this is part of config:

...

!

controller E1 5

clock source line secondary 5

pri-group timeslots 1-31

!

interface Serial5:15

no ip address

no ip route-cache cef

ip mroute-cache

no logging event link-status

isdn switch-type primary-net5

isdn overlap-receiving T302 2000

isdn incoming-voice modem

isdn guard-timer 3000

isdn bchan-number-order ascending

fair-queue 64 256 0

no cdp enable

!

voice-port 5:D

disc_pi_off

input gain 3

echo-cancel coverage 32

cptone RU

music-threshold -45

bearer-cap 3100Hz

!

dial-peer voice 6 pots

incoming called-number .

direct-inward-dial

port 5:D

no register e164

!

!

dial-peer voice 7495231 pots

destination-pattern 74952312000

progress_ind setup enable 3

progress_ind alert enable 8

direct-inward-dial

port 5:D

prefix 92312000

If inbound call not match voip peer, call was succesfull and why I can call to PSTN from VoIP whithout voip peer?

How I can block these

calls?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Paolo Bevilacqua Mon, 02/05/2007 - 10:02

Hi,

what you can do, is to configure a translation profile with a rule that rejects based on calling number, so that is the number is not present in as it should, the call will be dropped.

zaikini_23 Wed, 03/14/2007 - 06:02

Hi, translation profile work's fine, but I don't understand why is calling_party is clean?

I have Cisco 827-4V, this is debug voice translation:

//Mar 14 14:50:28: sed_subst: Successful substitution; pattern= matchPattern=^.* replacePattern=86596300 replaced pattern=86596300//

field "pattern=" is clean

cat config

----

!

voice-port 1

echo-cancel coverage 32

cptone RU

!

dial-peer voice 1 pots

preference 1

answer-address 86596300

destination-pattern 86596300

port 1

!

!

dial-peer voice 10 voip

destination-pattern .T

session target ipv4:x.x.x.x

dtmf-relay h245-signal

codec g711alaw

fax rate 9600

ip qos dscp cs5 media

no vad

!

IOS version

Version 12.2(15)T17

zaikini_23 Wed, 03/14/2007 - 06:49

also I change session protocol, but calling_party is absent.

From: ;tag=1146BBC-1F87

To: ;tag=3533F110-E7C

Date: Wed, 14 Mar 2007 13:43:11 GMT

Call-ID: [email protected]

Max-Forwards: 6

Content-Length: 0

CSeq: 101 ACK

Paolo Bevilacqua Wed, 03/14/2007 - 10:31

Sorry, I'm lost. Who is calling who? What is is not working, and how would you like it to work?

zaikini_23 Wed, 03/14/2007 - 10:47

I'm sorry,

User1 (TA) -> Cisco 847 -> Cisco AS5300 -> PBX -> User2 (TA)

User1 (calling_party) call to User2 (called_party), call is successfull, but field calling_party is clean, why?

Paolo Bevilacqua Wed, 03/14/2007 - 10:57

OK. Try configuring "station number 86596300" under "voice-port 1", and remove "answer-address" from "dial-peer".

Hope this helps, if so please rate post!

zaikini_23 Thu, 03/15/2007 - 00:18

I change my config, but problem is not disappear

This is part of debug sip session:

From: ;tag=4C14CAC-23F0

To: ;tag=38E0D010-1DAB

Date: Thu, 15 Mar 2007 06:50:52 GMT

Call-ID: [email protected]

CSeq: 102 PRACK

RAck: 4056 101 INVITE

Content-Length: 0

This is session from radius accounting:

Thu Mar 15 09:50:54 2007

Acct-Session-Id = "000A7B67"

Called-Station-Id = "89036295529"

Cisco-AVPair = "[email protected]"

Cisco-AVPair = "iphop=count:1"

Cisco-AVPair = "iphop=hop1:172.31.2.115"

h323-setup-time = "h323-setup-time=09:50:54.230 MSK Thu Mar 15 2007"

h323-gw-id = "h323-gw-id=yyyyyyy"

h323-conf-id = "h323-conf-id=494A72AD D1F811DB 8223E0FA 165EBC44"

h323-call-origin = "h323-call-origin=answer"

h323-call-type = "h323-call-type=VoIP"

Cisco-AVPair = "h323-incoming-conf-id=494A72AD D1F811DB 8223E0FA 165EBC44"

Cisco-AVPair = "subscriber=Unknown"

Cisco-AVPair = "session-protocol=sipv2"

Cisco-AVPair = "gw-rxd-cdn=ton:0,npi:0,#:89036295529"

Cisco-AVPair = "connect-progress=Call Up"

Acct-Authentic = 0

Acct-Status-Type = Start

Service-Type = Login-User

NAS-IP-Address = x.x.x.x

Acct-Delay-Time = 0

Client-IP-Address = x.x.x.x

Acct-Unique-Session-Id = "840e571b8cf90b02"

Timestamp = 1173941454

Thu Mar 15 09:51:00 2007

Acct-Session-Id = "000A7B6D"

Called-Station-Id = "89036295529"

h323-setup-time = "h323-setup-time=09:51:00.414 MSK Thu Mar 15 2007"

h323-gw-id = "h323-gw-id=yyyyyyyy"

h323-conf-id = "h323-conf-id=494A72AD D1F811DB 8223E0FA 165EBC44"

h323-call-origin = "h323-call-origin=originate"

h323-call-type = "h323-call-type=Telephony"

Cisco-AVPair = "h323-incoming-conf-id=494A72AD D1F811DB 8223E0FA 165EBC44"

Cisco-AVPair = "subscriber=Unknown"

Cisco-AVPair = "out-intrfc-desc=### second trunk ###"

Cisco-AVPair = "gw-rxd-cdn=ton:0,npi:0,#:89036295529"

Cisco-AVPair = "connect-progress=Call Up"

Acct-Authentic = 0

Acct-Status-Type = Start

NAS-Port-Type = Async

Cisco-NAS-Port = "ISDN 2:D:3"

NAS-Port = 0

Service-Type = Login-User

NAS-IP-Address = x.x.x.x

Acct-Delay-Time = 0

Client-IP-Address = x.x.x.x

Acct-Unique-Session-Id = "0e302c6745c5d68a"

Timestamp = 1173941460

Actions

This Discussion