want to set the transaction time Out

slim bens <[email protected]> Thu, 21 Dec 2006 20:54:36 -0500
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
hello memebers,According to the RFC3261, here are some Timer Value :T1 = 500 ms ----------------------- round trip time TIMER_F = 64 * T1--------------- non-INVITE transaction TIME OUT TIMER    <-------- I want to set this valuebut in the code in class "SIPTransaction" we have :    protected static final int BASE_TIMER_INTERVAL = SIPTransactionStack.BASE_TIMER_INTERVAL; ( = 500 ms)    /**     * One timer tick.     */    protected static final int T1 = 1;    ......    protected static final int TIMER_F = 64;    I WANT TO SET THE FIELD TIMER_F ,   does any one know how to do ?    thank you .From: [email protected]: [email protected]: I hope that there is no time out for my question  !!Date: Wed, 20 Dec 2006 17:28:18 -0500





hello members,I looked in the code,in class  "SIPTransactionStack" there is a field :/*     * Number of milliseconds between timer ticks (500).     */    public static final int BASE_TIMER_INTERVAL = 500;and in the class "SIPClientTransaction" there is a metod to lauch the the transaction timer : protected void startTransactionTimer() {        TimerTask myTimer = new TransactionTimer();        sipStack.timer.schedule(myTimer,                                            SIPTransactionStack.BASE_TIMER_INTERVAL,                                            SIPTransactionStack.BASE_TIMER_INTERVAL);  }So, I see that a need to set that field to the value I want.But on the other hand, this field  is used by others fields the class in another class "SIPTransaction" :protected static final int BASE_TIMER_INTERVAL = SIPTransactionStack.BASE_TIMER_INTERVAL;/**     * 5 sec Maximum duration a message will remain in the network     */    protected static final int T4 = 5000 / BASE_TIMER_INTERVAL;/*** The maximum retransmit interval for non-INVITE requests and INVITE     * responses     */    protected static final int T2 = 4000 / BASE_TIMER_INTERVAL;so if I change the fields consequently others fields will change.is there any one who has faced this issue !!thank you.regards.From: [email protected]: [email protected]: how to set time out for transaction clientDate: Tue, 19 Dec 2006 22:27:47 -0500





hello members,I want to set the time Out value for a transaction client.Knowing that timeOut value is 64 * T1, where T1 is the initial transmit time set to the default value of 500 ms.we are supposed to be able to change the value of  T1 using the method  " setRetransmitTimer(..) ".But actually I got an exception " java.lang.UnsupportedOperationException : Feature not suppoted "it seems that the method is not implemented.does any one know how to solve this problem ?thank you.what I did :.....ClientTransaction messageTransaction = sipProvider.getNewClientTransaction(request);messageTransaction.setRetransmitTimer(1000); //<---------------------------- Exception messageTransaction.sendRequest();Soyez parmi les premiers à essayer Windows Live Mail.
Soyez parmi les premiers à essayer Windows Live Mail.

_________________________________________________________________
Soyez parmi les premiers à essayer Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip