Help with changing SIP Stack Request retransmit setting
"Amos K" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
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