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 !