Re: Disconnect a downstream channel in lamina

2012-10-25 Thread Zach Tellman
If the upstream channel is permanent, then it won't close if all downstream channels are closed. You can create a permanent channel using (permanent-channel) or (channel* :permanent? true). Once you have that, you can replace all that code with a simple (siphon perm-ch conn-ch) As an aside, t

Disconnect a downstream channel in lamina

2012-10-25 Thread Marko Topolnik
I use lamina channels in a library that maintains multiple event streams. The event source is the Asterisk Management Interface, whose raw events are processed, filtered, collated, and finally pushed into appropriate lamina channels. On the client side of my library I want to expose the event s