Dovid Bender
5046e1fb06
func_curl.c: Allow user to set what return codes constitute a failure.
...
Currently any response from res_curl where we get an answer from the
web server, regardless of what the response is (404, 403 etc.) Asterisk
currently treats it as a success. This patch allows you to set which
codes should be considered as a failure by Asterisk. If say we set
failurecodes=404,403 then when using curl in realtime if a server gives
a 404 error Asterisk will try to failover to the next option set in
extconfig.conf
ASTERISK-28825
Reported by: Dovid Bender
Code by: Gobinda Paul
Change-Id: I94443e508343e0a3e535e51ea6e0562767639987
2020-11-06 11:47:16 -06:00
..
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-05-24 12:59:37 -06:00
2017-12-22 09:23:22 -05:00
2020-06-02 11:36:12 -05:00
2017-12-22 09:23:22 -05:00
2016-09-02 13:01:13 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-05-25 10:02:42 +02:00
2017-12-22 09:23:22 -05:00
2017-06-19 12:28:18 -04:00
2017-11-16 09:47:10 -06:00
2017-05-25 10:02:42 +02:00
2017-12-22 09:23:22 -05:00
2018-05-03 10:34:12 -05:00
2017-12-22 09:23:22 -05:00
2019-01-25 14:31:53 -06:00
2020-10-01 08:01:17 -05:00
2017-07-13 11:44:14 -04:00
2016-09-02 13:01:13 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2019-06-05 11:56:22 -06:00
2019-09-18 14:07:37 -05:00
2017-12-22 09:23:22 -05:00
2017-04-08 03:16:26 -05:00
2017-12-22 09:23:22 -05:00
2020-10-22 11:23:46 -05:00
2017-12-22 09:23:22 -05:00
2018-01-17 12:08:59 -06:00
2020-03-17 08:19:08 -05:00
2017-05-09 05:38:59 -05:00
2020-01-22 10:09:54 -06:00
2017-12-14 10:22:54 -06:00
2017-12-22 09:23:22 -05:00
2020-03-06 08:41:52 -06:00
2020-10-16 07:10:24 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-08-30 18:43:38 +00:00
2016-09-02 13:01:13 -05:00
2018-10-24 12:50:08 -05:00
2020-09-28 13:20:12 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-02-28 11:41:30 -06:00
2018-07-31 11:29:15 -05:00
2020-10-06 09:07:51 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-05-25 10:02:42 +02:00
2017-10-09 08:16:44 -05:00
2020-11-06 11:47:16 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2019-02-07 08:23:04 -06:00
2018-10-18 14:57:58 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2020-03-20 08:40:23 -05:00
2017-12-22 09:23:22 -05:00
2020-02-05 06:27:06 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-04-07 08:44:49 -05:00
2020-10-06 09:07:51 -05:00
2016-09-02 13:01:13 -05:00
2017-12-22 09:23:22 -05:00
2019-01-22 13:32:00 -06:00
2016-09-02 13:01:13 -05:00
2017-12-22 09:23:22 -05:00