QUESTION Is 401 normal for extension placing a call

krzykat

Telecom Strategist
Joined
Aug 2, 2008
Messages
3,149
Reaction score
1,238
Is this normal call flow? I just question why a 401 is presented if the extension is registered:

time ;10.0.10.10;9.9.9.9;SIP message
0.000000;;;INVITE sip:[email protected] len:1189 [0s]
0.000306;;;401 Unauthorized len:588 [0s]
0.037401;;;ACK sip:[email protected] len:390 [0.04s]
0.045044;;;INVITE sip:[email protected] len:1361 [0.05s]
0.055912;;;100 Trying len:570 [0.06s]
2.659902;;;183 Session Progress len:947 [2.66s]
2.667660;;;RTP G.711u SSRC:5d574309 PORT:5004 packets:411 L:0 J:0.3 [2.67s]
2.843820;;;RTP G.711u SSRC:78b36e94 PORT:18460 packets:410 L:0 J:3.9 [2.84s]
10.886447;;;200 OK len:1042 [10.89s]
10.890900;;;RTP G.711u SSRC:330aac24 PORT:5004 packets:200 L:0 J:0.3 [10.89s]
10.985561;;;200 OK len:1042 [10.99s]
11.025690;;;ACK sip:[email protected]:5060 len:572 [11.03s]
11.140705;;;ACK sip:[email protected]:5060 len:572 [11.14s]
11.302900;;;RTP G.711u SSRC:7ee39bbd PORT:18460 packets:183 L:0 J:3.7 [11.3s]
14.960893;;;BYE sip:[email protected]:5060 len:639 [14.96s]
15.031071;;;200 OK len:530 [15.03s]
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
Yes, that is normal. Registration does not "log you in" for placing calls*. Your phone needs to provide credentials for both registration and INVITE requests. This is the same reason why, when you define a SIP trunk that uses registration, you have to put the password both in the Peer Details box as well as in the Registration String box. Peer Details section is used for placing outbound calls, and the Registration String section is used to register for inbound calls.

[*] except in the case of Google Voice "GVSIP" which uses SIP Outbound. Once you register on GVSIP the socket is kept open and you can send INVITE requests down that path without authenticating again.
 

Members online

Forum statistics

Threads
25,825
Messages
167,848
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top