08-26-2021 05:25 PM - edited 08-26-2021 05:35 PM
What is the difference between the following?
The first copied from cisco with unsuccessful registration and the second from an unknown device which is successfully registered.
REGISTER sip:ngn.hol.net:5060 SIP/2.0
Via: SIP/2.0/UDP 10.220.44.141:5060;branch=z9hG4bK2A24B4
From: <sip:2392305534@ngn.hol.net>;tag=46E7BC-20A4
To: <sip:2392305534@ngn.hol.net>
Date: Thu, 26 Aug 2021 22:49:36 GMT
Call-ID: 29A37DEC-5F611EC-8009C4C0-7C8F3A79
User-Agent: Cisco-SIPGateway/IOS-15.7.3.M8
Max-Forwards: 70
Timestamp: 1630018176
CSeq: 5 REGISTER
Contact: <sip:2392305534@10.220.44.141:5060>
Expires: 1800
Supported: path
Content-Length: 0
REGISTER sip:ngn.hol.net SIP/2.0
Via: SIP/2.0/UDP 10.220.41.176:5060;rport;branch=z9hG4bKac86cd012bd33e3957c8d4422166c57c
From: <sip:2392305534@ngn.hol.net>;tag=da-1887529842
To: <sip:2392305534@ngn.hol.net>
Session-ID: 507470d8b96c68909aadb92b841eafd8
Call-ID: 2926633456-9491-0001
User-Agent: VFH300S / FW 1.0.10.07T3
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,REFER,SUBSCRIBE,NOTIFY,UPDATE
CSeq: 227 REGISTER
Contact: <sip:2392305534@10.220.41.176:5060;user=phone>
Expires: 1800
Supported: replaces,timer,100rel,199
Content-Length: 0
The first device receives this
SIP/2.0 401 Unauthorized 11030230330
Via: SIP/2.0/UDP 10.220.44.141:5060;branch=z9hG4bK2A24B4
To: <sip:2392305534@ngn.hol.net>;tag=h7g4Esbg_625ee801077d705ca7e9d36cf21
From: <sip:2392305534@ngn.hol.net>;tag=46E7BC-20A4
Call-ID: 29A37DEC-5F611EC-8009C4C0-7C8F3A79
CSeq: 5 REGISTER
Path: <sip:10.120.25.54;transport=udp;lr>
Service-Route: <sip:10.120.25.54:5060;transport=udp;lr>
WWW-Authenticate: Digest realm="ims.mnc005.mcc202.3gppnetwork.org",nonce="BF0C8B50C321286100000000CB691A42",algorithm=MD5,qop="auth"
Content-Length: 0
and the second this
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.220.41.176:5060;received=10.220.41.176;rport=5060;branch=z9hG4bKac86cd012bd33e3957c8d4422166c57c
To: <sip:2392305534@ngn.hol.net>;tag=h7g4Esbg_3fc0707801593205c9756417dacb
From: <sip:2392305534@ngn.hol.net>;tag=da-1887529842
Call-ID: 2926633456-9491-0001
CSeq: 227 REGISTER
Contact: <sip:2392305534@10.220.41.176:5060;user=phone>;expires=900
P-Associated-Uri: <sip:2392305534@ngn.hol.net>
P-Associated-Uri: <tel:+302392305534>
Service-Route: <sip:10.120.25.54:5060;transport=udp;lr>
Content-Length: 0
the sh conf gives
voice service voip
address-hiding
dtmf-interworking standard
mode border-element
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/1
error-passthru
asserted-id pai
outbound-proxy dns:ngn.hol.net reuse
early-offer forced
midcall-signaling passthru
privacy-policy passthru
!
!
sip-ua
credentials number 2392305534 username 2392305534@ngn.hol.net password 7 <removed> realm ngn.hol.net
registrar dns:ngn.hol.net expires 1800
connection-reuse
!
08-26-2021 05:29 PM - edited 08-26-2021 05:37 PM
Only the password removed
08-27-2021 06:51 AM
The "WWW-Authenticate: Digest" indicates that the Cisco router's authentication header is not correctly formatted or does not have the right information for registration. The config on the registrar is good information, but can you post the registration information from the Cisco router? The problem is likely there.
Maren
08-29-2021 10:52 PM - edited 08-29-2021 10:52 PM
I made some modifications and I took 200OK in registration request. I took also replies on INVITE messages.
I will post some informations when I 'll be available. Now, I must set the dial peers for incoming and outgoing calls.
Thanks for your help...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide