<div dir="ltr"><div></div><div>Thanks for the suggestion. That probably would work, but it would entail lots of other changes at our application level.</div><div><br></div><div>I wonder if there's any other way to prevent the channel from being optimized out? This is for the Local channel that's created by the atxfer key defined in features.conf, so we don't have a Dial that we can add a /n to.</div><div><br></div><div>We know that using Monitor will prevent it for example. Is there something which we can use with no effect on the channel other than preventing optimization? Recording all calls would be a little heavy-handed for the purpose.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 10 Feb 2022 at 21:48, Dennis Buteyn <<a href="mailto:dennis.buteyn@xorcom.com">dennis.buteyn@xorcom.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/9/22 23:29, David Cunningham wrote:<br>
> The strange thing is that every Dial where we create a Local channel <br>
> does already have /n on the dial string.<br>
><br>
> There is one other place where a Local channel is created, which is by <br>
> the transfer using the atxfer key defined in features.conf. The key is <br>
> ##, and if the user dials ##*7 then Asterisk creates the channel <br>
> Local/*7@from-internal-X. How can we make sure that this channel is <br>
> not optimized out of existence?<br>
<br>
I suppose you could always make Local/*7@from-internal-X Dial() another <br>
local destination with "/n"? Alternatively you could define them as <br>
custom features in the [applicationmap] section of features.conf by <br>
calling application Dial() with "/n". The original local channel will <br>
likely be optimized out and replaced by the new channel.<br>
<br>
-- <br>
Dennis Buteyn<br>
Xorcom Ltd<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>David Cunningham, Voisonics Limited<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>USA: +1 213 221 1092<br>New Zealand: +64 (0)28 2558 3782</div></div></div></div></div></div></div></div></div></div></div>