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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 7 05:01:29 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:              07-07-2007 05:01 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 - 07-07-07 05:01  
---------------------------------------------------------------------- 
hi there this is a problem still see 

http://bugs.digium.com/view.php?id=10143

and i also have patched sip to allow both RING and RINGING. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-07 05:01  irroot         Note Added: 0066726                          
======================================================================




More information about the Asterisk-bugs mailing list