cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1057
Views
5
Helpful
1
Replies

ISR 2821 + CME and Skype for SIP

Glushenko_2
Level 1
Level 1

Good day Everyone!

Im trying to setup cisco 2821 voice for skype calls both incoming and outgoing.
And as always have problems....
1. When registering for skype it try to register all internal numbers, e.g.

RTR#sh sip-ua register status
Line                              peer        expires(sec)  registered
================================  ==========  ============  ==========
100                               20001       2971          no
101                               20002       3027          no
102                               20003       3045          no
103                               20004       3079          no
104                               20005       3115          no
106                               20006       3151          no
108                               20008       3223          no
109                               20028       668           no
110                               20010       20            no
111                               20011       56            no
112                               20012       92            no
130                               20023       488           no
131                               20024       523           no
150                               20040       885           no
151                               20041       921           no
160                               20029       703           no
170                               20033       740           no
200                               20013       127           no
201                               20014       163           no
202                               20015       199           no
203                               20016       235           no
204                               20017       271           no
205                               20018       307           no
206                               20019       342           no
207                               20020       378           no
208                               20021       414           no
209                               20009       3259          no
210                               20022       450           no
211                               20025       558           no
212                               20026       595           no
213                               20027       633           no
222                               20007       3186          no
dn1 20039       846           no
dn1                            20037       773           no
dn3                            20038       810           no
99051000113252                    -1          2936          no

SIP/2.0 403 Forbidden - No registration-plan

Here are configs

voice service voip
notify redirect ip2pots
callmonitor
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711alaw
modem passthrough nse codec g711ulaw
sip
localhost dns:sip.skype.com

...

sip-ua
credentials username 9905100011**** password 7 ** realm sip.skype.com
authentication username 9905100011**** password 7 **
calling-info pstn-to-sip from name set **
calling-info pstn-to-sip from number set **
no remote-party-id
registrar dns:5.sip.skype.com expires 65535
registrar dns:3.sip.skype.com expires 65535 secondary
sip-server dns:sip.skype.com
no suspend-resume
host-registrar
permit hostname dns:sip.skype.com

Here sip msg pair for registration

*Jul 26 16:06:06.684: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:5.sip.skype.com:5060 SIP/2.0
Date: Mon, 26 Jul 2010 16:06:06 GMT
From: <sip:204@5.sip.skype.com>;tag=9A73968-D40
Timestamp: 1280160366
Content-Length: 0
User-Agent: Cisco-SIPGateway/IOS-12.x
To: <sip:204@5.sip.skype.com>
Contact: <sip:204@109.237.0.98:5060>
Expires:  65535
Call-ID: B5513DF0-968D11DF-8024F714-213B2DDD
Via: SIP/2.0/UDP my_ip:5060;branch=z9hG4bK2F2CCF
CSeq: 12 REGISTER
Max-Forwards: 70


*Jul 26 16:06:06.816: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden - No registration-plan
From: <sip:204@5.sip.skype.com>;tag=9A73968-D40
To: <sip:204@5.sip.skype.com>;tag=46b38d4e-13c4-4c4db1d1-10685487-200f7ef6
Call-ID: B5513DF0-968D11DF-8024F714-213B2DDD
CSeq: 12 REGISTER
Via: SIP/2.0/UDP 109.237.0.98:5060;branch=z9hG4bK2F2CCF
Content-Length: 0

Have a community any ideas and sullutions?

1 Reply 1

Steven Holl
Cisco Employee
Cisco Employee

Vlad,

The local DNs are registering because you don't have no-reg configured under the DNs.

You should have something like this:

ephone-dn 1

number 2112 no-reg primary

If you need an e164 number registered to skype, the easiest way is to add it as a secondary number on the DN you want the calls to that DID to go to.  Something like:

ephone-dn 1

number 2112 secondary 5551231234 no-reg primary

I should mention that certain dial-peers will also have a default behavior of trying to register.  'no-reg' under the peer will disable that.

-Steve Holl

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: