Commit 180bb3a
committed
cami: Handle async OriginateResponse.
When issuing an async Originate action, we immediately get an eventless
Success response (with the corresponding ActionID), but then later
get back an OriginateResponse with the same ActionID. This confused
the current parsing, as the "ActionID" bit would lead us to set
middle_of_response = 1 and then get stuck, thinking we were in
the middle of a response, leading to further events getting lost.
To mitigate this, if we get an event with an Action ID but a response
was not already pending, don't set middle_of_response = 1.1 parent 2570719 commit 180bb3a
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
0 commit comments