[Asterisk-Dev] chan_sip / sip_pvt question

Kevin P. Fleming kpfleming at starnetworks.us
Wed Jan 19 07:33:50 MST 2005


Andreas Sikkema wrote:

> What is the live span of a sip_pvt instance? Is it per call, per sent
> INVITE message? I'm working on some reinvite issues I'm having and I
> want to save some info in the pvt, but I'm not sure how long the info
> will be available.

It lives for the life of the "call", which can be an INVITE, a REGISTER 
or a SUBSCRIBE, among other things. For an INVITE-based call, it lives 
until the BYE occurs. Reinvites use the same pvt structure, since they 
need to use the same branch/tag/CSeq information.



More information about the asterisk-dev mailing list