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

Re: [reSIProcate] About the ACK


Thanks, the ACK question I have got it.
 
The quesiton about makeInviteSession no SDP crash is my mistake, sorry.


 
2007/12/9, Scott Godin <slgodin@xxxxxxxxxxxx>:

Sorry ? I meant, DUM should not send an ACK without SDP.  Step 3 below should not be happening.

 

Also passing null into the initialOffer argument of makeInviteSession should not crash.  Sounds like you might be using a pretty old version of resiprocate.

 

Scott

 

From: Karlsson [mailto:boost.regex@xxxxxxxxx ]
Sent: December 9, 2007 10:28 AM
To: Scott Godin
Cc: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] About the ACK

 

Thanks for your answer:

I mean:

 

1: UAC call UAS without SDP

2: UAS replied 200 with SDP

3: UAC will be fires the onConnected and send a ACK without SDP to UAS

4: UAC will be fires onOffer

5: use the provideAnswer to send a ACK with SDP

 

Then UAS will received two ACKs?

 

 

Another questions:

I want to send a INVITE without SDP body, I using:

 

SharedPtr<SipMessage> inviteMessage = mDum.makeInviteSession(NameAddr(callee), profile, NULL);

 

The program crashed.

 

thanks

 

2007/12/9, Scott Godin <slgodin@xxxxxxxxxxxx>:

In that case DUM should not send an empty SDP ? you should get an onOffer callback when the 200 arrives and the ACK will be sent after you call provideAnswer.

 

From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Karlsson
Sent: December 9, 2007 9:55 AM
To: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: [reSIProcate] About the ACK

 

When UAC call UAS with SDP, the UAS replied the 200 OK with SDP, the UAC will be send the ACK automatically and the onConnected will be fires.

 

But in this case: UAC call UAS without the SDP, and the UAS replied 200 OK with SDP, UAC need to replied the ACK with SDP.

but the DUM will send the ACK without SDP automatically , then UAS will received two ACKs?  So does there need to diable the DUM send ACK?

 

 

Thanks