Files
asterisk/main
Naveen Albert 0c04c8d212 pbx_variables.c: Create real channel for "dialplan eval function".
"dialplan eval function" has been using a dummy channel for function
evaluation, much like many of the unit tests. However, sometimes, this
can cause issues for functions that are not expecting dummy channels.
As an example, ast_channel_tech(chan) is NULL on such channels, and
ast_channel_tech(chan)->type consequently results in a NULL dereference.
Normally, functions do not worry about this since channels executing
dialplan aren't dummy channels.

While some functions are better about checking for these sorts of edge
cases, use a real channel with a dummy technology to make this CLI
command inherently safe for any dialplan function that could be evaluated
from the CLI.

Resolves: #1434
2025-09-11 12:31:35 +00:00
..
2025-02-20 21:46:28 +00:00
2021-11-15 17:33:27 -06:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2023-12-08 13:11:54 +00:00
2025-02-20 21:46:28 +00:00
2023-12-08 13:11:54 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-01-16 15:32:52 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2025-08-06 15:37:47 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2022-07-07 08:19:14 -05:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2023-01-10 14:07:44 -06:00
2021-12-02 15:02:09 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2024-08-12 15:21:35 +00:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2025-04-21 13:29:28 +00:00
2021-12-02 15:02:09 -06:00
2017-12-20 12:40:01 -05:00
2025-04-02 12:16:36 +00:00
2025-01-29 14:18:18 +00:00
2025-01-29 14:18:18 +00:00
2025-05-07 16:47:02 +00:00
2025-01-29 14:18:18 +00:00
2025-01-29 14:18:18 +00:00
2025-04-21 13:29:28 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-01-29 14:18:18 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2025-01-29 14:18:18 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2025-01-29 14:18:18 +00:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2025-01-29 14:18:18 +00:00
2025-01-29 14:18:18 +00:00
2025-02-20 21:46:28 +00:00
2025-06-02 16:35:28 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-03-24 12:00:58 -05:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00