Skip to content

Commit

Permalink
fix: extend invite proceeding state timeout to 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm authored and kbalt committed Dec 28, 2024
1 parent 06af4b3 commit 0d43015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sip-core/src/transaction/client_inv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ impl ClientInvTsx {
async fn handle_msg(&mut self, msg: TsxResponse) -> Result<Option<TsxResponse>> {
match msg.line.code.kind() {
CodeKind::Provisional => {
self.timeout = Instant::now() + T1 * 240; // 2 minutes
self.state = State::Proceeding;
}
CodeKind::Success => {
Expand Down

0 comments on commit 0d43015

Please sign in to comment.