On Thu, Mar 2, 2023 at 5:50 AM Nikša Baldun <i...@voxdiversa.hr> wrote:

> Hi Joshua,
>
> thanks for the answer. Meanwhile, I've found that the debug message about
> competing threads happens because I am using Fast AGI, and two threads call
> AGI from the same channel. I assume this could potentially be resolved if I
> call ast_app_exec_sub AFTER the attended transfer has already been
> completed (and, based on your input, autoservice should be used). This is
> trickier to implement, but I'll try.
>

Fundamentally two threads can't service the same channel at the same time.
So autoservice and AGI can't run on the same channel at the same time, just
like AGI can't run twice on the same channel at the same time. It's the
equivalent of having two people tell you what to do at the same time.

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to