I have the need for two scripts to be executed via the system command and continue to executed after the caller hangs up.
If I have this.
exten => 800,1,Answer() exten => 800,n,Wait(1) exten => 800,n,Playback(somefile) exten => 800,n,System(script1) exten => 800,n,System(script2) exten => 800,n,HangUp()
My questions are as follows.
Will Script 2 wait for Script 1 to execute before it is started? If so Can I have them both start at the same time?
Also what will happen when the caller hangs up prior to both system calls being made? Will it stop the script? Should I use the ‘h’ priority for the system calls?
I will be doing testing on Monday when I get to the office just wanted to see if any of you had any advice. Thanks!!