Repository navigation
Commit db7ad81
rtpengine: fail the call when rtpengine replies with an error
Since the failover change (3d0959a), an error reply that is not a
failover error breaks out of the retry loop and is returned as a
success. So rtpengine_delete(), the recording, block, forward and
unsubscribe functions return true when rtpengine refused them, and
error_pv is never set for such errors.
Go to the error path instead, as before that change and as the async
path does.
(cherry picked from commit 9aa23bf)1 parent b3fd4ea commit db7ad81
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2929 | 2929 | | |
2930 | 2930 | | |
2931 | 2931 | | |
2932 | | - | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
2933 | 2937 | | |
2934 | 2938 | | |
2935 | 2939 | | |
| |||
0 commit comments