This is a simple settings to get your asterisk server working with inoc-dba system.
Please replace AS 17501 with your own AS Number
sip.conf
[general]
; register to inoc-dba system and forward incoming calls to extension inoc
; 17501 is the AS number
; format = AS:password:[email protected]/Extension
register => 17501:password:[email protected]/inoc
[inocdba]
type=friend
username=17501
fromuser=17501
secret=xxxxxxx
host=204.61.208.90
fromdomain=inoc-dba.pch.net
canreinvite=no
insecure=very
extension.conf
; This extension will ring SIP extension 100 for 40 seconds then hangup
exten => inoc,1,Dial(SIP/100,40)
exten => inoc,2,Hangup
; This extension is for outgoing calls to inoc-dba
; 8 is the prefix that will be stripped off when making the call
; 8 prefix is used to identify this call to be made to inoc-dba system
exten => _8XXXX.,1,SetCIDName(Your Name)
exten => _8XXXX.,2,SetCIDNum(17501)
exten => _8XXXX.,3,Dial(SIP/${EXTEN:1}@inocdba)
exten => _8XXXX.,4,Congestion
exten => _8XXXX.,5,Hangup