[asterisk-bugs] [Asterisk 0013736]: [patch] Answer() doesn't when the state is Dialing
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 21 20:14:06 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13736
======================================================================
Reported By: smurfix
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 13736
Category: PBX/General
Reproducibility: always
Severity: minor
Priority: normal
Status: confirmed
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-18 13:40 CDT
Last Modified: 2008-10-21 20:14 CDT
======================================================================
Summary: [patch] Answer() doesn't when the state is Dialing
Description:
When a channel is in Dialing state, Answer() now does zilch, nada, nothing.
YOu need to call Ringing() before Answer().
That's a too-easy mistake to make.
I'm attaching a patch.
======================================================================
----------------------------------------------------------------------
(0094115) smurfix (reporter) - 2008-10-21 20:14
http://bugs.digium.com/view.php?id=13736#c94115
----------------------------------------------------------------------
While you're investigating that, it seems that the answer code in channel.c
has both
case AST_STATE_RINGING:
and
case AST_STATE_RING:
More information about the asterisk-bugs
mailing list