cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7242
Views
0
Helpful
27
Replies

SIP Provider Registration

MohamedHussen
Level 1
Level 1

Hi Team

 

I have 7960 phone, converted to SIP and want to register directly to SIP provider, 

My set up is Phone>>3560switch>>> 2851>>> ADSL >>>WWW

 

Device ID: SIP0013C4AACF8B <<<<<<<<<<<<<<<<<<< Phone details - sh cdp neigh
Entry address(es):
IP address: 192.168.5.14
Platform: Cisco IP Phone 7960, Capabilities: Host
Interface: FastEthernet0/3, Port ID (outgoing port): Port 1
Holdtime : 136 sec

Version :
P0S3-07-5-00 <<<<<<<<<<<<<<<<<<<<<<<<<< SIP Version on the phone

advertisement version: 2
Duplex: full
Power drawn: 6.300 Watts
Management address(es):


============================================
Current configuration : 171 bytes
!
interface FastEthernet0/3 <<<<<<<<<<<<<<<<<<<<< Phone connected Port on the switch
description PBX VLAN
switchport access vlan 30
switchport mode access
switchport voice vlan 5
random-detect
spanning-tree portfast
end
=========================================

SIP Config File
SIP Configuration Generic File (start) <<<<<<<<<<<<<<, phone SIP file

<deviceProtocol>SIP</deviceProtocol>
<sshUserId>xxxx</sshUserId>
<sshPassword>xxxx</sshPassword>
<loadInformation>P0S3-07-5-00</loadInformation>
<devicePool>

==============================================

XMLDefault.cnf.xml <<<<<<<<<<<<< default xml file

image_version: "P0S3-07-5-00"

;Sip default configuration file
#Image Version image_version:P0S3-07-5-00 ;
#Proxy address
proxy1_address: x.www.sip.com ;
#Default Codec
preferred_codec :g711ulaw ;
#Enable Registration
proxy_register :1 ;
#Registration expiration
timer_register_expires :3600 ;

 

============================================

Errors

*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_new_msg_preprocessor: Checking Invite Dialog
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Info/sipSPIFindRegisterCcb: *****CCB NOT found in UAS Request table. ccb=0x00000000
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Info/sipSPIAddContextToTable: Added context(0x48960934) with key=[16015] to table
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateResponseInfo: Dialog Transaction Address 192.168.30.12,Port 64304, Transport 1, SentBy Port 64304
*Nov 25 23:14:12.998: //-1/1336970CBF1E/SIP/State/sipSPIChangeState: 0x48960934 : State change from (STATE_NONE, SUBSTATE_NONE) to (STATE_IDLE, SUBSTATE_NONE)
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateResponseInfo: Subsq Transaction Address 192.168.30.12,Port 64304, Transport 1, SentBy Port 5060
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader: Clock Time Zone is UTC, same as GMT: Using GMT
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateResponseInfo: Subsq Transaction Address 192.168.30.12,Port 64304, Transport 1, SentBy Port 64304
*Nov 25 23:14:12.998: //-1/1336970CBF1E/SIP/Transport/sipSPISendResponse: Sending INFO Response to the transport layer
*Nov 25 23:14:12.998: //-1/1336970CBF1E/SIP/Transport/sipSPITransportSendMessage: msg=0x489CE3D4, addr=192.168.30.12, port=64304, sentBy_port=64304, is_req=0, transport=1, switch=0, callBack=0x00000000
*Nov 25 23:14:12.998: //-1/1336970CBF1E/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately
*Nov 25 23:14:12.998: //-1/1336970CBF1E/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0
*Nov 25 23:14:12.998: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x489CE3D4, addr=192.168.30.12, port=64304, connId=0 for UDP
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Info/sipSPIUaddCcbToUASReqTable: ****Adding to UAS Request table.
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Info/sipSPIUaddCcbToTable: Added to table. ccb=0x48960934 key=ZGRmNTNjYmFiZWIzNzI5NDEzMWZkODBmMGFkNTQ1MDc.2002901c9676
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Event/ccsip_api_register_ind: CCSIP_REGISTER:: Registrar is not enabled
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Event/sact_idle_new_message_register:
ccsip_api_register_ind return value : SIP_SERVICE_UNAVAIL

*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Transport/sipSPISendResponse: Sending INFO Response to the transport layer
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Transport/sipSPITransportSendMessage: msg=0x48953264, addr=192.168.30.12, port=64304, sentBy_port=64304, is_req=0, transport=1, switch=0, callBack=0x41519D40
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0
*Nov 25 23:14:13.002: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x48953264, addr=192.168.30.12, port=64304, connId=0 for UDP
*Nov 25 23:14:13.002: //-1/1336970CBF1E/SIP/State/sipSPIChangeState: 0x48960934 : State change from (STATE_IDLE, SUBSTATE_NONE) to (STATE_IDLE, SUBSTATE_NONE)

 

I just want the phone to directly register with the SIP and the router to pass the information not interfere at all. I have attached the router config as well which is basic, your help is appreciated 

27 Replies 27

Thought it was going out via ADSL int? Can you do a trace?

You need to capture the traffic and confirm you're receiving replies. It's
especially important if you're natting. Post back once you captured the
replies from itsp. It's impossible to help without that info and your
previous captures don't show any received sip.

Debug ccsip messages

Good luck

Its going through my adsl modem

which is the 1st hop 192.168.1.1

 

traceroute telecube.com.au

Type escape sequence to abort.
Tracing the route to telecube.com.au (112.140.180.152)

1 192.168.1.1 0 msec 4 msec 0 msec
2 10.116.132.1 16 msec 16 msec 16 msec
3 10.40.3.73 20 msec 20 msec 16 msec
4 * * *
5 197.220.84.1 16 msec 28 msec 24 msec
6 154.66.246.214 172 msec
154.66.246.232 168 msec
154.66.246.104 168 msec
7 * * *
8 bundle-153.cor02.lax01.ca.vocus.net (49.255.255.14) [MPLS: Label 24182 Exp 0] 476 msec 468 msec 476 msec
9 100g-0-0-0-0.cor02.sjc01.ca.vocus.net (49.255.255.3) [MPLS: Label 24106 Exp 0] 476 msec * 492 msec
10 100g-0-0-0-0.cor01.sjc01.ca.vocus.net (49.255.255.4) [MPLS: Labels 289944/24014 Exp 0] 404 msec
BE-201.cor02.syd04.nsw.VOCUS.net.au (49.255.255.13) [MPLS: Label 24014 Exp 0] 444 msec 472 msec
11 BE-200.cor02.syd04.nsw.VOCUS.net.au (49.255.255.11) [MPLS: Label 24014 Exp 0] 464 msec
bundle-101.bdr01.syd11.nsw.vocus.net.au (114.31.192.83) 476 msec 480 msec
12 bundle-101.bdr01.syd11.nsw.vocus.net.au (114.31.192.83) 488 msec
static-190.43.255.49.in-addr.VOCUS.net.au (49.255.43.190) 436 msec 456 msec
13 BE-1.cor02.syd04.nsw.VOCUS.net.au (114.31.192.41) [MPLS: Label 24014 Exp 0] 380 msec
static-190.43.255.49.in-addr.VOCUS.net.au (49.255.43.190) 404 msec 416 msec
14 10ge-agg01.syd01.as45638.net.au (103.252.152.253) 416 msec 396 msec
10ge-gw01.syd01.ventraip.net.au (103.252.152.129) 416 msec
15 10ge-gw01.syd01.ventraip.net.au (103.252.152.129) 408 msec
static-190.43.255.49.in-addr.VOCUS.net.au (49.255.43.190) 428 msec
10ge-gw01.syd01.ventraip.net.au (103.252.152.129) 452 msec
16 * * *
17 10ge-gw01.syd01.ventraip.net.au (103.252.152.129) 428 msec 444 msec *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * *

 

 

traceroute sip5.siptalk.com.au <<<<<<<<<<< this is another domain provider has

Translating "sip5.siptalk.com.au"...domain server (8.8.8.8) [OK]

Type escape sequence to abort.
Tracing the route to sip5.siptalk.com.au (103.93.71.35)

1 192.168.1.1 0 msec 0 msec 0 msec
2 10.116.132.1 16 msec 20 msec 16 msec
3 10.40.3.73 16 msec 16 msec 16 msec
4 * * *
5 197.220.84.1 16 msec 20 msec 16 msec
6 154.66.246.200 172 msec
154.66.246.104 168 msec 168 msec
7 10ge11-3.core1.lon3.he.net (184.104.202.193) 172 msec 168 msec 172 msec
8 100ge14-1.core1.lon2.he.net (184.105.64.237) 176 msec 168 msec 172 msec
9 100ge13-2.core1.nyc4.he.net (72.52.92.166) 244 msec 236 msec 236 msec
10 100ge8-1.core1.sjc2.he.net (184.105.81.218) 300 msec 308 msec 332 msec
11 100ge13-2.core1.sjc1.he.net (184.105.65.113) 300 msec
10ge4-4.core1.sjc1.he.net (72.52.92.117) 300 msec 304 msec
12 10ge2-1.core1.syd1.he.net (184.105.222.86) 392 msec 392 msec 392 msec
13 * * *
14 sip5.siptalk.com.au (103.93.71.35) 404 msec 404 msec 408 msec

 

I dont know why I am not receiving replies from the the ITSP, they are telling me they are receiving no messages from me, so not sure what the problems.

 

Looks like layer 2/3 needs checking. A capture at your internet egress
point could be useful

Try telnet from the router to the sip itsp IP:port to check.

More Captures Attached 

Thanks for your help 

 


@MohamedHussen wrote:

The phone is registered with the CME but I want to register with the ISP


So you want the phone to ONLY register to a non-Cisco call manager.  Is this correct?

No I want to register the phone with SIP Provider who has given an extension, password and proxy address. I have added all these information in to the phone and also under SIP-AU config but registration is not happening.

run this command and reply with the output:

 

show sip register status

#sh sip register status
Line peer expires(sec) registered
================================ ========== ============ ==========
.* 1 124 no
1001 20001 124 no
1002 20002 124 no
1003 20003 123 no
1004 20004 123 no
1005 20005 122 no
1006 20006 121 no
1007 20007 120 no
1008 20008 120 no
1009 20009 118 no
1010 20010 117 no
1011 20011 116 no
1012 20012 114 no
1014 20014 112 no
1015 20015 111 no
1020 20017 109 no
1057300 -1 124 no <<<<<<<<<<<<<<< This is extension we want to register
55555 20013 113 no

 

 

on debug i see the below message

 

*Nov 25 21:07:30.123: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:103.93.xx.xx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.5.1:5060;branch=z9hG4bK424765
From: <sip:1057300@103.93.71.35>;tag=C3FA10-10B2
To: <sip:1057300@103.93.71.35>
Date: Sat, 25 Nov 1933 21:07:30 GMT
Call-ID: 82ADD161-3A811222-8003A069-272D486C
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 3155772946
CSeq: 60 REGISTER
Contact: <sip:1057300@192.168.5.1:5060>
Expires: 3600
Content-Length: 0

It's good you are able to capture the registration packet. You need to capture the response from the ITSP as it will give the reason for the rejection. 

 

Run:  debug ccsip messages 

 

and then configure sip-ua with the "registrar 1 ........" config so that it triggers registration after you enable the debug. Post back, I'll have a look :)

 

 

Please see  attached debug ccsip, I see alot of other extensions that dont need to register sending messages but only extension i want to register is 1057300 which we have credentials for and configured also below SIP-UA config

 

sip-ua
credentials username 1057300 password 11071F131014031B06323A222B38312603 realm 103.93.xx.xx
authentication username 1057300 password 7 030A5D1D0109295B4C11080314190F0814 realm 103.93.xx.xx
retry invite 2
retry register 10
timers connect 100
registrar ipv4:103.93.xx.xx expires 3600
sip-server ipv4:103.93.xx.xx

Leo Laohoo
Hall of Fame
Hall of Fame
Disable NAT.
Disable ALG.

Done This, disabled both

tonypearce1
Level 3
Level 3

I think it is possible. I saw a write up somewhere about someone doing this with a 9971 phone direct to the ITSP. 

 

The Cisco phone gets it's configuration and firmware from TFTP. I suggest that you research the boot up process of a Cisco IP phone (SIP) because it will give you the information you need to achieve what you're looking to do. But basically, the phone gets powered up, it attempts to get DHCP IP and the DHCP server provides a TFTP server within the DHCP OFFER. Once the phone has that info, it requests a specific file from the TFTP server which is its config file. You will need to create this file and save on the TFTP server.