Allow SIP transaction to continue for certain case despite transport error#2683
Allow SIP transaction to continue for certain case despite transport error#2683
Conversation
|
This patch is from an old CR http://cr.teluu.com/231677003/ (this CR link can only be accessed by internal developers only). I can't remember, and can't find any information from our internal chat, if this is overlooked or if there's any other reason why it hasn't been integrated. |
|
Perhaps retrying is actually the correct behavior, or at least a better behavior as I am not sure if the retry procedure is inline with the standard. So what if we modify the behavior (break backward compatibility), and the macro is provided for app wanting the old behavior. Note: the macro name is perhaps too generic, while it is only applicable for UAS tsx. In https://tools.ietf.org/html/rfc3261#section-17.2.4: Then in https://tools.ietf.org/html/rfc3263#section-5 (previously referred as "procedures in [4]"): |
|
Perhaps need to note the behavior change (potential backward compatibility issue) in the milestone 2.12 page? |
|
Sure. Note that Github milestone page is simple, so we can't make something like https://trac.pjsip.org/repos/milestone/release-2.10 |
Normally, SIP transaction will always terminate upon transport error. But it may be desirable for certain cases (such as for INVITE UAS tsx that hasn't been confirmed) that the transaction be allowed to continue. So we introduce a compile-time setting for this.