[asterisk-dev] astobj2 and chan_sip; first results... wanna test drive it?

Russell Bryant russell at digium.com
Fri Jan 4 09:39:29 CST 2008


Steve Murphy wrote:
> 3. on sip destruction-- I have a crash in check_rtp_timeout, and it's
> one of those chicken-egg issues; the channel pointer, pvt->owner goes
> null while the routine is running. I need to either pull it into pieces
> or lock things or... perhaps you might have some advice.

This is a locking issue.  If you need to ensure that the contents of the sip_pvt
structure do not change while you are working with it, you must have it locked.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list