[asterisk-bugs] [Asterisk 0010890]: When parking lot ring back times out, error is generated, line is hung up and timeout extension isn't reached.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 23 20:58:19 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10890 
====================================================================== 
Reported By:                kenw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10890
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-04-2007 18:28 CDT
Last Modified:              01-23-2008 20:58 CST
====================================================================== 
Summary:                    When parking lot ring back times out, error is
generated, line is hung up and timeout extension isn't reached.
Description: 
The situation is repeated as follows:

1. Call is placed into parking lot
2. Call timesout from parking lot and rings back extension that put it
there to begin with
3. After http://bugs.digium.com/view.php?id=8#50 seconds of ringing back to
extension that placed the call in
the parking lot, the [park-dial] 't' extension should be invoked, instead
the following errors show up in the Asterisk-CLI:

[Oct  4 17:22:47] WARNING[7986]: chan_sip.c:12037 handle_response_invite:
Re-invite to non-existing call leg on other UA. SIP dialog
'224fe567089888351edffad76cdf16d9 at 10.200.26.202'. Giving up.
[Oct  4 17:38:18] WARNING[7986]: chan_sip.c:12536 handle_response: Remote
host can't match request CANCEL to call
'4c93b03d7f87f05950d21bd971edd97b at 10.200.26.202'. Giving up.

I'm not sure if this is a parking lot or SIP issue, but beings the errors
are from chan_sip.c I chose SIP Transfers.

I've attached CLI with debug & verbose set to 4 as well as sip debug
enabled.  I've also attached the parts of features.conf, extensions.conf &
sip.conf that apply.  Problem was noticed in 1.4.10.1, upgrade to 1.4.12
made no difference.

(1.4.12 not an option on Asterisk version btw).
====================================================================== 

---------------------------------------------------------------------- 
 djrodman - 01-23-08 20:58  
---------------------------------------------------------------------- 
1.4.17

res/res_features.c line 1673 begins a process that overwrites the callback
destination for a timed-out parked call.  It is described (accurately) in
the code as a kludge.  I have no idea what its intended purpose was.  If
you disable it, timed-out parked calls ring back to where they said they
were going to ring back to.  That is, the promise made on line 394 ("Will
timeout back to extension ...") is kept.

Before making this change it would probably be a good idea to find out why
this was implemented in the first place.  Just cuz it's a kludge doesn't
mean it has no useful purpose - quite the opposite, in normal practice.

Line 1673 of res_features.c
Change this:
				if (pu->peername[0]) {
to this:
				if (0) { 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-23-08 20:58  djrodman       Note Added: 0081129                          
======================================================================




More information about the asterisk-bugs mailing list