8 FXO WELLGATE 26XX + ASTERISK


Berikut adalah config wellgate 8 FXO  yang dibungkan dengan asterisk

 

sip.conf

[general]
context=default ; Default context for incoming calls

allowoverlap=no ; Disable overlap dialing support. (Default is yes)
realm=192.168.0.225 ; Realm for digest authentication
bindport=5060
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060
tcpenable=no ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls

callevents=yes ; generate manager events when sip ua
; performs events (e.g. hold)
;nat=yes

[5001]
context=ecentrix-agent
type=friend
username=5001
secret=5001
callerid=”5001″ <5001>
host=dynamic
disallow=all
allow=ulaw
allow=alaw
;qualify=yes
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
nat=no
call-limit=1
mailbox=5001

[5002]
context=ecentrix-agent
type=friend
username=5002
secret=5002
callerid=”5002″ <5002>
host=dynamic
disallow=all
allow=ulaw
allow=alaw
;qualify=yes
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
nat=no
call-limit=1
mailbox=5002

;===============QUINTUM SIP TRUNK 1001 untuk yang 4E1
[1000]
context=ecentrix-agent
type=friend
username=1000
secret=1000
host=dynamic ; This device needs to register
;host=192.168.0.16
;nat=no ; X-Lite is behind a NAT router
;canreinvite=no
;qualify=yes ; Typically set to NO if behind NAT
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
;allow=ilbc
insecure=invite

extensions.conf

[general]
static = yes
writeprotect = no
autofallthrough = yes
clearglobalvars = no
;==================================================================================
;Global Variable Definition
;==================================================================================
[globals]
FEATURES =
DIALOPTIONS =
RINGTIME = 20
FOLLOWMEOPTIONS =

[ecentrix-agents]

exten => _5XXX,1,Dial(SIP/${EXTEN},${DIAL_TIMEOUT},tT${DIAL_OPTIONS})
exten => _5XXX,n,Hangup

============================================================

Register 2 xlite dengan sip 5001, 5002

Hubungkan fxo port welgate ke line analog PSTN

Test Call Oubound

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: