Hi,

I’m trying to use “switch_core_session_alloc” in a new module however I notice in documentation the below note, does this mean that once the session hangup this memory segment will not be valid anymore and I should not use this segment again?, your kind feedback will be appreciated.

"Note:
the memory will be in scope as long as the session exists"


Thanks,

Ahmed Habiba.