[Freeswitch-users] Registration Unauthorized then 481 Call Does Not Exist

Tanim tanim05 at gmail.com
Mon Oct 3 15:42:28 MSD 2016


Thanks Ben for you your reply.

 

I know its weird. I really need to know is it freeswitch issue or client issue. What kind of information u need let me know. I will send you those info if possible.

 

Regards

Minat

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Benjamin Cropley
Sent: Monday, October 03, 2016 3:43 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Registration Unauthorized then 481 Call Does Not Exist

 

1. 50.97.212.23 sends 103.12.214.115 a REGISTER

2. 103.12.214.115 spots that no credentials were supplied, and so supplies a nonce etc. in a WWW-Authenticate header in a 401 packet

3. 50.97.212.23 sends an ACK to acknowledge this request for credentials

4. 50.97.212.23 sends 103.12.214.115 a REGISTER with an Authorization header

5. 103.12.214.115 sends a 481 which means 103.12.214.115 has received the REGISTER 'outside of a dialog'. 

6. 50.97.212.23 sends an ACK to acknowledge the error

 

This is wierd, because based on the trace alone 103.12.214.115 should see the REGISTER with Authorization as part of the previous dialog. Or at the very least, treat it as a new request. 

 

I would look at some actual logs on 103.12.214.115 for more information.

 

Good luck,

Ben

 

On Sun, Oct 2, 2016 at 1:59 PM, Tanim <tanim05 at gmail.com> wrote:

Hi,

 

When I try to registration its giving following log. Its only happen a specific dialer but that dialer also work other softswitch. It’s getting problem only with freeswitch. My freeswitch version is 1.6.9

I can’t figure out why its happen. How can I overcome this issue and is there any sip message issue or not? So that I can ask those dialer company to fix their issue. 

 

Thanks in advance.

 

 

REGISTER sip:103.12.214.115:5060 SIP/2.0

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

Max-Forwards: 70

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 1 REGISTER

Contact: <sip:wmaeaccba at 50.97.212.23:1310>

Expires: 3600

Content-Length: 0

 

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>;tag=FavjcHKUKtXFe

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 1 REGISTER

User-Agent: WHaT Rocks!

Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY

Supported: precondition, 100rel, path, replaces

WWW-Authenticate: Digest realm="103.12.214.115", nonce="2a9726d3-fac2-4d7b-9773-771b60a35e7a", algorithm=MD5, qop="auth"

Content-Length: 0

 

ACK sip:103.12.214.115:5060 SIP/2.0

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

Max-Forwards: 70

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>;tag=FavjcHKUKtXFe

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 1 ACK

Contact: <sip:wmaeaccba at 50.97.212.23:1310>

Content-Length: 0

 

REGISTER sip:103.12.214.115:5060 SIP/2.0

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

Max-Forwards: 70

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>;tag=FavjcHKUKtXFe

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 2 REGISTER

Contact: <sip:wmaeaccba at 50.97.212.23:1310>

Expires: 3600

Authorization: Digest username="12345678",realm="103.12.214.115",nonce="2a9726d3-fac2-4d7b-9773-771b60a35e7a",uri="sip:103.12.214.115:5060",algorithm=MD5,response="73c3beac11531911319f05807714c047"

Content-Length: 0

 

SIP/2.0 481 Call Does Not Exist

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>;tag=FavjcHKUKtXFe

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 2 REGISTER

User-Agent: WHaT Rocks!

Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY

Supported: precondition, 100rel, path, replaces

Content-Length: 0

 

ACK sip:103.12.214.115:5060 SIP/2.0

Via: SIP/2.0/UDP 50.97.212.23:1310;branch=z9hG4bKhabaiiea

Max-Forwards: 70

From: <sip:12345678 at 103.12.214.115:5060>;tag=a34xd9anboejegocoaaoeie

To: <sip:12345678 at 103.12.214.115:5060>;tag=FavjcHKUKtXFe

Call-ID: smvpcaakieaaaaaaaaa

CSeq: 2 ACK

Contact: <sip:wmaeaccba at 50.97.212.23:1310>

Content-Length: 0

 

Regards

Minat


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





 

-- 

All the best,

Ben Cropley

07539 366 905

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161003/83364732/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list