[asterisk-bugs] [Asterisk 0014066]: Calls parked fail to return to the correct phone after timeout

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 14 12:39:39 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14066 
====================================================================== 
Reported By:                bluefox
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   14066
Category:                   Features/Parking
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
Regression:                 No 
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-12-11 20:01 CST
Last Modified:              2009-01-14 12:39 CST
====================================================================== 
Summary:                    Calls parked fail to return to the correct phone
after timeout
Description: 
Calls put in park (parkedcalls feature) are put in park and can be picked
up correctly.

BUT when timeout occurs, instead of the phone that put the call on park
ringing back, the phone that was put in the parking extension rings back.
(i.e. the caller phone rings itself).  This happens about 20% of the time.

(this describes a SIP Phone - Asterisk - SIP phone call, but failure is
also seen on an external call being put in park.  But the result is a weird
hangup instead of a phone calling itself back)
====================================================================== 

---------------------------------------------------------------------- 
 (0097754) otherwiseguy (administrator) - 2009-01-14 12:39
 http://bugs.digium.com/view.php?id=14066#c97754 
---------------------------------------------------------------------- 
Ok, it looks like the reason this is happening is because asterisk isn't
properly finding the name of the device and the channel becomes SIP/5060
which parking tries to use to call back.  Some things to try: 1) do you
have username= in sip.conf specified for the user?  It looks like this
*could* fix it at least for some situations.  Also, mmichelson patched
trunk to change this behavior, but didn't include it in other branches
because it would be a behavior change--even if it is not "right", someone
could be relying on the behavior somewhere.  I'm not sure whether anyone
realized that it could break parking though.

If adding a username= fixes this for you, then I'd say that is a valid
workaround.  If you already have it or it doesn't, then you can try making
the change that mmichelson made to trunk and see if that fixes it for you. 
I will attach the patch from that commit here (backported for 1.4). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-14 12:39 otherwiseguy   Note Added: 0097754                          
======================================================================




More information about the asterisk-bugs mailing list