cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
5
Helpful
3
Replies

CME num-exp is no match

Walk
Level 1
Level 1

hi everyone 

  PBX(3xxx) ---- E1 --- CME --- IPT

the call from PBX , calling : 3001 ,called : 71665

i want match "num-exp 71... 7171... " , and then match the dialpeer 71000, but is didn`t work , is there something wrong with the config ? pls hlep me .

the CME config (Related Partial Configuration):

voice call send-alert
voice call carrier capacity active
voice rtp send-recv
!
!
controller E1 0/2/0
clock source internal
ds0-group 0 timeslots 1-15,17-31 type r2-digital dtmf dnis
cas-custom 0
unused-abcd 1 0 1 1
country china
!
controller E1 0/3/0
framing NO-CRC4
pri-group timeslots 1-31
!
interface Serial0/3/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-qsig
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
control-plane
!
!
!
voice-port 0/2/0:0
cptone CN
!
voice-port 0/3/0:15
cptone CN
!
dial-peer cor custom
!
dial-peer voice 71000 voip
destination-pattern 71.....
session target ipv4:10.70.65.10
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
!
!
dial-peer voice 21000 pots
destination-pattern 21...
port 0/2/0:0
forward-digits 4
!
dial-peer voice 72000 voip
destination-pattern 72.....
session target ipv4:10.70.65.10
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
!
!
dial-peer voice 39000 pots
destination-pattern 39...
forward-digits 4
!
!
dial-peer voice 7738000 pots
destination-pattern 7738...
forward-digits 4
!
!
dial-peer voice 22000 pots
destination-pattern 22...
port 0/3/0:15
forward-digits 4
!
!
dial-peer voice 8322000 pots
destination-pattern 8322...
port 0/3/0:15
forward-digits all
!
num-exp 71... 7171...
!
telephony-service
max-ephones 10
max-dn 10
ip source-address 10.112.254.1 port 2000
auto assign 1 to 10
max-conferences 12 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00

the debug :

UMT-3845-1#debug voip ccapi all
voip ccapi all debugging is on
UMT-3845-1#
Nov 17 06:50:37.215: //42723/5CFC1B3EA4F4/CCAPI/cc_api_call_feature:
Feature Type=6, Interface=0x66B1C264, Call Id=42723
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/ccCallGetVoipFlag:
Data Bitmask=0x1, Call Id=42723
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/ccCallGetVoipFlag:
Flag=FALSE
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x66B1C264, Tag=0x0, Call Id=42723,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_api_call_disconnect_done:
Prefix Is Not Defined From Peer; Peer=21000, Called Number=212121672
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_delete_guid_pod_entry:
Incoming=FALSE
Nov 17 06:50:37.535: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Nov 17 06:50:37.535: :cc_free_feature_vsa freeing 66ADC420
Nov 17 06:50:37.535: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Nov 17 06:50:37.535: vsacount in free is 6
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_delete_call_entry:
Total Call Count=3, Call Entry(Call Count On=FALSE, Incoming Call=FALSE)
Nov 17 06:50:37.535: //42723/5CFC1B3EA4F4/CCAPI/cc_delete_call_entry:
Deleting profileTable[0x680C5364]
UMT-3845-1#
UMT-3845-1#
UMT-3845-1#
Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=3001
cisco-anitype=0
cisco-aniplan=9
cisco-anipi=0
cisco-anisi=0
dest=71665
cisco-desttype=0
cisco-destplan=9
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

Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/cc_api_call_setup_ind_common:
Interface=0x66E30FC8, Call Info(
Calling Number=3001,(Calling Name=)(TON=Unknown, NPI=Private, Screening=Not Screened, Presentation=Allowed),
Called Number=71665(TON=Unknown, NPI=Private),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=22000, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/cc_api_call_setup_ind_common:
Interface Type=13, Protocol=0
Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/ccCheckClipClir:
In: Calling Number=3001(TON=Unknown, NPI=Private, Screening=Not Screened, Presentation=Allowed)
Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/ccCheckClipClir:
Calling Party Number Is User Provided
Nov 17 06:51:01.811: //-1/089B1B168B8E/CCAPI/ccCheckClipClir:
Out: Calling Number=3001(TON=Unknown, NPI=Private, Screening=Not Screened, Presentation=Allowed)
Nov 17 06:51:01.811: //42736/xxxxxxxxxxxx/CCAPI/cc_insert_call_entry:
Total Call Count=3, Call Entry(Call Count On=FALSE, Incoming Call=TRUE)
Nov 17 06:51:01.811: //42736/xxxxxxxxxxxx/CCAPI/cc_insert_call_entry:
Total Call Count=4
Nov 17 06:51:01.811: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Nov 17 06:51:01.811: :cc_get_feature_vsa malloc success
Nov 17 06:51:01.811: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Nov 17 06:51:01.811: cc_get_feature_vsa count is 7
Nov 17 06:51:01.811: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Nov 17 06:51:01.811: :FEATURE_VSA attributes are: feature_name:0,feature_time:1722663976,feature_id:42736
Nov 17 06:51:01.811: //-1/xxxxxxxxxxxx/CCAPI/cc_init_call_entry:

Nov 17 06:51:01.811: call_init_entry calle is 665D8C60,callid is 42736
Nov 17 06:51:01.811: //42736/089B1B168B8E/CCAPI/cc_insert_guid_pod_entry:
Incoming=TRUE, Call Id=42736
Nov 17 06:51:01.811: //42736/089B1B168B8E/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=3001(TON=Unknown, NPI=Private, Screening=Not Screened, Presentation=Allowed),
Called Number=71665(TON=Unknown, NPI=Private))
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_process_call_setup_ind:
Event=0x665EB478
Nov 17 06:51:01.815: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_registration_lookup:
Matching Parameters; Called Number=71665, Call Transfer Consult Id=
Nov 17 06:51:01.815: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Searching Node;
Called Number=71665, Call Transfer Consult Id=
Nov 17 06:51:01.815: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_compare:

Nov 17 06:51:01.815: Comparing SSOpCode; 0x50 and 0x0
Nov 17 06:51:01.815: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_compare:

Nov 17 06:51:01.815: Comparing SSOpCode; 0x12 and 0x0
Nov 17 06:51:01.815: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_registration_lookup:
No Matching Node
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccCallSetContext:
Context=0x6568C570
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 42736 with tag 22000 to app "_ManagedAppProcess_Default"
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccCallSetupAck:
Call Id=42736
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_api_set_transfer_info:
Call Transfer Reset
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=42736
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
Nov 17 06:51:01.815: //42736/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0xA6F0, digit_event=0x1, enable=TRUE, consume=FALSE)
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=42736
Nov 17 06:51:01.815: //42736/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x66E30FC8, callID=0xA6F0, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x66E30FC8, Call Id=42736
Nov 17 06:51:01.815: //42736/089B1B168B8E/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=10000(ms), Inter Digit Timeout=10000(ms))
Nov 17 06:51:01.815: %ISDN-6-CONNECT: Interface Serial0/3/0:1 is now connected to 3001 N/A
Nov 17 06:51:07.815: %ISDN-6-CONNECT: Interface Serial0/3/0:1 is now connected to 3001 N/A
Nov 17 06:51:11.251: %ISDN-6-DISCONNECT: Interface Serial0/3/0:1 disconnected from 3001 , call lasted 9 seconds
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x66E30FC8, Call Id=42736
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=FALSE, Cause Value=16, Retry Count=0)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/ccCallDisconnect:
Start Calling Accounting;
Call Entry(Incoming=TRUE)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Disconnect Cause=16)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/ccCallDisconnect:
Call Entry(Disconnect Cause=16)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Nov 17 06:51:11.251: //42736/089B1B168B8E/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
Nov 17 06:51:11.251: //-1/xxxxxxxxxxxx/CCAPI/cc_get_call_entry:
CALL_ERROR_INFORMATIONAL; Call Id Is Invalid=-1
Nov 17 06:51:11.251: //42736/xxxxxxxxxxxx/CCAPI/cc_api_request_rt_packet_stats_done:
CALL_ERROR_INFORMATIONAL; tag not properly returned from SPI
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/ccCallGetVoipFlag:
Data Bitmask=0x1, Call Id=42736
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/ccCallGetVoipFlag:
Flag=FALSE
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x66E30FC8, Tag=0x0, Call Id=42736,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_delete_guid_pod_entry:
Incoming=TRUE
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_delete_call_entry:
ccFreeRawMsgInfo=0x665F1B44
Nov 17 06:51:11.271: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Nov 17 06:51:11.271: :cc_free_feature_vsa freeing 66ADC420
Nov 17 06:51:11.271: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Nov 17 06:51:11.271: vsacount in free is 6
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_delete_call_entry:
Total Call Count=4, Call Entry(Call Count On=FALSE, Incoming Call=TRUE)
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_delete_call_entry:
Total Call Count=3
Nov 17 06:51:11.271: //42736/089B1B168B8E/CCAPI/cc_delete_call_entry:

3 Replies 3

b.winter
VIP
VIP

Hi,

I would recommend, that you use voice translation-rules instead of num-expressions, since num-expressions are a very old command and voice translations are more customizeable, and I think give a clearer picture of where in the flow which translation happens.

E.g.:
voice translation-rule 22000
rule 1 // /71\0/ --> Takes everything and prefixes the number with 71 (e.g. 123456 --> 71123456)
!
voice translation-profile from_PBX
translate called 22000
!
dial-peer voice 22000
translation-profile incoming from_PBX

Tks for hlep . I also want to use voice translation-rules instead of num-expressions , but the router is already used num-expressions for globle number translation , I can't change the existing configuration 

You can use both in parallel if you want and have a need for it. Even so I would agree with @b.winter that you'd do best in using voice translation instead of num-exp. With a little effort it should not be impossible to map out what you do with num-exp today and convert that to using voice translation rules and profiles instead.

On the no match for the num-exp, in this document it is explained how this operates. 
https://www.cisco.com/c/en/us/support/docs/voice/ip-telephony-voice-over-ip-voip/211306-In-Depth-Explanation-of-Cisco-IOS-and-IO.html#anc44 

The document outlines this for how num-exp is applied. "The modification is applied to the called number AFTER the dial-peer has been matched and right before the call is sent to the next call-agent." With this you'll have to get the dial-peer, in the outbound direction, to match and based from your shared configuration and debug there are no match on a dial peer in that direction. You'll need to alter the destination pattern on dial peer 71000 to match the called number as it stands when the call enters the router via the E1 connection. Based what you shared you would need to do this change for the intended dial peer to match so that the num-exp can kick in.

dial-peer voice 71000 voip
 destination-pattern 71...$

The $ at the end means end of "string", so the router would not wait for any additional digits after it matches the fifth digit on this dial peer. The resulting called number sent to session target 10.70.65.10 once the dial peer has been matched and the num-exp has been executed will be 7171665.



Response Signature


Getting Started

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: