[asterisk-bugs] [Asterisk 0016228]: eswitch does not substiotute variables when using Local Channel

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 12 01:00:15 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16228 
====================================================================== 
Reported By:                jlaguilar
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16228
Category:                   PBX/pbx_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2009-11-12 01:00 CST
Last Modified:              2009-11-12 01:00 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;
	}

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-12 01:00 jlaguilar      New Issue                                    
2009-11-12 01:00 jlaguilar      Asterisk Version          => 1.6.1.9         
2009-11-12 01:00 jlaguilar      Regression                => No              
2009-11-12 01:00 jlaguilar      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list