Hello all!
Well I have decided to move to the asterisk world not to knly learn but to save some money. I am currently paying 50+ dollars a month for VoIP from my ISP
Any who I recently encounter a problem which is puzzling me to no endâŚ
I acquired service from voip.ms and proceed to do an install of asterisk. I left everything default and I only made the changes as per there wiki instructed. in my sip.conf I add it the bind port and address than add it the following.
[general]
register => xxxxx:password@houston.voip.ms:5060
[voipms]
canreinvite=no
context=mycontext
host=houston.voip.ms
secret=password ;your password
type=peer
username=xxxx ;your account
disallow=all
allow=ulaw
; allow=g729 ; Uncomment if you support G729
fromuser=xxxxx ;your account
trustrpid=yes
sendrpid=yes
insecure=invite
nat=yes
qualify=yes
Than I left everything default in extensions.conf and add it:
[code][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(IAX2/voipms/${EXTEN})
exten => _1NXXNXXXXXX,n,Hangup()
exten => _NXXNXXXXXX,1,Dial(IAX2/voipms/1${EXTEN})
exten => _NXXNXXXXXX,n,Hangup()
exten => _011.,1,Dial(IAX2/voipms/${EXTEN})
exten => _011.,n,Hangup()
exten => _00.,1,Dial(IAX2/voipms/${EXTEN})
exten => _00.,n,Hangup()
; inbound context example for your DID numbers, do not add the number 1 in front
[voipms-inbound]
exten => xxxxxxxxx,Answer() ;your DID[/code]
where xxxxxxxxx is my did.
Now after I reload the asterisk module I get:
SIP Peer Status:
Name/username Host Dyn Forcerport ACL Port Status
voipms/xxxxxx 209.62.1.2 N 5060 OK (1 ms)
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
SIP Trunk Registrations:
Host dnsmgr Username Refresh State Reg.Time
0 SIP registrations.
Please do note that I have a pfsense fireall with siproxd installed and port 5060 forwarded with nat traversal enabled and also port 10000 to 20000 also forwarded.
Any ideas why is not working?
TIA!