Hello, everyone. Is there any way to pass assigned values of variables back to the parent context from a child context when I dial? I dial a local channel, there determine, if all phones are busy or unavailable (direction blocked and other). When I exit the local channel, the values of these variables are back as they were before dialing the local channel. Any advice on how to implement this?
Variables are channel scoped, not context scoped.
You can use global or shared variables to allow access from multiple channels.
Thank you, I have managed to solve the problem with a shared variable. In this thread, Is there a way to unset SHARED variables?, it is written, that shared variables consume too much memory. How can I prevent this?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.