cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
825
Views
0
Helpful
7
Replies

Cisco 2801 and Skype

gagomez85
Level 1
Level 1

Hi, I am trying to config a Sip trunk on my router this is a Cisco Router 2801 with ios c2801-ipvoicek9-mz.124-25b.bin.

My actual configuration is the following:

dial-peer voice 9997 voip

description Skype Incoming

voice-class codec 1

session protocol sipv2

session target sip-server

incoming called-number  <Skype User 999XXXXXXX>

dtmf-relay rtp-nte

no vad

dial-peer voice 9998 voip

description Skype Outgoing

destination-pattern 8003333333

voice-class codec 1

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

no vad

sip-ua

authentication username <Skype User 999XXXXXXX> password <Skype User Password> realm sip.skype.com

registrar dns:sip.skype.com expires 3600

sip-server dns:sip.skype.com

can someone help me.
Regards
Gerardo

7 Replies 7

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Gerardo,

What do you need help with?

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

My configuration is not working at this time, so I need help to troubleshoot this configuration.

Send us a "debug ccsip messsages"

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Aokanlawon:
This is the debug of the call:
 

14w5d: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=, Called Number=, Voice-Interface=0x640B5D74,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=3

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=4, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=4

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=44, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=44

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=44#, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=44#

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=44#0, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=44#0

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=44#08, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=44#08

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=9998

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=44#08, Peer Info Type=DIALPEER_INFO_SPEECH

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=44#08

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

14w5d: //-1/87838802B5B2/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=9998

     2: Dial-peer Tag=8

14w5d: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_SETUP

14w5d: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_DNS_RESOLVE

14w5d: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

INVITE sip:8003333333@sip.skype.com:5060 SIP/2.0

Via: SIP/2.0/UDP  200.47.3.252:5060;branch=z9hG4bK2A6DB1A7E

From: ;tag=13D70C38-8C8

To: <>8003333333@sip.skype.com>

Date: Mon, 25 Mar 2013 21:19:37 GMT

Call-ID: 882F09BB-94C811E2-B5B5A8FD-DFB532DD@200.47.3.252

Supported: 100rel,timer,replaces

Min-SE:  1800

Cisco-Guid: 2273544194-2496139746-3048384765-3753194205

User-Agent: Cisco-SIPGateway/IOS-12.x

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER

CSeq: 101 INVITE

Max-Forwards: 70

Timestamp: 1364246377

Contact: <200.47.3.252:5060>

Expires: 180

Allow-Events: telephone-event

Content-Type: application/sdp

Content-Length: 306

v=0

o=CiscoSystemsSIP-GW-UserAgent 9627 6283 IN IP4 200.47.3.252

s=SIP Call

c=IN IP4 200.47.3.252

t=0 0

m=audio 18872 RTP/AVP 0 8 18 101

c=IN IP4 200.47.3.252

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

14w5d: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 100 Trying

From: ;tag=13D70C38-8C8

To: <>8003333333@sip.skype.com>

Call-ID: 882F09BB-94C811E2-B5B5A8FD-DFB532DD@200.47.3.252

CSeq: 101 INVITE

Via: SIP/2.0/UDP 200.47.3.252:5060;branch=z9hG4bK2A6DB1A7E

Timestamp: 1364246377

Contact: <>8003333333@sip.skype.com:5060;maddr=63.209.144.201;transport=udp>

Content-Length: 0

14w5d: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 404 Not Found

From: ;tag=13D70C38-8C8

To: <>8003333333@sip.skype.com>;tag=c990d13f-13c4-5150b63c-95b737aa-23b82bdd

Call-ID: 882F09BB-94C811E2-B5B5A8FD-DFB532DD@200.47.3.252

CSeq: 101 INVITE

Via: SIP/2.0/UDP 200.47.3.252:5060;branch=z9hG4bK2A6DB1A7E

Content-Length: 0

14w5d: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_DISCONNECT

14w5d: //34190/87838802B5B2/SIP/Call/sipSPICallInfo:

The Call Setup Information is:

Call Control Block (CCB) : 0x63476C5C

State of The Call        : STATE_DEAD

TCP Sockets Used         : NO

Calling Number           :

Called Number            : 8003333333

Source IP Address (Sig  ): 200.47.3.252

Destn SIP Req Addr:Port  : 63.209.144.201:5060

Destn SIP Resp Addr:Port : 63.209.144.201:5060

Destination Name         : sip.skype.com

14w5d: //34190/87838802B5B2/SIP/Call/sipSPIMediaCallInfo:

Number of Media Streams: 1

Media Stream             : 1

Negotiated Codec         : No Codec

Negotiated Codec Bytes   : 0

Negotiated Dtmf-relay    : 0

Dtmf-relay Payload       : 0

Source IP Address (Media): 200.47.3.252

Source IP Port    (Media): 18872

Destn  IP Address (Media): 0.0.0.0

Destn  IP Port    (Media): 0

Orig Destn IP Address:Port (Media): 0.0.0.0:0

14w5d: //34190/87838802B5B2/SIP/Call/sipSPICallInfo:

Disconnect Cause (CC)    : 1

Disconnect Cause (SIP)   : 404

14w5d: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

ACK sip:8003333333@sip.skype.com:5060 SIP/2.0

Via: SIP/2.0/UDP  200.47.3.252:5060;branch=z9hG4bK2A6DB1A7E

From: ;tag=13D70C38-8C8

To: <>8003333333@sip.skype.com>;tag=c990d13f-13c4-5150b63c-95b737aa-23b82bdd

Date: Mon, 25 Mar 2013 21:19:37 GMT

Call-ID: 882F09BB-94C811E2-B5B5A8FD-DFB532DD@200.47.3.252

Max-Forwards: 70

CSeq: 101 ACK

Content-Length: 0

Gerardo,

The sykpe server is saying that it cant find the number you dialled

Received:

SIP/2.0 404 Not Found

From: ;tag=13D70C38-8C8

To: <>8003333333@sip.skype.com

You need to ensure you are dialling the correct number or speak to your provider to know why they are unable to route the call

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Anas Abueideh
Level 9
Level 9

Hi,

you need to configure DNS to resolve sip.skype.com

HTH

Anas

please rate if it is helpful

I can ping sip.skype.com since my router.