[asterisk-bugs] [Asterisk 0009896]: [patch] Authentication support for SIP NOTIFY requests

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jan 28 10:06:25 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9896 
====================================================================== 
Reported By:                IgorG
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   9896
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 67560 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             06-06-2007 04:54 CDT
Last Modified:              01-28-2008 10:06 CST
====================================================================== 
Summary:                    [patch] Authentication support for SIP NOTIFY
requests
Description: 
This issue is the same to issue 4151? close 2 years ago. I have develop my
patch, and find same issue.

Currently console command "sip notify" send notify packet and destroy SIP
dialog without delay. But sip device can answer with 401 message to ask
auth. For example Linksys phones and ATA.

Patch and sip debug of authorized notify dialog attached.
====================================================================== 

---------------------------------------------------------------------- 
 zktech - 01-28-08 10:06  
---------------------------------------------------------------------- 
I will test the patch as best I can. I have just a couple of questions.
That will help me wrap my head around this issue. 

1. Is there a specific folder name/location that the source must be in for
the patch to run correctly? I used /usr/src/asterisk/trunk with the
previous releases.

2. You said "I think, that sending NOTIFY without auth is a bug, and this
patch have no new functionality.". 
It is my understanding that sending notify with out wating for a response
reqests is a bug in astrisk. According to the Grandstream guys. They
receive a NOTIFY request and challange with an auth request. If the auth
response is valid then they proceed with the notify. Is this what your
statment is saying, and your patch provides the fix to allow asterisk to
wait for the clients response and to respond to the auth requests
correctly?

Thank you for your hard work.
zktech 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-28-08 10:06  zktech         Note Added: 0081271                          
======================================================================




More information about the asterisk-bugs mailing list