Files
asterisk/main
Joshua C. Colp 92d10d1e71 channel: Always provide cause code in ChannelHangupRequest.
When queueing a channel to be hung up a cause code can be
specified in one of two ways:

1. ast_queue_hangup_with_cause
This function takes in a cause code and queues it as part
of the hangup request, which ultimately results in it being
set on the channel.

2. ast_channel_hangupcause_set + ast_queue_hangup
This combination sets the hangup cause on the channel before
queueing the hangup instead of as part of that process.

In the #2 case the ChannelHangupRequest event would not contain
the cause code. For consistency if a cause code has been set
on the channel it will now be added to the event.

Resolves: #1197
(cherry picked from commit ca341910e7)
2025-05-01 12:39:48 +00:00
..
2025-03-20 18:18:29 +00:00
2021-11-15 17:33:27 -06:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2024-01-12 18:29:19 +00:00
2025-03-20 18:18:29 +00:00
2024-01-12 18:29:19 +00:00
2025-03-20 18:18:29 +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-03-20 18:18:29 +00:00
2025-01-23 18:36:04 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2021-12-02 15:02:09 -06:00
2022-07-07 08:19:14 -05:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00: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-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2024-09-12 18:45:46 +00:00
2025-03-20 18:18:28 +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-05-01 12:39:48 +00:00
2021-12-02 15:02:09 -06:00
2017-12-20 12:40:01 -05:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2021-12-02 15:02:09 -06:00
2025-03-20 18:18:29 +00:00
2021-12-02 15:02:09 -06:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:29 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:28 +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-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +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-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00
2021-12-02 15:02:09 -06:00
2025-03-20 18:18:29 +00:00
2025-03-20 18:18:29 +00:00