On 04/04/2012 04:40 PM, Refik Hadzialic wrote:
Dear group members,
Hi Refik,
osmo-nitb (libmsc/) keeps a channel open by "reference" counting. This counting is implemented by the 'transaction' or 'operations'. See gsm_subscriber_connection for 'operation' pointers.
So what roughly happens is: 1.) A channel is opened, a dummy operation is created to not immediately close the channel 2.) Whoever feels responsible creates an operation/transaction.. 3.) When a transaction is done msc_release_connection is called.. 4.) when all transactions and operations are completed the channel will be released.
You would probably want to add a new operation