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

Re: [reSIProcate-users] How to differ the Invite and re-Invite!


Title: Mail

The only reason I know of that you would need to know the difference between initial invite vs re-invite is if you want to decide if  to call ServerInviteSession::accept or not in the onOffer callback.  In this case you can call h->isAccepted() in order to differential initial UAS Invite from reInvite.  Let me know if you had a different use call in mind. 

 

Scott

 

From: 秦杨 [mailto:qinyang_1980@xxxxxxx]
Sent: Monday, June 23, 2008 8:42 AM
To: resiprocate-users
Cc: Scott Godin
Subject: How to differ the Invite and re-Invite!

 

Hi Scott:

 

  I send an invite message to a UAS, the UAS invoke the onOffer function.

But when I send a re-invite message(with sdp), the onOffer function also be called.

 

 

I want to know what different between the invite and re-invite, and which functions will be called when send them, and how to differ them??

 

Thanks.

 

Ryan

2008.06.23