Skip to content

Fix: Refactor AMI pjsip reload and improve ami command response handling#62

Open
a2luca wants to merge 2 commits intodect-e:mainfrom
a2luca:main
Open

Fix: Refactor AMI pjsip reload and improve ami command response handling#62
a2luca wants to merge 2 commits intodect-e:mainfrom
a2luca:main

Conversation

@a2luca
Copy link
Copy Markdown
Contributor

@a2luca a2luca commented May 6, 2026

As mentioned in issue #61, the current NixOs asterisk server the pjsip reload alias doesn't work and there is no response handling, so you can't see if anything goes wrong with the reload.
This pr uses "module reload res_pjsip_config_wizard.so" and checks the response for a success message.

a2luca added 2 commits May 6, 2026 12:28
Refactor trigger function to replace pjsip reload, as it is not available on all versions of asterisk and add response validation.
Fixed the message return from asterisk and only print the error messages, as we don't need the spam success messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant