Holger Hans Peter Freyther wrote:
Your last proposal is asking for introducing a race condition. This
is a very bad idea. You have two options. You can use multiple 0 duration timers and fake the release confirm. The other option is to make the callers aware of missing release confirms.
do you have an updated patch for that? The easiest would be to have a single timer per lchan and in rsl_release_sapis_from start a timer and in lchan->sapis[sapi] store a new enum value of something like LCHAN_SAPI_REL_REQUESTED?
hi holger,
i have no update yet, but i will implement your suggestion.
best regards,
andreas