Ticket #1997 (closed enhancement: fixed)
Add setting to retry timer upon transport disconnection failure (503)
|Reported by:||ming||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
With the new API pjsip_transport_shutdown2(), ongoing session refresh transaction can immediately end with transport error (503). However, it will also trigger call disconnection by sending BYE.
This ticket adds a compile-time configurable setting PJSIP_SESS_TIMER_RETRY_DELAY for retrying session refresh request upon receiving 503 error. User can set it to -1 if they prefer the old behavior (immediate disconnection).