Duplicate calls with Asterisk-Manager

You have two priority 2s for extension _X.

You can’'t answer outbound calls (although this is harmless).

That’s what you expect when you do synchronous originates. The queue is in the network subsystem of the kernel, not Asterisk.

I think that is actually “yes”. The question was because your coding errors were typical of the code produced by ChatGPT and similar.

You might also want to note the last paragraph of: