If the system is not working, follow these steps in order. Do not skip steps.
- Run
docker ps. Is the containermy-asteriskshowing as "Up"? - If not, run
docker-compose up -d. - Check logs:
docker logs my-asterisk. Look for "Error" messages.
- Port 5060: Is it mapped? Check your
docker-compose.yml. - Firewall: Temporarily disable Windows Firewall or add a rule for UDP 5060.
- IP Address: Run
ipconfig. Ensure MicroSIP is trying to connect to the correct IP.
- Enter the CLI:
docker exec -it my-asterisk asterisk -rvvv. - Type
pjsip show endpoints. Does it show your users? - If endpoints are missing, check
config/pjsip.conffor syntax errors.
- Check Username (1001) and Password (pass1001).
- Ensure the Domain/Server is
127.0.0.1(if on same PC) or your Local IP. - Ensure Transport is set to UDP.
- Status: Request Timeout: Usually a Firewall or wrong IP address.
- Status: Forbidden/Unauthorized: Wrong password or username.
- Connected but No Sound: Port mapping for RTP (10000-10099) is missing or blocked.
- Call drops immediately: Check
extensions.confto see if the dialplan exists for that number.