Asterisk: IAX
Although SIP is recommended, you may also choose IAX for your setup:
iax.conf
register => <username>:<password>@toronto.voip.ms [ezvoipco] type=friend username=<username> secret=<password> context=mycontext host=toronto.ezvoip.co disallow=all allow=ulaw ; allow=g729 ; uncomment if you support it insecure=port,invite requirecalltoken=no
extensions.conf
[mycontext] include => inbound include => outbound [outbound] exten => _1NXXNXXXXXX,1,Dial(IAX2/<username>@ezvoipco/${EXTEN})
exten => _1NXXNXXXXXX,n,Hangup() exten => _011.,1,Dial(IAX2/<username>@ezvoipco/${EXTEN})
exten => _011.,n,Hangup() exten => _00.,1,Dial(IAX2/<username>@ezvoipco/${EXTEN})
exten => _00.,n,Hangup() ; inbound context example for your DID numbers, do not add the number 1 in front [ezvoipco-inbound]
exten => <your 10-digit phone number>,1,Answer()