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

asterisk at phreaknet.org asterisk at phreaknet.org
Fri Nov 12 18:04:16 CST 2021


On 11/12/2021 6:00 PM, Antony Stone wrote:
> On Friday 12 November 2021 at 18:08:11, asterisk at 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 feels a bit clunky, and was hoping
>>> for a neater solution :)
>> Use Originate() instead of spooling a call file, so it's a single line
>> of dialplan. Much less clunky :)
> Originate() does not support special SIP headers :(
And neither do call files. Originate supports arbitrary data, so why not 
pass the header info as variables and then set them in the dialplan, 
then do what's necessary?



More information about the asterisk-users mailing list