Asterisk server on Docker that connects to Hikari Denwa via NTT East Home Gateway (e.g., PR-400NE).
- Edit the following config files
pjsip.conf
pjsip_wizard.conf
: Your endpoints that you want to connect to this SIP server.extensions.conf
iax.conf
(If you want IAX connection)
- Change following variables
__HOME_GATEWAY_IP__
: IP address of NTT East Home Gateway (e.g.,192.168.1.1
)__SIP_CLIENT_ID__
: ID of SIP terminal registered to HGW (e.g.,1
). For username, you might have to use 4 digit id0001
depending on your setting__SIP_CLIENT_PASSWORD__
: Password of SIP terminal registered to HGW__YOUR_PASSWORD__
(inpjsip_wizard.conf
andiax.conf
): Password for new SIP terminal that you want to connect to this SIP server.__YOUR_HIKARI_PHONE_NUMBER__
: Your phone number for Hikari Denwa (0AB-J number)
docker compose up -d
- Acrobits softphone (iOS/Android, SIP)
- Telephone (macOS, SIP)
- Zoiper (Windows/macOS/Linux/iOS/Android, SIP/IAX)
# Open bash inside container
$ docker exec -it asterisk-asterisk-1 bash
# Inside container
asterisk -vvvrc
> pjsip reload
> pjsip show endpoints
> pjsip show registrations
- Setting
network_mode: bridge
indocker-compose.yml
could cause RTP/IAX connectivity issues where the phone audio is not transmitted properly - Confirmed that phone calls can be made on SIP clients connected with Tailscale