< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] how to tell whethere an invite is re-invite


I’m trying to figure out a way to tell whether incoming INVITE is a re-invite. It seems that the older version had onDialogModified called for an InviteSessionHandler. But it since has changed to onOffer and onOfferRequired. Then I thought about testing InviteSessionHandle->isConnected(). But it doesn’t work either. If your UA sends out the initial INVITE with no SDP, by the time onOfferRequired is called, isConnected() is already true. Any thoughts on this? Should the state of the invite session be made visible?

 

Hong