<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="+1">You have posted the same message several times in
the last few days!!<br>
<br>
I would assume no one has an answer to your question, at least on
this list.<br>
It seems most have migrated to another (UGH!) venue, so the few
that are left can't help.<br>
<br>
JMO<br>
<br>
John Novack<br>
<br>
</font><br>
<div class="moz-cite-prefix">Antony Stone wrote:<br>
</div>
<blockquote type="cite"
cite="mid:202301182308.48557.Antony.Stone@asterisk.open.source.it">
<pre class="moz-quote-pre" wrap="">Hi.
I have a very old dialplan (ie: a dialplan for a very old version of Asterisk)
which I've just transferred to Asterisk 16.28.0
The [globals] section of that dialplan includes:
Kphones=SIP/KC470IP&SIP/KSnom870
Sphones=SIP/SYealinkT38G&SIP/SGC610IP
Allphones=${Kphones}&${Sphones}
In the old system, this results in ${Allphones} containing:
SIP/KC470IP&SIP/KSnom870&SIP/SYealinkT38G&SIP/SGC610IP
I can use this in a dial() command.
On the new system, the variable ${Allphones} ends up containing:
${Kphones}&${Sphones}
(ie: the unexpanded variable names, not the content of those previously-
defined variables.)
This fairly obviously does not work in a dial() command.
a) is this a deliberate backward incompatiblity at some stage in the
development of Asterisk?
b) if not, is this a known bug?
c) is there some other way I'm supposed to be doing this now, to be able to
define a global variable including the value of another global variable?
d) if not, is there some workaround?
Thanks,
Antony.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="10000">--
Dog is my Co-Pilot</pre>
</body>
</html>