ccsip is a programmable SIP based communications service built with Asterisk and Kamailio.
Start by creating a twilio account and configuring an elastic SIP trunk. Instructions can be found here.
Create a file named .env
in the project root dir. Inside it export
the following environment variables:
SIP_TERMINATION_URI
- the twilio SIP trunk termination url (ends with .pstn.twilio.com)SIP_TERMINATION_USER
— a valid user specified in the twilio SIP trunk credentials listSIP_TERMINATION_SECRET
- the password for the twilio SIP trunk userSIP_EXTENSION_SECRET
— the secret for registering SIP devicesASTERISK_API_USER
— the username to use for the asterisk apiASTERISK_API_SECRET
— the password to use for the asterisk apiTWILIO_ACCOUNT_SID
— your twilio account SIDTWILIO_AUTH_TOKEN
— your twilio auth tokenDIGITALOCEAN_TOKEN
— your DigitalOcean API token
Run deploy.sh up
./deploy.sh up