Re: Help with changing SIP Stack Request retransmit setting
"M. Rangnathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
I suggest you put a counter into *your* version of SIPClientTransaction.java which retransmits the request exactly 4 times and then does not call sendRequest thereafter. This change will not be considered for incorporation into the code base so you should plan on keeping a local copy and cvs updating in case there are any changes in the repository. Ranga Amos K wrote: > Can anyone help on reconfiguring the NIST Sipstack Retransmit Timer > from default values? > > >*Problem*: >When a NOTIFY/OPTION request is sent to ...for example a SIP phone with a >bad or non existing IP Address via the sipstack, the stack retransmits the >NOTIFY request at the intervals of 500 ms, 1 s, 2 s, 4 s, 4 s, 4 s, etc > >until the request finally times out. In all, there could be up to 8 NOTIFY >or more requests before the request times out. > >*Desired:* >I want to be able to configure the sipstack to limit the number of >retransmission of NOTIFY/OPTION requests that can be sent before the request > >times out. For my application, 4 or less retransmit NOTIFY/OPTION requests >is ok. Or I want the intial request to Timeout after say 4s instead of 32s. > >*I've tried:* >Using the RetransmitTimer but it throws exceptions.... > >ClientTransaction *trans* *=* *udpProvider**.getNewClientTransaction(** >request**);* >*trans**.setRetransmitTimer(10*00*);* >*trans**.sendRequest();* >** >*Solution:* >? > >Thanks > >Sincerely, > >Amos. > >------------------------------------------------------------------------ > >_______________________________________________ >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!