cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3096
Views
0
Helpful
8
Replies

matching wrong dial peer

Joli Martinez
Level 1
Level 1

hello,

I need help with this.  We have an outbound dial peer and it is being matched on the inbound side and calls are not going out to the carrier.  Instead circling back to the PBX.

PBX: 10.21.10.12

Carrier: 1.1.1.1

LAN Cube: 10.21.10.250

Calling: 13053284888

Called: 8889990*3051234567

!

dial-peer voice 200 voip

description OUTBOUND Carrier1

translation-profile outgoing Carrier1

destination-pattern 1[2-9]..[2-9]......

session protocol sipv2

session target ipv4:1.1.1.1

!

dial-peer voice 201 voip

description INBOUND from FS

destination-pattern ^1...$

session protocol sipv2

session target ipv4:10.21.10.12

--------------------------------------------------------------------------

INVITE sip:8889990*3051234567@10.21.10.250 SIP/2.0
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK4FSD31mDDt79e
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=4FcXBHZ4X3tZg
To: <sip:8889990*3051234567@10.21.10.250>
Call-ID: d49e922e-09be-1235-41bf-005056820b2e
CSeq: 97726988 INVITE
Contact: <sip:gw+f170dc57-cdf4-4115-933c-7c9b5d4e1fed@10.21.10.12:5080;transport=udp;gw=f170dc57-cdf4-4115-933c-7c9b5d4e1fed>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 289
X-accountcode: 10.21.10.12
X-FS-Support: update_display,send_info
Remote-Party-ID: "1001" <sip:13053284888@10.21.10.250>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1476108761 1476108762 IN IP4 10.21.10.12
s=FreeSWITCH
c=IN IP4 10.21.10.12
t=0 0
m=audio 17344 RTP/AVP 0 8 3 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20

*Oct 10 18:35:19.261: //-1/213CC85D9ABD/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=13053284888
----- ccCallInfo IE subfields -----
cisco-ani=13053284888
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=1
dest=8889990*3051234567
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Oct 10 18:35:19.261: //-1/213CC85D9ABD/CCAPI/cc_api_call_setup_ind_common:
Interface=0x23036E14, Call Info(
Calling Number=13053284888,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=8889990*3051234567(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=200, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1530
*Oct 10 18:35:19.261: //-1/213CC85D9ABD/CCAPI/ccCheckClipClir:
In: Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
*Oct 10 18:35:19.261: //-1/213CC85D9ABD/CCAPI/ccCheckClipClir:
Out: Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
*Oct 10 18:35:19.261: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 18:35:19.261: :cc_get_feature_vsa malloc success
*Oct 10 18:35:19.261: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 18:35:19.261: cc_get_feature_vsa count is 1
*Oct 10 18:35:19.261: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 18:35:19.261: :FEATURE_VSA attributes are: feature_name:0,feature_time:592111880,feature_id:1482
*Oct 10 18:35:19.261: //1530/213CC85D9ABD/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=8889990*3051234567(TON=Unknown, NPI=Unknown))
*Oct 10 18:35:19.261: //1530/213CC85D9ABD/CCAPI/cc_process_call_setup_ind:
Event=0x22C44B78
*Oct 10 18:35:19.261: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 8889990*3051234567
*Oct 10 18:35:19.261: //1530/213CC85D9ABD/CCAPI/ccCallSetContext:
Context=0x3DF0A054
*Oct 10 18:35:19.265: //1530/213CC85D9ABD/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 1530 with tag 200 to app "_ManagedAppProcess_Default"
*Oct 10 18:35:19.265: //1530/213CC85D9ABD/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Oct 10 18:35:19.265: //1530/213CC85D9ABD/CCAPI/ccCallDisconnect:
Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Oct 10 18:35:19.265: //1530/213CC85D9ABD/CCAPI/ccCallDisconnect:
Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
*Oct 10 18:35:19.265: //1530/213CC85D9ABD/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK4FSD31mDDt79e
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=4FcXBHZ4X3tZg
To: <sip:8889990*3051234567@10.21.10.250>
Date: Mon, 10 Oct 2016 18:35:19 GMT
Call-ID: d49e922e-09be-1235-41bf-005056820b2e
CSeq: 97726988 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.2.4.M7
Content-Length: 0


*Oct 10 18:35:19.265: //1530/213CC85D9ABD/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK4FSD31mDDt79e
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=4FcXBHZ4X3tZg
To: <sip:8889990*3051234567@10.21.10.250>;tag=969D148-ACD
Date: Mon, 10 Oct 2016 18:35:19 GMT
Call-ID: d49e922e-09be-1235-41bf-005056820b2e
CSeq: 97726988 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.2.4.M7
Reason: Q.850;cause=1
Content-Length: 0


*Oct 10 18:35:19.265: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:8889990*3051234567@10.21.10.250 SIP/2.0
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK4FSD31mDDt79e
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=4FcXBHZ4X3tZg
To: <sip:8889990*3051234567@10.21.10.250>;tag=969D148-ACD
Call-ID: d49e922e-09be-1235-41bf-005056820b2e
CSeq: 97726988 ACK
Content-Length: 0

1 Accepted Solution

Accepted Solutions

there should always 2 dial peers getting matched an inbound dial peer and an outbound dial peer.

so on the inbound dial peer coming from you freeswitch you need an inbound dial peer, probably getting matched on calling number (representing the calling number of the number range(s) on the freeswitch. then put a translation pattern on that same inbound dial peer, that prefixes 8889990* the create a n outbound dialpeer that matches 8889990*3051234567  as a pattern and point it to the IP address of your carrier.   That is the theory you should follow

Please remember to rate useful posts, by clicking on the stars below.

View solution in original post

8 Replies 8

Jaime Valencia
Cisco Employee
Cisco Employee

You need to post all the relevant config, and not just what you consider relevant.

From the debug, you're dialing 8889990*3051234567

The dial peer you're posting is supposed to match 

destination-pattern 1[2-9]..[2-9]......

It also shows a translation rule which is not posted.

Do a debug dial peer to find out what you're matching in your config.

HTH

java

if this helps, please rate

Bellow is the output of the debug dialpeer.  

VoiceGW#debug voip dialpeer all
voip dialpeer all debugging is on
VoiceGW#term mon
VoiceGW#
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:8889990*3051234567@10.21.10.250 SIP/2.0
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK5rj64v5ga3Xva
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=5r5NDcg8tcHjc
To: <sip:8889990*3051234567@10.21.10.250>
Call-ID: 67909f07-09ce-1235-41bf-005056820b2e
CSeq: 97730333 INVITE
Contact: <sip:gw+f170dc57-cdf4-4115-933c-7c9b5d4e1fed@10.21.10.12:5080;transport=udp;gw=f170dc57-cdf4-4115-933c-7c9b5d4e1fed>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 289
X-accountcode: 10.21.10.12
X-FS-Support: update_display,send_info
Remote-Party-ID: "1001" <sip:13053284888@10.21.10.250>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1476104432 1476104433 IN IP4 10.21.10.12
s=FreeSWITCH
c=IN IP4 10.21.10.12
t=0 0
m=audio 28362 RTP/AVP 0 8 3 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20

*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=8889990*3051234567, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=13053284888, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=200 Is Matched
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=200
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=13053284888, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=200 Is Matched
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=200
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 10 20:26:48.216: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Calling Number=13053284888, Called Number=8889990*3051234567, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_VIA_URI; URI=sip:10.21.10.12:5080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_REQUEST_URI; URI=sip:8889990*3051234567@10.21.10.250
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_TO_URI; URI=sip:8889990*3051234567@10.21.10.250
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_FROM_URI; URI=sip:FreeSWITCH@10.21.10.250
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=8889990*3051234567
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=200 Is Matched
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=200
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 10 20:26:48.216: //-1/B42A66129B63/DPM/dpAssociateIncomingPeerSPI:exit@6659
*Oct 10 20:26:48.216: //-1/B42A66129B63/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=13053284888
----- ccCallInfo IE subfields -----
cisco-ani=13053284888
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=1
dest=8889990*3051234567
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Oct 10 20:26:48.220: //-1/B42A66129B63/CCAPI/cc_api_call_setup_ind_common:
Interface=0x23036E14, Call Info(
Calling Number=13053284888,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=8889990*3051234567(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=200, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1564
*Oct 10 20:26:48.220: //-1/B42A66129B63/CCAPI/ccCheckClipClir:
In: Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
*Oct 10 20:26:48.220: //-1/B42A66129B63/CCAPI/ccCheckClipClir:
Out: Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 20:26:48.220: :cc_get_feature_vsa malloc success
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 20:26:48.220: cc_get_feature_vsa count is 1
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Oct 10 20:26:48.220: :FEATURE_VSA attributes are: feature_name:0,feature_time:592111880,feature_id:1515
*Oct 10 20:26:48.220: //1564/B42A66129B63/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=13053284888(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=8889990*3051234567(TON=Unknown, NPI=Unknown))
*Oct 10 20:26:48.220: //1564/B42A66129B63/CCAPI/cc_process_call_setup_ind:
Event=0x22C44B78
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 8889990*3051234567
*Oct 10 20:26:48.220: //1564/B42A66129B63/CCAPI/ccCallSetContext:
Context=0x3DF0F214
*Oct 10 20:26:48.220: //1564/B42A66129B63/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 1564 with tag 200 to app "_ManagedAppProcess_Default"
*Oct 10 20:26:48.220: //1564/B42A66129B63/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Calling Number=, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Calling Number=, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.220: //-1/B42A66129B63/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=8889990*3051234567, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=8889990*3051234567, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=8889990*3051234567
*Oct 10 20:26:48.220: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=8889990*3051234567
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=8889990*3051234567, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=8889990*3051234567
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=8889990*3051234567
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=8889990*3051234567T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.224: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Calling Number=, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchCore:
Result=-1
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
*Oct 10 20:26:48.224: //-1/B42A66129B63/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
*Oct 10 20:26:48.224: //1564/B42A66129B63/CCAPI/ccCallDisconnect:
Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Oct 10 20:26:48.224: //1564/B42A66129B63/CCAPI/ccCallDisconnect:
Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
*Oct 10 20:26:48.224: //1564/B42A66129B63/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK5rj64v5ga3Xva
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=5r5NDcg8tcHjc
To: <sip:8889990*3051234567@10.21.10.250>
Date: Mon, 10 Oct 2016 20:26:48 GMT
Call-ID: 67909f07-09ce-1235-41bf-005056820b2e
CSeq: 97730333 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.2.4.M7
Content-Length: 0


*Oct 10 20:26:48.224: //1564/B42A66129B63/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK5rj64v5ga3Xva
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=5r5NDcg8tcHjc
To: <sip:8889990*3051234567@10.21.10.250>;tag=9CFE208-1827
Date: Mon, 10 Oct 2016 20:26:48 GMT
Call-ID: 67909f07-09ce-1235-41bf-005056820b2e
CSeq: 97730333 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.2.4.M7
Reason: Q.850;cause=1
Content-Length: 0


*Oct 10 20:26:48.228: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:8889990*3051234567@10.21.10.250 SIP/2.0
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bK5rj64v5ga3Xva
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=5r5NDcg8tcHjc
To: <sip:8889990*3051234567@10.21.10.250>;tag=9CFE208-1827
Call-ID: 67909f07-09ce-1235-41bf-005056820b2e
CSeq: 97730333 ACK
Content-Length: 0


*Oct 10 20:26:48.228: //1564/B42A66129B63/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x23036E14, Tag=0x0, Call Id=1564,
Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
*Oct 10 20:26:48.228: //1564/B42A66129B63/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Oct 10 20:26:48.228: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Oct 10 20:26:48.228: :cc_free_feature_vsa freeing 234AE900
*Oct 10 20:26:48.228: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Oct 10 20:26:48.228: vsacount in free is 0

There you have it, there's no match to route your calls.

*Oct 10 20:26:48.212: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

If that's all the configuration you have, there's nothing to route your calls, not sure how you wanted them to work if there's no dial peer to match 8889990*3051234567

You need to configure your dial plan and dial peers in your GW for calls to work.

HTH

java

if this helps, please rate

Why is it matching in the inbound side?  How can I fix this to match it on the outbound side?  I need only two dial peers.  One from the Freeswitch to the Cube and the other from the Cube to the Carrier.  Nothing else.

voice translation-rule8889990

rule 1 // /8889990*/

voice translation-profile Carrier1

translate called8889990

dial-peer voice 200 voip

description OUTBOUND Carrier1

translation-profile outgoing Carrier1

destination-pattern 1[2-9]..[2-9]......

session protocol sipv2

session target ipv4:1.1.1.1

the best thing to do is set up a test dial peer for the exact number that you are testing on:

8889990*3051234567

so I am assuming your are trying to strip off 8889990* from that number correct? or are you trying to prefix that 

so what you are left with is a number 3051234567 that you want to present outbound to your carrier? or do you want to present 8889990*3051234567 to your carrier?

tell us what is is you want to achieve, cos whatever it is, there is no dialpeer getting matched on the outbound leg on your CUBE

Please remember to rate useful posts, by clicking on the stars below.

I am trying to send a call to the carrier prefixed with 8889990*   This dialpeer is being matched but from the FreeSwitch to the Cube.  I am looking for a dialpeer that accepts all calls from the FreeSwitch box and sends it out the carrier prefixed with 8889990*

FS has no manipulation

Cube to carrier is prefixed

FS -> Cube -> Carrier

I would like the Carrier dial peer to only match for outbound, so no calls should come in that dial peer.  As well as for the FreeSwitch I would like the dial peer to only match in the inbound side and only allow calls to initiate from Freeswitch.

there should always 2 dial peers getting matched an inbound dial peer and an outbound dial peer.

so on the inbound dial peer coming from you freeswitch you need an inbound dial peer, probably getting matched on calling number (representing the calling number of the number range(s) on the freeswitch. then put a translation pattern on that same inbound dial peer, that prefixes 8889990* the create a n outbound dialpeer that matches 8889990*3051234567  as a pattern and point it to the IP address of your carrier.   That is the theory you should follow

Please remember to rate useful posts, by clicking on the stars below.

Call is now matching on the Inbound and Outbound side.

thanks

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: