[asterisk-bugs] [Asterisk 0018126]: [patch] stuck channels if followme context doesnt exists
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 12 20:47:56 CDT 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=18126
======================================================================
Reported By: junky
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18126
Category: Applications/app_followme
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.36
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-10-12 20:46 CDT
Last Modified: 2010-10-12 20:47 CDT
======================================================================
Summary: [patch] stuck channels if followme context doesnt
exists
Description:
If followme tried to call a non-existent context, the 2 local channels will
be stucked.
You cant soft hangup those channels, you must restart *.
example without patch:
-- Executing [11 at junky:1] FollowMe("SIP/10-00000001", "junky") in new
stack
-- <SIP/10-00000001> Playing 'followme/pls-hold-while-try' (language
'en')
-- Music class default requested but no musiconhold loaded.
-- calling 10 at doesntexist
[Oct 12 20:49:34] NOTICE[15253]: chan_local.c:511 local_call: No such
extension/context 10 at doesntexist while calling Local channel
-- couldn't reach at this number.
== Auto fallthrough, channel 'SIP/10-00000001' status is 'UNKNOWN'
The logic is just to check if the context is valid or not. If it not
valid, it will return. This also prevents to create in memory, since we
already know that chan_local.c will refuse it.
example with patch:
-- Executing [11 at junky:1] FollowMe("SIP/10-00000001", "junky") in new
stack
-- <SIP/10-00000001> Playing 'followme/pls-hold-while-try' (language
'en')
-- Music class default requested but no musiconhold loaded.
[Oct 12 21:43:36] WARNING[20162]: app_followme.c:832 findmeexec:
doesntexist doesnt exists, no need to continue...
-- Executing [11 at junky:2] Hangup("SIP/10-00000001", "") in new stack
== Spawn extension (junky, 11, 2) exited non-zero on 'SIP/10-00000001'
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-10-12 20:47 junky Description Updated
======================================================================
More information about the asterisk-bugs
mailing list