10-20-2015 07:37 PM - edited 03-17-2019 04:38 AM
i config the dial-peer like this
dial-peer voice 1007 pots
translation-profile incoming CallBack
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
incoming called-number 843791...
fax rate disable
direct-inward-dial
!
dial-peer voice 1008 pots
translation-profile incoming CallBack
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
incoming called-number 843792...
fax rate disable
direct-inward-dial
dial-peer voice 1006 pots
translation-profile incoming E1-incoming
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
service csyw
incoming called-number 8437....
fax rate disable
direct-inward-dial
!
but when i dial a number 84379110,the call should match 1007 but it match 1006,why ????
.Oct 21 10:16:51.808: //-1/A039182898E2/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=13311173269
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=3
dest=84379110
cisco-desttype=4
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
.Oct 21 10:16:51.808: //-1/A039182898E2/CCAPI/cc_api_call_setup_ind_common:
Interface=0x14FE6664, Call Info(
Calling Number=13311173269,(Calling Name=)(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
Called Number=84379110(TON=Subscriber, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=1006, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
.Oct 21 10:16:51.808: //-1/A039182898E2/CCAPI/ccCheckClipClir:
In: Calling Number=13311173269(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
.Oct 21 10:16:51.808: //-1/A039182898E2/CCAPI/ccCheckClipClir:
Out: Calling Number=13311173269(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
.Oct 21 10:16:51.808: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
.Oct 21 10:16:51.808: :cc_get_feature_vsa malloc success
.Oct 21 10:16:51.808: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
.Oct 21 10:16:51.808: cc_get_feature_vsa count is 226
.Oct 21 10:16:51.808: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
.Oct 21 10:16:51.808: :FEATURE_VSA attributes are: feature_name:0,feature_time:369343064,feature_id:936110
.Oct 21 10:16:51.808: //1460499/A039182898E2/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=13311173269(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
Called Number=84379110(TON=Subscriber, NPI=ISDN))
.Oct 21 10:16:51.808: //1460499/A039182898E2/CCAPI/cc_process_call_setup_ind:
Event=0x245DBE0
.Oct 21 10:16:51.808: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 84379110
.Oct 21 10:16:51.812: //1460499/A039182898E2/CCAPI/ccCallSetContext:
Context=0x133506C4
.Oct 21 10:16:51.812: //1460499/A039182898E2/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 1460499 with tag 1006 to app "_ManagedAppProcess_CSYW"
.Oct 21 10:16:52.008: //1460496/9FBDCD5298E1/CCAPI/ccCallSetupAck:
10-20-2015 07:48 PM
Hi.
This because dialpeer is more specific for dialed number
On DP 1007 you have
incoming called-number 843791... ( 3 dots)
while on DP 1006 you have
incoming called-number 84379...
which is the best option for dialed number
Try to eliminate a dot from DP 1007 and it should be the best option
Let me know
HTH
Regards
Carlo
10-20-2015 10:57 PM
a ....sorry ....i mistake
the right is 843791.. 2dot...
10-20-2015 10:01 PM
First of all, you having overlapping dial-peer which can cause this issue this is not at all recommended to configured in such way .either Set the preference or set inter-digit time out . also you apply the configuration as suggested carlo too.
br,
Nadeem
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: