[asterisk-bugs] [Asterisk 0008708]: Replace not working properly?

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 8 10:15:23 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8708 
====================================================================== 
Reported By:                deti
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   8708
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 49334 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             01-03-2007 09:41 CST
Last Modified:              08-08-2007 10:15 CDT
====================================================================== 
Summary:                    Replace not working properly?
Description: 
Tried to replace a call and got:

'Supervised transfer attempted to replace non-ringing or active call
id(...)'

There is a check in chan_sip.c near line 13342:
if (!error && p->refer->refer_call->owner->_state != AST_STATE_RING &&
p->refer->refer_call->owner->_state != AST_STATE_UP )

I guess this should be something like  
if (!error && p->refer->refer_call->owner->_state != AST_STATE_RINGING &&
p->refer->refer_call->owner->_state != AST_STATE_UP )

But I still run into trouble with this change: The call is not being
cancelled on the RINGING device and therefor device state is not being
updated properly.

Am I doing something wrong? Any clues?
====================================================================== 

---------------------------------------------------------------------- 
 irroot - 08-08-07 10:15  
---------------------------------------------------------------------- 
this can probably be closed see http://bugs.digium.com/view.php?id=0010143 it is
related/duplicate and
resolves this issue 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-08-07 10:15  irroot         Note Added: 0068619                          
======================================================================




More information about the asterisk-bugs mailing list