10-13-2016 09:35 AM - edited 03-17-2019 08:21 AM
Hello,
Dial-peer 200 is set with a session target of our carriers IP. But for some reason even though call is matching the dial peer the call gets sent to the routers LAN IP. it doesnt go to the carrier.
dial-peer voice 200 voip
description OUTBOUND Carrier1
max-conn 2
destination-pattern 8889990*[2-9]..[2-9]......
session protocol sipv2
session target ipv4:1.1.1.1
voice-class codec 21
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
VoiceGW#
*Oct 12 16:30:41.213: //-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=z9hG4bKa6g2D4S2UFDtm
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=a63HpK4ScS0Fp
To: <sip:8889990*3051234567@10.21.10.250>
Call-ID: c09b9f1a-0b3f-1235-41bf-005056820b2e
CSeq: 97809650 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 1476263554 1476263555 IN IP4 10.21.10.12
s=FreeSWITCH
c=IN IP4 10.21.10.12
t=0 0
m=audio 27874 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 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=8889990*3051234567, Called Number=8889990*3051234567, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=8889990*3051234567
*Oct 12 16:30:41.213: //-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 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=200 Is Matched
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=8889990*3051234567, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=200
*Oct 12 16:30:41.213: //-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 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.213: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=201 Is Matched
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 12 16:30:41.217: //-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 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=201 Is Matched
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 12 16:30:41.217: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6708
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/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 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_VIA_URI; URI=sip:10.21.10.12:5080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_REQUEST_URI; URI=sip:8889990*3051234567@10.21.10.250
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_TO_URI; URI=sip:8889990*3051234567@10.21.10.250
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_FROM_URI; URI=sip:FreeSWITCH@10.21.10.250
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=8889990*3051234567
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=8889990*3051234567, Expanded String=8889990*3051234567, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=13053284888
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Result=-1
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=13053284888
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=13053284888T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=201 Is Matched
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchPeertype:exit@6080
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 12 16:30:41.217: //-1/0CCD6A4BAD69/DPM/dpAssociateIncomingPeerSPI:exit@6659
*Oct 12 16:30:41.221: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 488 Not Acceptable Media
Via: SIP/2.0/UDP 10.21.10.12:5080;rport;branch=z9hG4bKa6g2D4S2UFDtm
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=a63HpK4ScS0Fp
To: <sip:8889990*3051234567@10.21.10.250>;tag=13446E38-1980
Date: Wed, 12 Oct 2016 16:30:41 GMT
Call-ID: c09b9f1a-0b3f-1235-41bf-005056820b2e
CSeq: 97809650 INVITE
Allow-Events: telephone-event
Warning: 304 10.21.10.250 "Media Type(s) Unavailable"
Reason: Q.850;cause=65
Server: Cisco-SIPGateway/IOS-15.2.4.M7
Content-Length: 0
*Oct 12 16:30:41.221: //-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=z9hG4bKa6g2D4S2UFDtm
Max-Forwards: 69
From: "1001" <sip:FreeSWITCH@10.21.10.250>;tag=a63HpK4ScS0Fp
To: <sip:8889990*3051234567@10.21.10.250>;tag=13446E38-1980
Call-ID: c09b9f1a-0b3f-1235-41bf-005056820b2e
CSeq: 97809650 ACK
Content-Length: 0
10-13-2016 10:32 AM
What codecs does your ISP support??
And are you using those in the voice class codec??
10-13-2016 10:52 AM
My carrier supports g711 and that is what I have on the codec profile
voice class codec 21
codec preference 1 g711ulaw
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: