Hi,
On Wed, Sep 30, 2009 at 4:12 AM, Holger Freyther zecke@selfish.org wrote:
I would like to implement the following. - Remove the refcount from lchan - Replace it with the "transaction" concept. On certain 04.08 messgaes (e.g. paging response, various MM messages) open a transaction from BSC to MSC code. The channel is bound to the transaction.
Are you talking about the transaction in transaction.c ?
Because for SMS for examples, we re-use the same lchan for consecutive transactions when delivering multiple SMS back to back and your approach would make that impossible if I understand correctly ?
The lchan is getting released when the transaction is finished, in case of the "RSL chan" is going away too early there will be a "clear" signal/method called from the BSC and the MSC side is asked to let it go.