User name and password

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

Only voip.ms will know your password, and they will probably reset it rather than telling you.

Also, you really really do not want to put voipms in a context that can make chargeable calls, given that you have to use insecure=invite on them.

It would probably be advisable to switch to chan_pjsip, rather than learning how to manually configure chan_sip.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.