Skip to content

Restore break after parsing single-line AGI response in Command() - #18

Merged
Ulexus merged 1 commit into
CyCoreSystems:masterfrom
mcrgnt:fix/restore-command-break
Aug 3, 2026
Merged

Restore break after parsing single-line AGI response in Command()#18
Ulexus merged 1 commit into
CyCoreSystems:masterfrom
mcrgnt:fix/restore-command-break

Conversation

@mcrgnt

@mcrgnt mcrgnt commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Without break, Scanner.Scan blocks waiting for another line while Asterisk keeps the session open awaiting the next command — deadlock after every successful response. Multi-line (NNN-) is still unhandled; this restores the previous correct single-line behavior lost in 1aff494.

Without break, Scanner.Scan blocks waiting for another line while
Asterisk keeps the session open awaiting the next command — deadlock
after every successful response. Multi-line (NNN-) is still unhandled;
this restores the previous correct single-line behavior lost in 1aff494.

@Ulexus Ulexus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Thanks!

@Ulexus
Ulexus merged commit 8849901 into CyCoreSystems:master Aug 3, 2026
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.

2 participants