KamoCRM

Bypass start_asterisk, wait for control socket instead

FixKlusterServices
Shipped
24 ஏப்ரல், 2026 அன்று 7:57 AM UTC
Author
Kamo
Commit
8851e82

start_asterisk uses `pidof asterisk` which returns a false positive on pod restarts, causing the wait-for-Asterisk loop to hang. Now startup.sh starts Asterisk directly via safe_asterisk (after clearing stale socket/pid files) and waits for the control socket file to appear rather than relying on pidof.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing