FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

HangupAction.java: Support Hangup taking a regular expression for channel name. by seanbright · Pull Request #751 · asterisk-java/asterisk-java · GitHub

Repository navigation

HangupAction.java: Support Hangup taking a regular expression for channel name. - #751

Merged
seanbright merged 1 commit into
asterisk-java:mainfrom
seanbright:hangup-action-regex-support
Dec 4, 2025
Merged

seanbright merged 1 commit into
asterisk-java:mainfrom
seanbright:hangup-action-regex-support

Conversation

Copy link
Copy Markdown
Member

If you supply a single literal channel name, you should use ManagerConnection.sendAction(...).

If you send a regular expression instead (a String starting and ending with a slash), you need to use ManagerConnection.sendEventGeneratingAction(...) to handle the response correctly.

See https://docs.asterisk.org/Latest_API/API_Documentation/AMI_Actions/Hangup/ for usage information.

Fixes: #340

…nnel name.

If you supply a single literal channel name, you should use `ManagerConnection.sendAction(...)`.

If you send a regular expression instead (a `String` starting and ending with a slash), you need to use `ManagerConnection.sendEventGeneratingAction(...)` to handle the response correctly.

See https://docs.asterisk.org/Latest_API/API_Documentation/AMI_Actions/Hangup/ for usage information.

Fixes: asterisk-java#340
seanbright merged commit 6c39c2f into asterisk-java:main Dec 4, 2025
3 checks passed
seanbright deleted the hangup-action-regex-support branch December 5, 2025 20:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

channelshunguplistcomplete

1 participant


Back | FazBrowse Home | New Git URL