Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Steve Edwards
On Fri, 12 Nov 2021, Steve Edwards wrote: I prefer to do database work in an AGI. I find quoting within the database to be obtuse and fragile. s/database/dialplan/g -- Thanks in advance, - Steve Edwards

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Steve Edwards
On Fri, 12 Nov 2021, Antony Stone wrote: I've never used AGI, so what would your suggested solution involve? If all you need is to update/insert/delete some rows in a database, ODBC could be a solution. I prefer to do database work in an AGI. I find quoting within the database to be

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Antony Stone
On Friday 12 November 2021 at 18:08:11, aster...@phreaknet.org wrote: > On 11/12/2021 12:39 PM, Antony Stone wrote: > > On Friday 12 November 2021 at 17:36:07, Eric Wieling wrote: > >> Create a spool file from the 'h' extension to generate the call. > > > > Yes, I thought of that, but it somehow

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Antony Stone
On Friday 12 November 2021 at 18:18:03, Eric Wieling wrote: > On 11/12/21 12:39, Antony Stone wrote: > > On Friday 12 November 2021 at 17:36:07, Eric Wieling wrote: > >> Create a spool file from the 'h' extension to generate the call. > > > > Yes, I thought of that, but it somehow feels a bit

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Steve Edwards
On Fri, 12 Nov 2021, Antony Stone wrote: Can anyone suggest how I might be able to do this? I need to perform a Dial() command after an inbound channel has hung up. I do not expect the Dial() to bridge to anything (the context being dialled simply does some database manipulation and then

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Antony Stone
On Friday 12 November 2021 at 17:36:07, Eric Wieling wrote: > Create a spool file from the 'h' extension to generate the call. Yes, I thought of that, but it somehow feels a bit clunky, and was hoping for a neater solution :) Antony. -- Software development can be quick, high quality, or

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Eric Wieling
Create a spool file from the 'h' extension to generate the call. On 11/12/21 11:56, Antony Stone wrote: Hi. I have a setup which comprises some "front-end" Asterisk servers which have SIP trunks to external providers, and very simple dial plans, and some "back- end" servers which only talk to

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Antony Stone
On Friday 12 November 2021 at 17:20:39, Frank Vanoni wrote: > On Fri, 2021-11-12 at 16:56 +, Antony Stone wrote: > > I use Dial() commands with custom SIP headers to pass information > > (eg: about the current state of a call) between the front-end and back-end > > machines, and this works

Re: [asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Frank Vanoni
On Fri, 2021-11-12 at 16:56 +, Antony Stone wrote: > I use Dial() commands with custom SIP headers to pass information > (eg: about > the current state of a call) between the front-end and back-end > machines, and > this works very well. > > I need to perform a Dial() > command after an

[asterisk-users] Dial() after the h extension has been invoked?

2021-11-12 Thread Antony Stone
Hi. I have a setup which comprises some "front-end" Asterisk servers which have SIP trunks to external providers, and very simple dial plans, and some "back- end" servers which only talk to the front-end machines, and have the majority of my dialplan logic on them. I use Dial() commands with