cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1442
Views
5
Helpful
13
Replies

Blocking anonymous calls Cisco CME FXO lines

tanios191
Level 1
Level 1

Dear Team,

 

I need help as I need to block incoming anonymous calls that come with unkown number on the cisco CME

I just made the following config:

 

voice translation-rule 1
rule 1 reject /^$/

voice translation-profile CallBlockUnkown
translate calling 1

 

dial-peer voice 111 pots
call-block translation-profile incoming CallBlockUnkown
incoming called-number .T
no digit-strip
direct-inward-dial

 

 

But unfortunately it doesn't seems working is this only applicable in case we have an ISDN line or is there another practice for FXO line

 

Please advise

 

Thank you,

1 Accepted Solution

Accepted Solutions

Hello, I am afraid this can not be done as the FXO line and plar command restricts the incoming dial-peer to be matched and, hence, the blocking translation-pattern to be applied.

Georgios
Please rate if you find this helpful.

View solution in original post

13 Replies 13

Georgios Fotiadis
VIP Alumni
VIP Alumni

Your configuration looks correct. Are you sure the corresponding dial-peer is matched? Can you share the output of debug voip ccapi inout and debug voice translation?

Georgios
Please rate if you find this helpful.

Dear Georgios,

 

Thank you for your prompt reply

 

But how can I debug since I need someone to call from an unkown number right?

 

 

 

 

You can temporarily replace rule 1 reject /^$/ with your cell number to make the test; i.e. rule 1 reject /^xxxxxxxxxx$/ . That way you will see if your cell is blocked.

Georgios
Please rate if you find this helpful.

Hello,

 

I just tried it unfortunately it didn't work

Kindly advise

 

 

Please attach (as files) the requested debug logs, along with calling/called numbers. The complete dial-peer configuration will also help.

Georgios
Please rate if you find this helpful.

Dear Georgios,

 

I will post them as soon as possible

Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Null,
Tone Direction=Sum Network, Params=0x0, Call Id=40729
Jan 19 12:45:32.860: //40730/73FEB847B67A/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x3EAC8FE0, Call Id=40730
Jan 19 12:45:32.860: //40730/73FEB847B67A/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/ccConferenceDestroy:
Conference Id=0x391, Tag=0x0
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/ccConferenceDestroy:

Jan 19 12:45:32.860: confID:0x391; callEntry1 callID1:0x9F19, type:6; callEntry2 callID2:0x9F1A, type:3

Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x391, Source Interface=0x3F285AD0, Source Call Id=40729,
Destination Call Id=40730, Disposition=0x0, Tag=0x0
Jan 19 12:45:32.860: //40730/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:32.860: cc_api_get_xcode_stream : 4982
Jan 19 12:45:32.860: //40729/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:32.860: cc_api_get_xcode_stream : 4982
Jan 19 12:45:32.860: //40730/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:32.860: cc_api_get_xcode_stream : 4982
Jan 19 12:45:32.860: //40730/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:32.860: cc_api_get_xcode_stream : 4982
Jan 19 12:45:32.860: //40730/73FEB847B67A/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x391, Source Interface=0x3EAC8FE0, Source Call Id=40730,
Destination Call Id=40729, Disposition=0x0, Tag=0x0
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/cc_generic_bridge_done:
Conference Id=0x391, Source Interface=0x3EAC8FE0, Source Call Id=40730,
Destination Call Id=40729, Disposition=0x0, Tag=0x0
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 19 12:45:32.860: //40729/73FEB847B67A/CCAPI/cc_api_get_transfer_info:
Transfer Number=NULL
Jan 19 12:45:32.860: //40730/73FEB847B67A/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jan 19 12:45:32.860: //40730/73FEB847B67A/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 19 12:45:32.872: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.872: :Inside cc_build_feature_vsa
Jan 19 12:45:32.872: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.872: feature call basic
Jan 19 12:45:32.872: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.872: cc_build_feature_vsa attr is "TWC","01/19/2018 14:45:24.692","70845917","41700",0,3745,73FEB847 FC4D11E7 B67AA900 D0AB6CD4,9F1A,"","","",""
Jan 19 12:45:32.876: //40730/73FEB847B67A/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3EAC8FE0, Tag=0x0, Call Id=40730,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 19 12:45:32.876: //-1/73FEB847B67A/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0
Jan 19 12:45:32.876: //40730/73FEB847B67A/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 19 12:45:32.876: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:32.876: :cc_free_feature_vsa freeing 3F5BCE98
Jan 19 12:45:32.876: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:32.876: vsacount in free is 1
Jan 19 12:45:32.888: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.888: :Inside cc_build_feature_vsa
Jan 19 12:45:32.888: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.888: feature call basic
Jan 19 12:45:32.888: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:32.888: cc_build_feature_vsa attr is "TWC","01/19/2018 14:45:24.688","70845917","41700",0,3744,73FEB847 FC4D11E7 B67AA900 D0AB6CD4,9F19,"","","",""
Jan 19 12:45:32.892: //40729/73FEB847B67A/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3F285AD0, Tag=0x0, Call Id=40729,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 19 12:45:32.892: //-1/73FEB847B67A/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x3FC96D0C; count=1
Jan 19 12:45:32.892: //-1/73FEB847B67A/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x2344810C
Jan 19 12:45:32.892: //40729/73FEB847B67A/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 19 12:45:32.892: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:32.892: :cc_free_feature_vsa freeing 3F5BCCD8
Jan 19 12:45:32.892: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:32.892: vsacount in free is 0
Jan 19 12:45:47.948: //-1/81DBEA7BB682/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=70845917
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=41700
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jan 19 12:45:47.948: //-1/81DBEA7BB682/CCAPI/cc_api_call_setup_ind_common:
Interface=0x3F285AD0, Call Info(
Calling Number=70845917,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41700(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
Source Trkgrp Route Label=pstn, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Jan 19 12:45:47.948: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.948: :cc_get_feature_vsa malloc success
Jan 19 12:45:47.948: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.948: cc_get_feature_vsa count is 1
Jan 19 12:45:47.948: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.948: :FEATURE_VSA attributes are: feature_name:0,feature_time:1062980832,feature_id:3746
Jan 19 12:45:47.948: //40733/81DBEA7BB682/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=70845917(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41700(TON=Unknown, NPI=Unknown))
Jan 19 12:45:47.948: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x3FC986D4; count=1
Jan 19 12:45:47.948: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x23445F84
Jan 19 12:45:47.948: //40733/81DBEA7BB682/CCAPI/cc_process_call_setup_ind:
Event=0x2280FF10
Jan 19 12:45:47.952: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 41700
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCallSetContext:
Context=0x3DF25BC8
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 40733 with tag 0 to app "_ManagedAppProcess_Default"
Jan 19 12:45:47.952: //-1/81DBEA7BB682/RXRULE/regxrule_get_profile_from_dialpeer_internal: Error: Invalid input peer_tag=0 direction=incoming
Jan 19 12:45:47.952: //-1/81DBEA7BB682/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x3FC986D4; count=1
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=40005, Params=0x3DF2F3B0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCheckClipClir:
In: Calling Number=70845917(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCheckClipClir:
Out: Calling Number=70845917(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCallSetupRequest:
Destination Pattern=41700$, Called Number=41700, Digit Strip=FALSE
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccCallSetupRequest:
Calling Number=70845917(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41700(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=
Account Number=, Final Destination Flag=TRUE,
Guid=81DBEA7B-FC4D-11E7-B682-A900D0AB6CD4, Outgoing Dial-peer=40005
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=70845917
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=41700
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x3EAC8FE0, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=70845917,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41700(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=40005, Call Count On=FALSE,
Source Trkgrp Route Label=pstn, Target Trkgrp Route Label=, tg_label_flag=1, Application Call Id=)
Jan 19 12:45:47.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.952: :cc_get_feature_vsa malloc success
Jan 19 12:45:47.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.952: cc_get_feature_vsa count is 2
Jan 19 12:45:47.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 19 12:45:47.952: :FEATURE_VSA attributes are: feature_name:0,feature_time:1062981280,feature_id:3747
Jan 19 12:45:47.952: //40734/81DBEA7BB682/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Jan 19 12:45:47.952: //40734/81DBEA7BB682/CCAPI/ccCallSetContext:
Context=0x3DF2F360
Jan 19 12:45:47.952: //40733/81DBEA7BB682/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=40005
Jan 19 12:45:47.956: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x3FC986D4; count=1
Jan 19 12:45:47.956: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x23445F84
Jan 19 12:45:47.956: //-1/81DBEA7BB682/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x3FC986D4; count=1
Jan 19 12:45:47.956: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: No match! number= matchPattern=id; |[; ]*id$ replacePattern=
Jan 19 12:45:47.956: //40734/81DBEA7BB682/CCAPI/cc_api_call_proceeding:
Interface=0x3EAC8FE0, Progress Indication=NULL(0)
Jan 19 12:45:48.044: //40734/81DBEA7BB682/CCAPI/cc_api_call_alert:
Interface=0x3EAC8FE0, Progress Indication=NULL(0), Signal Indication=SIGNAL RINGBACK(1)
Jan 19 12:45:48.044: //40734/81DBEA7BB682/CCAPI/cc_api_call_alert:
Call Entry(Retry Count=0, Responsed=TRUE)
Jan 19 12:45:48.044: //40733/81DBEA7BB682/CCAPI/ccCallAlert:
Progress Indication=NULL(0), Signal Indication=SIGNAL RINGBACK(1)
Jan 19 12:45:48.044: //40733/81DBEA7BB682/CCAPI/ccCallAlert:
Call Entry(Responsed=TRUE, Alert Sent=TRUE)
Jan 19 12:45:48.048: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 41700
Jan 19 12:45:48.048: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 1
Jan 19 12:45:49.800: //40734/81DBEA7BB682/CCAPI/cc_api_call_connected:
Interface=0x3EAC8FE0, Data Bitmask=0x81000001, Progress Indication=NULL(0),
Connection Handle=0
Jan 19 12:45:49.800: //40734/81DBEA7BB682/CCAPI/cc_api_call_connected:
Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
Jan 19 12:45:49.800: //40733/81DBEA7BB682/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Null,
Tone Direction=Network, Params=0x0, Call Id=40733
Jan 19 12:45:49.800: //40733/81DBEA7BB682/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID1=0x9F1D, gcid=81DBEA7B-FC4D11E7-B682A900-D0AB6CD4, tag=0x0)
Jan 19 12:45:49.800: //40734/81DBEA7BB682/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID2=0x9F1E, gcid=81DBEA7B-FC4D11E7-B682A900-D0AB6CD4, tag=0x0)
Jan 19 12:45:49.800: //40733/81DBEA7BB682/CCAPI/ccConferenceCreate:
Conference Id=0xFFFFFFFF, Call Id1=40733, Call Id2=40734, Tag=0x0
Jan 19 12:45:49.800: //40733/81DBEA7BB682/CCAPI/cc_api_bridge_done:
Conference Id=0x392, Source Interface=0x3F285AD0, Source Call Id=40733,
Destination Call Id=40734, Disposition=0x0, Tag=0xFFFFFFFF
Jan 19 12:45:49.800: //40734/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:49.800: cc_api_get_xcode_stream : 4982
Jan 19 12:45:49.800: //40734/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:49.800: cc_api_get_xcode_stream : 4982
Jan 19 12:45:49.804: //40734/81DBEA7BB682/CCAPI/cc_api_bridge_done:
Conference Id=0x392, Source Interface=0x3EAC8FE0, Source Call Id=40734,
Destination Call Id=40733, Disposition=0x0, Tag=0x0
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_generic_bridge_done:
Conference Id=0x392, Source Interface=0x3EAC8FE0, Source Call Id=40734,
Destination Call Id=40733, Disposition=0x0, Tag=0x0
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x392, Destination Call Id=40734)
Jan 19 12:45:49.804: //40734/81DBEA7BB682/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x392, Destination Call Id=40733)
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/ccConferenceCreate:

Jan 19 12:45:49.804: confID:0x392; callEntry1 callID1:0x9F1D, type:6; callEntry2 callID2:0x9F1E, type:3

Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_api_caps_ind:
Destination Interface=0x3EAC8FE0, Destination Call Id=40734, Source Call Id=40733,
Caps(Codec=0x1, Fax Rate=0x1, Fax Version:=0, Vad=0x1,
Modem=0x2, Codec Bytes=20, Signal Type=3)
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
Jan 19 12:45:49.804: //40734/81DBEA7BB682/CCAPI/cc_api_caps_ind:
Destination Interface=0x3F285AD0, Destination Call Id=40733, Source Call Id=40734,
Caps(Codec=0x1, Fax Rate=0x1, Fax Version:=0, Vad=0x2,
Modem=0x0, Codec Bytes=160, Signal Type=2)
Jan 19 12:45:49.804: //40734/81DBEA7BB682/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
Jan 19 12:45:49.804: //40734/81DBEA7BB682/CCAPI/cc_api_caps_ack:
Destination Interface=0x3F285AD0, Destination Call Id=40733, Source Call Id=40734,
Caps(Codec=g711ulaw(0x1), Fax Rate=FAX_RATE_NONE(0x1), Fax Version:=0, Vad=ON(0x2),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=5697)
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_api_caps_ack:
Destination Interface=0x3EAC8FE0, Destination Call Id=40734, Source Call Id=40733,
Caps(Codec=g711ulaw(0x1), Fax Rate=FAX_RATE_NONE(0x1), Fax Version:=0, Vad=ON(0x2),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=5697)
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/ccCallConnect:
Progress Indication=NULL(0), Data Bitmask=0x81000001
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/ccCallConnect:
Call Entry(Connected=TRUE, Responsed=TRUE)
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_api_voice_mode_event:
Call Id=40733
Jan 19 12:45:49.804: //40733/81DBEA7BB682/CCAPI/cc_api_voice_mode_event:
Call Entry(Context=0x3DF25BC8)
Jan 19 12:45:49.808: //40733/81DBEA7BB682/CCAPI/cc_process_notify_bridge_done:
Conference Id=0x392, Call Id1=40733, Call Id2=40734
ABMCARE-LEB-CME#
ABMCARE-LEB-CME#
ABMCARE-LEB-CME#
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Null,
Tone Direction=Sum Network, Params=0x0, Call Id=40733
Jan 19 12:45:57.096: //40734/81DBEA7BB682/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x3EAC8FE0, Call Id=40734
Jan 19 12:45:57.096: //40734/81DBEA7BB682/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/ccConferenceDestroy:
Conference Id=0x392, Tag=0x0
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/ccConferenceDestroy:

Jan 19 12:45:57.096: confID:0x392; callEntry1 callID1:0x9F1D, type:6; callEntry2 callID2:0x9F1E, type:3

Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x392, Source Interface=0x3F285AD0, Source Call Id=40733,
Destination Call Id=40734, Disposition=0x0, Tag=0x0
Jan 19 12:45:57.096: //40734/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:57.096: cc_api_get_xcode_stream : 4982
Jan 19 12:45:57.096: //40733/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:57.096: cc_api_get_xcode_stream : 4982
Jan 19 12:45:57.096: //40734/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:57.096: cc_api_get_xcode_stream : 4982
Jan 19 12:45:57.096: //40734/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jan 19 12:45:57.096: cc_api_get_xcode_stream : 4982
Jan 19 12:45:57.096: //40734/81DBEA7BB682/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x392, Source Interface=0x3EAC8FE0, Source Call Id=40734,
Destination Call Id=40733, Disposition=0x0, Tag=0x0
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/cc_generic_bridge_done:
Conference Id=0x392, Source Interface=0x3EAC8FE0, Source Call Id=40734,
Destination Call Id=40733, Disposition=0x0, Tag=0x0
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 19 12:45:57.096: //40733/81DBEA7BB682/CCAPI/cc_api_get_transfer_info:
Transfer Number=NULL
Jan 19 12:45:57.096: //40734/81DBEA7BB682/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jan 19 12:45:57.096: //40734/81DBEA7BB682/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 19 12:45:57.112: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.112: :Inside cc_build_feature_vsa
Jan 19 12:45:57.112: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.112: feature call basic
Jan 19 12:45:57.112: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.112: cc_build_feature_vsa attr is "TWC","01/19/2018 14:45:47.952","70845917","41700",0,3747,81DBEA7B FC4D11E7 B682A900 D0AB6CD4,9F1E,"","","",""
Jan 19 12:45:57.116: //40734/81DBEA7BB682/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3EAC8FE0, Tag=0x0, Call Id=40734,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 19 12:45:57.116: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0
Jan 19 12:45:57.116: //40734/81DBEA7BB682/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 19 12:45:57.116: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:57.116: :cc_free_feature_vsa freeing 3F5BCE98
Jan 19 12:45:57.116: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:57.116: vsacount in free is 1
Jan 19 12:45:57.128: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.128: :Inside cc_build_feature_vsa
Jan 19 12:45:57.128: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.128: feature call basic
Jan 19 12:45:57.128: //-1/xxxxxxxxxxxx/CCAPI/cc_build_csv_feature_vsa:

Jan 19 12:45:57.128: cc_build_feature_vsa attr is "TWC","01/19/2018 14:45:47.948","70845917","41700",0,3746,81DBEA7B FC4D11E7 B682A900 D0AB6CD4,9F1D,"","","",""
Jan 19 12:45:57.132: //40733/81DBEA7BB682/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3F285AD0, Tag=0x0, Call Id=40733,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 19 12:45:57.132: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x3FC986D4; count=1
Jan 19 12:45:57.132: //-1/81DBEA7BB682/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x23445F84
Jan 19 12:45:57.132: //40733/81DBEA7BB682/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 19 12:45:57.132: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 19 12:45:57.132: :cc_free_feature_vsa freeing 3F5BCCD8
Jan 19 12:45:57.132: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Dear Georgios,

As you can see above are the output of the debug voip ccapi inout and debug voice translation
The calling number is 70845917 and the called number is 01499399 which is FXO line
the below is the dial-peer configuration:

dial-peer voice 111 pots
call-block translation-profile incoming CallBlockUnkown
incoming called-number .T
no digit-strip
direct-inward-dial

voice translation-rule 1
rule 1 reject /^70845917$/

voice translation-profile CallBlockUnkown
translate calling 1
Kindly advise as when I call it still rings normally

The problem is that the desired incoming dial-peer is not matched:

Calling Number=70845917,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41700(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,

Instead the default dial-peer (0) is matched.

Try altering this in dial-peer configuration:

dial-peer voice 111 pots
incoming called-number .
Georgios
Please rate if you find this helpful.

Same thing as well I got the same in the debugs it did not solve the problem

Hi,

If the call is received without a calling number, you can't block it. Look
for isdn debugs and see what is in the calling number IE.

Dear Mohammed,

 

is it possible to block the number if it comes as an unknown caller and if the line is FXO not ISDN

As we are receiving several calls from him and this is denying the call manager lines

Hello, I am afraid this can not be done as the FXO line and plar command restricts the incoming dial-peer to be matched and, hence, the blocking translation-pattern to be applied.

Georgios
Please rate if you find this helpful.