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

Re: [reSIProcate-users] What's difference between onConnected andonAnswer ?


Thanks for your answer.

2007/7/23, Scott Godin <slgodin@xxxxxxxxxxxx>:

For a UAC onConnected fires when 200 response is received.  If an offer was provided in the UAC invite, then this 200 also contains the SDP answer, so you will also get an onAnswer callback.     In the case when a UAC invite does not contain an offer (and no PRACK used), then the 200 contains the offer and you will get an onConnected and an onOffer callback.

 

DUM separates the SIP states from the SDP offer answer states by providing different callbacks for them.

 

Scott

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of resiprocate
Sent: Monday, July 23, 2007 10:40 AM
To: resiprocate-users@xxxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate-users] What's difference between onConnected andonAnswer ?

 

Hello everyone, what's difference between onConnected and onAnswer ? I have read the comments for the source code, but I just know the onAnswer for the 200 OK with SDP, but the onConnected ? It fire when for the ACK ?

 

Thanks