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

Re: [reSIProcate-users] 183 session progress and ACK


OK, i answer to myself, i was wrongly using sis->accept instead of sis->provisional(183, true) this way all seems to be working as expected :)

On Wed, Aug 2, 2017 at 10:16 AM, Francesco Lamonica <alienpenguin@xxxxxxxxx> wrote:
Hi all,
i am receiving an INVITE and my dum application responds with a code like this:

    if (linePtr->isDelayedOfferCall())
        ish->provideOffer(answer);
    else
        ish->provideAnswer(answer);
    ServerInviteSession *sis = (ServerInviteSession*) (ish.get());
    sis->accept(183);

however the remote party (asterisk) does not respond with an ack to the 183 and DUM keeps re-sending 183 till asterisk cancels the call.

So my questions are:
1) is this the correct way to send a session progress?
2) how do i tell DUM to stop waiting for a PRACK?

thanks