Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
603 Declined - WSS Extension
Author Message
o.mahmoud
Brekeke Member


Joined: 01 May 2018
Posts: 14
Location: Tunisia

PostPosted: Wed Feb 17, 2021 10:23 am    Post subject: 603 Declined - WSS Extension Reply with quote

1. Brekeke Product Name and Version:Brekeke PBX 3.10.4.3/517-11

2. Java version:1.8.0_221

3. OS type and the version:Windows Server 2019 10.0

4. UA (phone), gateway or other hardware/software involved: JSSIP 3.4.69

5. Your problem: Could Not register sip extension with 603 - Declined error

jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport connect() +2s
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface connect() +2s
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface disconnect() +0ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface connecting to WebSocket wss://neo-vocalcom.be:10081/wss +1ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface WebSocket wss://neo-vocalcom.be:10081/wss connected +238ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport send() +240ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport sending message:REGISTER sip:neo-vocalcom.be SIP/2.0
Via: SIP/2.0/WSS qklkjlr5bb81.invalid;branch=z9hG4bK3812727
Max-Forwards: 69
To: <sip:1000@neo-vocalcom.be>
From: "1000" <sip:1000@neo-vocalcom.be>;tag=5rfedvjjdd
Call-ID: 5i5vj0u3pgjm4nd4pjeri1
CSeq: 7 REGISTER
Contact: <sip:sl636nvr@qklkjlr5bb81.invalid;transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:6dd490c4-831e-42cc-aaa2-5936d9212ae3>";expires=600
Expires: 600
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: path,gruu,outbound
User-Agent: JsSIP 3.4.6
Content-Length: 0

+0ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface send() +2ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface received WebSocket message +40ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport received text message:SIP/2.0 401 Unauthorized
Via: SIP/2.0/WSS qklkjlr5bb81.invalid;branch=z9hG4bK3812727;rport=12976
From: "1000" <sip:1000@neo-vocalcom.be>;tag=5rfedvjjdd
To: <sip:1000@neo-vocalcom.be>;tag=bcf0104aas
Call-ID: 5i5vj0u3pgjm4nd4pjeri1
CSeq: 7 REGISTER
Server: Brekeke SIP Server
WWW-Authenticate: Digest realm="neo-vocalcom.be",nonce="412e0751a72cdf610c004627b24cef0f99f65eed",algorithm=MD5
Content-Length: 0

+42ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:DigestAuthentication authenticate() | using qop=null [a2:"REGISTER:sip:neo-vocalcom.be"] +9s
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:DigestAuthentication authenticate() | response generated +0ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport send() +3ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport sending message:REGISTER sip:neo-vocalcom.be SIP/2.0
Via: SIP/2.0/WSS qklkjlr5bb81.invalid;branch=z9hG4bK7336964
Max-Forwards: 69
To: <sip:1000@neo-vocalcom.be>
From: "1000" <sip:1000@neo-vocalcom.be>;tag=5rfedvjjdd
Call-ID: 5i5vj0u3pgjm4nd4pjeri1
CSeq: 8 REGISTER
Authorization: Digest algorithm=MD5, username="1000", realm="neo-vocalcom.be", nonce="412e0751a72cdf610c004627b24cef0f99f65eed", uri="sip:neo-vocalcom.be", response="ae49703553ca74dc27cf1f0a264ca845"
Contact: <sip:sl636nvr@qklkjlr5bb81.invalid;transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:6dd490c4-831e-42cc-aaa2-5936d9212ae3>";expires=600
Expires: 600
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: path,gruu,outbound
User-Agent: JsSIP 3.4.6
Content-Length: 0

+0ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface send() +4ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface received WebSocket message +1s
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport received text message:SIP/2.0 603 Decline
Via: SIP/2.0/WSS qklkjlr5bb81.invalid;branch=z9hG4bK7336964;rport=12976
From: "1000" <sip:1000@neo-vocalcom.be>;tag=5rfedvjjdd
To: <sip:1000@neo-vocalcom.be>;tag=b828696bs
Call-ID: 5i5vj0u3pgjm4nd4pjeri1
CSeq: 8 REGISTER
Server: Brekeke SIP Server
Content-Length: 0

+1s
SoftPhoneWebRTC.ashx?v=6.0.140.20110&jsv=:298 Registration failure
SoftPhoneWebRTC.ashx?v=6.0.140.20110&jsv=:303 SIP registration error:
SIP/2.0 603 Decline
Via: SIP/2.0/WSS qklkjlr5bb81.invalid;branch=z9hG4bK7336964;rport=12976
From: "1000" <sip:1000@neo-vocalcom.be>;tag=5rfedvjjdd
To: <sip:1000@neo-vocalcom.be>;tag=b828696bs
Call-ID: 5i5vj0u3pgjm4nd4pjeri1
CSeq: 8 REGISTER
Server: Brekeke SIP Server
Content-Length: 0

Rejected
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface WebSocket wss://neo-vocalcom.be:10081/wss closed +5s
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:WebSocketInterface WebSocket abrupt disconnection +5ms
jssip-3.4.6.ashx?v=6.0.140.20110&jsv=:26313 JsSIP:Transport reconnection attempt: 1. next connection attempt in 2 seconds +5s
Back to top
View user's profile
Mohney
Brekeke Talented


Joined: 20 Nov 2007
Posts: 79

PostPosted: Wed Feb 17, 2021 11:49 am    Post subject: Reply with quote

It seems that the SIP Server doesn't know whether "neo-vocalcom.be" is the SIP server itself or not. So the SIP Server might try to forward REGISTER to "neo-vocalcom.be".

Is the SIP server running behind a NAT?
Did you set the SIP Server's public side IP address at [Interface address 1] in the [Configuration]->[System] page?

Or set "Off" at [Thru Registration] in [Configuration]->[SIP] page.
Back to top
View user's profile
o.mahmoud
Brekeke Member


Joined: 01 May 2018
Posts: 14
Location: Tunisia

PostPosted: Wed Feb 17, 2021 1:14 pm    Post subject: Reply with quote

I did what you've requested and I added the router IP that do the redirection to neo-vocalcom.be into the upnp param.
The issue is now resolved.
Thank you.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1