[SIPForum-discussion] Query about 407 proxy authentication Required in SIP response

Pritam QA prachipritam at gmail.com
Mon Sep 15 15:32:32 UTC 2014


if your server behaves as  proxy - 407 Proxy Authentication required
Response - its ok

or

if your server behaves as Registar Server-401 Unauthorized

Regards,
Prachi

On Mon, Sep 15, 2014 at 11:45 AM, Vijay Mishra <mishra.vijayk at gmail.com> wrote:
> Hi Durgesh,
>
> In the SIP RFC 3665 it is given that In order to authenticate Register 401
> response is send
> and to authenticate Invite 407 response is sent.
> http://tools.ietf.org/html/rfc3665
>
> However there is no restriction that proxy cannot sent 407 response for
> register message.
> The Service-Provider/SIP Proxy Server MAY issue additional 401 Unauthorized
> or 407 Proxy Authentication Required responses to REGISTER requests, if the
> digest challenge response of the SIP-PBX in its REGISTER request is stale or
> invalid
>
> Thanks
> V
>
>
> On Mon, Sep 8, 2014 at 11:38 AM, Durgesh kumar singh
> <durgeshk1990 at gmail.com> wrote:
>>
>> Hello,
>>
>>
>> I have been reading about SIP register flow and most of the place i found
>> that whenever any SIP client try to Register then server response with 401
>> unauthorized and then http-digest authentication field added in our next
>> Register message headers by which our client get register successfully.
>>
>> In our project when our SIP client try to register then it first passes
>> with a proxy server then to IntraSwitch SIP server.
>>
>> In our case Registration flow is look like this.
>>
>>
>> SIP Client                                         SIP Server
>>
>>     REGISTER with no authentication
>> A --------------------------------------------->
>>
>>     407 Proxy Authentication required
>> A <--------------------------------------------
>>
>>      REGISTER with Authentication
>> A --------------------------------------------->
>>
>>                200 OK 1 binding
>> A <--------------------------------------------
>>
>> So here my question is that is 407 proxy Authentication required SIP
>> response is correct response for SIP registration or it should be 401
>> Unauthorized ?
>>
>> Please clear my concept.
>>
>> Regards,
>> Durgesh Kumar Singh
>>
>>
>> _______________________________________________
>> This is the SIP Forum discussion mailing list
>> TO UNSUBSCRIBE, or edit your delivery options, please visit
>> http://sipforum.org/mailman/listinfo/discussion
>> Post to the list at discussion at sipforum.org
>>
>
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>



More information about the discussion mailing list