Commit efc6884
authored
fix(sip): send 487 Request Terminated after OK (CANCEL) for pending INVITE (#372)
When a CANCEL is received for an INVITE that hasn't been answered,
the SIP gateway now correctly sends a 487 response to the original
INVITE. This ensures proper SIP transaction termination and avoids
issues where upstream proxies (e.g., Brekeke) keep the call in
an INVITE state due to the missing final response.1 parent 6d79b26 commit efc6884
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
| 1164 | + | |
1167 | 1165 | | |
1168 | 1166 | | |
1169 | 1167 | | |
| |||
0 commit comments