<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; So the obvious fix for this is to segregate those variables into a separate<br>&gt; space, where both channels can be aware that those values are shared and
<br>&gt; could be changed at any time.&nbsp;&nbsp;And that is the solution in your first<br>&gt; paragraph (astdb or another database), which you seem to be opposed to.&nbsp;&nbsp;We<br>&gt; like that solution better, because it avoids obvious race conditions.
<br><br>Is there a possibility where channel and it&#39;s child channel are<br>executing simultenously? Child channel is created only inside some<br>application - Dial, Queue, etc. So, whenever that application exits,<br>
child channel is either destroyed or masquaraded. I don&#39;t see any<br>situation where child channel is executing in parralel with parent<br>channel.</blockquote><div><br></div></div>Couldn&#39;t an application like SetChannelVar(channel, var=data..) be the solution here? Like the Set application,
<br>but with a channel name to set the var in. If you use this application you will be aware with possible race conditions<br>and deal with them in your dialplan. <br>We currently have applications like ChannelRedirect that work similar to this, and I guess this application could
<br>be used in these situations also.<br>To give the child channel the name of the parent you would just set a variable with _ or __ and then use it in<br>this application.<br><br>Just a thought.. <br>/Johan<br>