Re: How to be notified on Retransmission failure
Francesco Picasso <[email protected]> Mon, 21 Mar 2005 09:42:14 +0100
| Newsgroups | gmane.comp.lib.vovida.vocal |
|---|---|
| Message-ID | <344A4F3DC022BD40B52EF4E1566E5137020AEAA6@phones3.intranet.ifminfomaster.com> |
Hi Dimitri, thank you for your fix. I tried also BugZilla 583, with success. I did not found any side-effects until now on both solutions: if I find something wrong, I'll post it. Best regards, Francesco Picasso > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Savolainen Dmitri > Sent: sabato 19 marzo 2005 15.31 > To: [email protected] > Subject: [Vocal] Re: How to be notified on Retransmission failure > > > vrvo> Hi all, > vrvo> I'm using Vovida 1.5.0 on Win32 Environment, but I > think the same > vrvo> problem should arise also on other platforms. > vrvo> Suppose to create a Sip session with a peer, and then, > after BYE > vrvo> (or before/after other messages) unplug the network cable. > vrvo> The Sip Stack (Transaction) retransmits the packets, > but after not > vrvo> having received response for that transaction, it stops > retransmission. > vrvo> But my application never gets any messages regarding > that failure! > > vrvo> I think my application should be informed that the sent message > vrvo> never got response: moreover I think I should not > implement timer > vrvo> at application level, because the Sip stack already (it > seems to > vrvo> me) manages that timers. > > vrvo> But why I never get informed? It's *really* important because I > vrvo> have to clean up that calls. Nobody could help me > regarding this issue? > vrvo> Thank you. > > I resolved this problem in SipStack: > function: > void* SipUdp_impl::sendMain() > { > > /*............................*/ > > //after these strings: > if(!randomLosePercent || ((random() % 100) >= > randomLosePercent)) > { > ret_status = udpSend(sipMsg); > //i added this: > if (count==4) > ret_status = 2; > //and other without changes > > /*............................*/ > > } > > So, after 4 retransmits 408 status message returned. > > Best regards, > Savolainen Dmitri > > mailto: [email protected] > > _______________________________________________ > vocal mailing list > [email protected] > To unsubscribe, please go to > http://www.vovida.org/mailman/listinfo/vocal > _______________________________________________ vocal mailing list [email protected] To unsubscribe, please go to http://www.vovida.org/mailman/listinfo/vocal