03-26-2013 10:32 AM - edited 03-16-2019 04:27 PM
I opened replied to a thread similar to this, but I need some assistance please!
I'm dealing with something similar to this but here's my flow
ISP/ITSP->ASA-CUBE->CUCMBE
Outbound calls work fine, it's inbound that's getting me...here's my config.
voice translation-rule 10
rule 1 /^\+1\(..........\)$/ /\1/
!
!
voice translation-profile in_rmv_plus1
translate called 10
!
!
dial-peer voice 100 voip
description Incoming dialpeer and 1+10 digits to Intelepeer
translation-profile incoming in_rmv_plus1
destination-pattern ^1[2-9]..[2-9]......$
session protocol sipv2
session target sip-server
session transport tcp
incoming called-number .T
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
dial-peer voice 101 voip
description 10-digit local calls to Intelepeer
destination-pattern ^[2-9]..[2-9]......$
session protocol sipv2
session target sip-server
session transport tcp
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
dial-peer voice 102 voip
description International calls to Intelepeer
destination-pattern ^011T
session protocol sipv2
session target sip-server
session transport tcp
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
dial-peer voice 103 voip
description N11 calls to Intelepeer
destination-pattern ^[2-9]11$
session protocol sipv2
session target sip-server
session transport tcp
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
dial-peer voice 300 voip
description 20890138XX calls to primary CUCM
huntstop
preference 1
destination-pattern ^20890138..$
session protocol sipv2
session target ipv4:192.168.1.8
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
dial-peer voice 302 voip
description Incoming calls from primary CUCM
huntstop
session protocol sipv2
session target ipv4:192.168.1.8
incoming called-number .
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
!
gateway
timer receive-rtp 1200
!
sip-ua
retry invite 2
retry bye 2
retry cancel 2
retry register 10
sip-server ipv4:68.68.120.82
!
I don't require a UA username and password..
****Debug Output******
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=+12089013875, Called Number=+12089013875, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=+12089013875
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=+12089013875, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=+12089013875, Called Number=+12089013875, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=+12089013875
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=+12089013875, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Mar 26 17:12:21.506: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=+12089013875, Called Number=+12089013875, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=+12089013875
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=+12089013875, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Mar 26 17:12:17.606: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=+12089013875, Called Number=+12089013875, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=+12089013875
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Mar 26 17:12:21.502: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=+12089013875, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Mar 26 17:12:21.506: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
03-26-2013 11:47 AM
I've tried creating a dial-peer to match the number exact but no luck...Any suggestions?
03-26-2013 12:14 PM
Dear Keneth
please find the below configuration, if it will work ok we can fix all problems but firstly check the below. I hope also to delete 100 & 302 for only test be sure that you have an ext
voice translation-rule 10
rule 1 /^+1\(..........\)$/ /\1/
voice translation-profile in_rmv_plus1
translate called 10
dial-peer voice 300 voip
description 20890138XX calls to primary CUCM
translation-profile incoming in_rmv_plus1
destination-pattern ^20890138..$
session protocol sipv2
session target ipv4:192.168.1.8
voice-class codec 1
dtmf-relay rtp-nte
Thank you
please rate , if this will help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide