[asterisk-bugs] [Asterisk 0016228]: eswitch does not substiotute variables when using Local Channel
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Dec 25 10:05:03 UTC 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16228
======================================================================
Reported By: jlaguilar
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 16228
Category: PBX/pbx_realtime
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.1.9
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-11-12 01:00 CST
Last Modified: 2010-12-25 04:05 CST
======================================================================
Summary: eswitch does not substiotute variables when using
Local Channel
Description:
When using a Local Channel to call an extension on another context that is
being switched (eswitched), variable substitution would not work.
It seems Local Channel calls the "sat_exists_extension" function with a
NULL channel and therefore variable substitution is always NULL.
Line 535 of chan_local.c:
if (!sat_exists_extension(NULL, p->chan->context, p->chan->exten, 1,
p->owner->cid.cid_num)) {
ast_log(LOG_NOTICE, "No such extension/context %s@%s while calling Local
channel\n", p->chan->exten, p->chan->context);
ast_mutex_unlock(&p->lock);
return -1;
}
======================================================================
----------------------------------------------------------------------
(0129966) svnbot (reporter) - 2010-12-25 04:05
https://issues.asterisk.org/view.php?id=16228#c129966
----------------------------------------------------------------------
Repository: asterisk
Revision: 299625
_U branches/1.6.2/
U branches/1.6.2/channels/chan_local.c
------------------------------------------------------------------------
r299625 | tilghman | 2010-12-25 04:05:02 -0600 (Sat, 25 Dec 2010) | 12
lines
Merged revisions 299624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r299624 | tilghman | 2010-12-25 04:04:06 -0600 (Sat, 25 Dec 2010) | 5
lines
Move check for extension existence below variable inheritance, due to
the possible use of an eswitch.
(closes issue https://issues.asterisk.org/view.php?id=16228)
Reported by: jlaguilar
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=299625
Issue History
Date Modified Username Field Change
======================================================================
2010-12-25 04:05 svnbot Checkin
2010-12-25 04:05 svnbot Note Added: 0129966
======================================================================
More information about the asterisk-bugs
mailing list