[asterisk-bugs] [Asterisk 0013371]: Outgoing notification hints not functioning for SIP type=friend

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 26 03:35:39 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13371 
====================================================================== 
Reported By:                minufi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13371
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-25 05:20 CDT
Last Modified:              2008-08-26 03:35 CDT
====================================================================== 
Summary:                    Outgoing notification hints not functioning for SIP
type=friend
Description: 
When having a SIP device configured as type friend, outgoing calls are not
notified via hints. Only incoming calls are notified correctly.
With type peer outgoing calls are notified.

I think in chan_sip.c line 3220-3229 the inUse state isn´t set correct.
With type peer, inuse is set in line 3225.
If you´re using type friend, inuse is set in line 3221.

====================================================================== 

---------------------------------------------------------------------- 
 (0091727) minufi (reporter) - 2008-08-26 03:35
 http://bugs.digium.com/view.php?id=13371#c91727 
---------------------------------------------------------------------- 
In chan_sip.c (line 3205) the outgoing flag isn´t set for outgoing calls.
It is set later.
So then in line 3220 the usrlist is used. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-26 03:35 minufi         Note Added: 0091727                          
======================================================================




More information about the asterisk-bugs mailing list