[asterisk-bugs] [Asterisk 0013371]: Outgoing notification hints not functioning for SIP type=friend
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 27 01:14:07 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: feedback
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-27 01:14 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.
======================================================================
----------------------------------------------------------------------
(0091780) minufi (reporter) - 2008-08-27 01:14
http://bugs.digium.com/view.php?id=13371#c91780
----------------------------------------------------------------------
Hello putnopvut,
with limitonpeers=yes in the general section it is still the same
problem.
I have looked a little bit in the debugger and I inspect the value for
'outgoing' in function update_call_counter (line 3205).
There is a test for the flag SIP_PAGE2_OUTGOING_CALL.
This flag is set in sip_request_call (line 16081).
The problem is, that update_call_counter is called before sip_request_call
and in this moment, the flag isn´t set.
Issue History
Date Modified Username Field Change
======================================================================
2008-08-27 01:14 minufi Note Added: 0091780
======================================================================
More information about the asterisk-bugs
mailing list