[asterisk-dev] Running channels through dialplan on attended transfer

Joshua C. Colp jcolp at sangoma.com
Thu Mar 2 05:06:31 CST 2023


On Thu, Mar 2, 2023 at 7:04 AM Nikša Baldun <it at voxdiversa.hr> wrote:

> I understand, but autoservice and AGI wouldn't be running on the same
> channel at the same time. And I assume that once the transfer is completed,
> original AGI call will be terminated. If I am wrong in that assumption,
> then I am in trouble.
>
> It should be noted that, while you say that AGI can't run twice on the
> same channel, the the second AGI call does go through and everything works
> as intended. I am just worried that this will cause some problem down the
> line, and I would like to avoid the debug message.
>

While it works you are in undefined may or may not work or continue to work
territory, as it violates a fundamental aspect of things - so you do indeed
need to ensure two threads are not servicing the same channel at the same
time.

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20230302/3974f031/attachment-0001.html>


More information about the asterisk-dev mailing list