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

2023-03-02 Thread Joshua C. Colp
On Thu, Mar 2, 2023 at 7:04 AM Nikša Baldun 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

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

2023-03-02 Thread Nikša Baldun
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

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

2023-03-02 Thread Joshua C. Colp
On Thu, Mar 2, 2023 at 5:50 AM Nikša Baldun 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

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

2023-03-02 Thread Nikša Baldun
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

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

2023-02-28 Thread Joshua C. Colp
On Tue, Feb 28, 2023 at 9:35 AM Nikša Baldun wrote: > Hello, > > information available on channels involved in attended transfer is > inadequate for my purposes, so I have created a function which sets some > variables on these channels, and also runs transferee and transfer target > through