Yate Community Forum
General Category => Yate users hangout place => Topic started by: jamie on December 08, 2014, 04:50:21 PM
-
Hi,
Does anyone know if Yate V5 has support for running external scripts on a Windows platform ?
Thank you,
Jamie
-
Hi,
You can run yate scripts on windows but they must be started differently, since Yate won't be allowed to start them.
-
Thanks Monica ... happy new year !
Just to confirm ( i didn't clarify in post ) ... I was referring to channel scripts ?
If so, I can see how we could do this if just an outbound call is invoked.
But I'm not so sure (yet) how it could be done from routing an inbound call in a global script. Seeing as YATE can't start a channel script using the 'external' command
Unless I'm misunderstanding some terms .... ie global and channel
At the moment ( example testing ) I've created a simple PHP script and running it as a service.
It's a simple script with an event loop that waits for a call and uses a class to hold and separate calls into.
Does this sound like I'm going in the right direction ... hope this makes sense !
-
Yes, you can have a global script that is started as a service and handles messages on behalf of multiple channels. You can use dumbchannels to have the leg connected to a channel and send messages on behalf of the dumbchannel from your script.
-
Thanks Monica, much appreciated.