Re: How to get Transaction
"M. Ranganathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Hello avwifiguy, Dialog.getFirstTransaction() is indeed deprecated. It was deprecated to reduce overhead for implementations. If you want dialog -transaction mapping , you should keep your own table or maybe put it into Dialog.setApplicationData(). You should see no major changes if you dont want new functinality and dont care about deprecated features ( they are still supported in the RI but not tested in the tck). You will see some new methods in your listener but they are notifications and you can ignore them. However, if you want to use new features and non-deprecated functions, you have to make changes. Please look at the change log for a definitive answer. Although some features are deprecated, it does not mean they are unsupported -- just that they are not tested for. If you dont want to use deprecated features your major change would be that you no longer associate an ip address with a sp stack but rather a listenng point. A provider can have multiple listening points ( all with the same ip address and port but differeing in transport ). The one-to-one mapping between provider and listening point has been removed. Take a look at some code in src/examples. It should all look familiar Ranga avwifiguy avwifiguy wrote: > **Hello,** > ** > *As getFirstTransaction() has been deprecated from Dialog in > JAIN-SIP1.2.* > ** > *How to get the transaction for the Dialog in User Initiated processing?* > ** > *Any example which will help me or any way to get the transaction for > the Dialog?* > ** > *What are the major changes will requier to shift from JAIN-SIP 1.1 to > JAIN-SIP 1.2?* > ** > *Thanks* > *avwifiguy * > >------------------------------------------------------------------------ > >_______________________________________________ >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!