So I have begun to configure Astrisk. I got tired of FreePBX break every time a new update is out. So I want to run straight Asterisk. When I try to connect with my softphone it times out. I’m not even sure what my user’s password is. I’ve googled this to death and haven’t been able to figure this out.
[general]
register => 8313250709:xxxxx@sanjose2.voip.ms:5060
[voipms]
canreinvite=no
context=mycontext
host = sanjose2.voip.ms
secret=xxxxx;your password
type=peer
username=8313250709 ;(Replace with your 6 digit Main SIP Account User ID or Sub Account username, i.e. 123456 or 123456_sub)
disallow=all
allow=ulaw
; allow=g729 ; Uncomment if you support G729
fromuser=265333 ;(Replace with your 6 digit Main SIP Account User ID or Sub Account username, i.e. 123456 or 123456_sub)
trustrpid=yes
sendrpid=yes
insecure=invite
nat=yes
Extensions.conf
[mycontext]
; Make sure to include inbound prior to outbound because the _NXXNXXXXXX handler will match the incoming call and create a loop
include => voipms-inbound
include => voipms-outbound
[voipms-outbound]
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@voipms)
exten => _1NXXNXXXXXX,n,Hangup()
exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@voipms)
exten => _NXXNXXXXXX,n,Hangup()
exten => _011.,1,Dial(SIP/${EXTEN}@voipms)
exten => _011.,n,Hangup()
exten => _00.,1,Dial(SIP/${EXTEN}@voipms)
exten => _00.,n,Hangup()
; inbound context example for your DID numbers, do not add the number 1 in front
[voipms-inbound]
exten => 8313250709,1,Answer() ;your DID
I’d appreciate a little bit of help, thanks.
Gabriel