Re: Can dialogs be used safely?
"M. Rangnathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Luis, Please cvs update. A month old is a bit dated. CVS detals are on jain-sip.dev.java.net Its not a thread pool issue but a question of whether there are re-entrancy problems with the SIPDialog data structure. I am wondering if I should put a semaphore on that one as I have done with the SIPTransaction. I dont like nested semaphores however ( can cause deadlock if one is not careful about lock ordering). I will give this a try and see if your problem persists if you are willing to work with me on resolving this. Regards Ranga Luis Alberto Teixeira wrote: >Hi Ranga, > >Well, I could not find any thread pool issue. But the only suspicious >thing I am considering so far is the fact that to be able to run my >service I am forcing the AUTOMATIC_DIALOG_SUPPORT property to be set to >on at the SIP RA. In this case I will modify my code in order to verify >if there is a dialog, creating one if it doesn't exist. Relative to the >nist-sip version I am using, it is at most one month old.. > >Thanks. > >Luis > >-----Original Message----- >From: M. Rangnathan [mailto:[email protected]] >Sent: quarta-feira, 19 de Abril de 2006 19:49 >To: Luis Alberto Teixeira >Cc: [email protected] >Subject: Re: [nist-sip] Can dialogs be used safely? > >Luis, > >I do hope you are using the current version from the cvs repository. >What are these errors? Dialogs are certainly not deprecated. You can do > >without dialogs in Jain-sip-1.2 but before you give using the dialog >implementation I'd like to work with you on getting things done right. >If you are having an issue at load, perhaps there are synchronization >problems with dialogs. Have you experienced problems with a thread pool >of size of 1 > >Ranga > >Luis Alberto Teixeira wrote: > > > >>Hi all, >> >> >> >>I have been working on a B2BUA service that in many aspects relies on >>the Dialog implementation offered by the nist-sip stack. During >>development the service have been softly tested through the different >> >>use cases and the results were successfull. But after a series of >>tests under moderate load conditions, errors and unexpected behavior >>became visible. Without being able to point out a concrete failure in >> >> >the > > >>service, and given the exceptions coming from the nist-sip stack and >>the SIP RA (the service is executed on top of Mobicents application >>server), we start questioning how much is it a good idea to keep >> >> >relying > > >>on the dialog objects provided by nist-sip instead of using other >>solutions (whenever adequate for a BUBUA kind of service). Are the >>dialogs safe to use or is it a deprecated choice for a reliable User >>Agent. >> >> >> >>Thanks. >> >> >> >> >> >>Luis Teixeira >> >> >> >> >> >>----------------------------------------------------------------------- >> >> >- > > >>_______________________________________________ >>nist-sip mailing list >>[email protected] >>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip >> >> >> >> > > > > -- M. Ranganathan Advanced Networking Technologies Division, National Institute of Standards and Technology (NIST), 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/ Advanced Networking Technologies For the People!