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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Nov 15 12:03:19 CST 2007


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:              11-15-2007 12:03 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 - 11-15-07 12:03  
---------------------------------------------------------------------- 
I got these errors when building the trunk version after running the patch
is this normal?

  [CC] chan_sip.c -> chan_sip.o
chan_sip.c: In function âtransmit_inviteâ:
chan_sip.c:7798: warning: passing argument 1 of âast_unescape_semicolonâ
discards qualifiers from pointer target type
chan_sip.c: In function âsip_notifyâ:
chan_sip.c:12639: warning: implicit declaration of function
âtransmit_sip_requestâ
chan_sip.c:12612: warning: unused variable ânewvarâ
chan_sip.c: In function âhandle_response_notifyâ:
chan_sip.c:13533: warning: implicit declaration of function
âast_string_field_freeâ
chan_sip.c:13533: error: âtheirtagâ undeclared (first use in this
function)
chan_sip.c:13533: error: (Each undeclared identifier is reported only
once
chan_sip.c:13533: error: for each function it appears in.)
make[1]: *** [chan_sip.o] Error 1
make: *** [channels] Error 2
zkt-col-ast001:/usr/src/asterisk # 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-15-07 12:03  zktech         Note Added: 0073727                          
======================================================================




More information about the asterisk-bugs mailing list