3.
Configuration Example of your IP-PBX
3.1. Configuration Example in Asterisk
[Account Example]
Unique:
0000123456
Password: password
Password: password
DIDs:
0312345678
,
0312123434
Extensions
:
200
,
201
Login Server:
xxx.xxx.xxx.xxx
※
login the web portal to confirm your login server.
[Settings Example]
[Settings Example]
Incoming call for
0312345678
is to be arrived at Ext.
200
.
Incoming call for
0312123434
is to be arrived at Ext.
201
.
Outgoing call from a phone with Ext. 200 is to be called with CallerID:
0312345678
Outgoing call from a phone with Ext. 201 is to be called with CallerID:
0312123434
; ------------------
; sip.conf (for either password or IP address with password authentication)
; sip.conf (for either password or IP address with password authentication)
; ------------------
[general]
allowguest=no
maxexpirey=3600
defaultexpirey=3600
port=5060
port=5060
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
language=jp
register =>
0000123456
:password@siptr
register =>
0000123456
:password@siptr
[siptr]
type=friend
username=
0000123456
secret=password
context=inbound
canreinvite=no
host=
xxx.xxx.xxx.xxx
host=
xxx.xxx.xxx.xxx
insecure=port,invite
disallow=all
allow=ulaw
qualify=yes
nat=yes
;please add nat=force_rport,comedia instead of nat=yes in case your asterisk is above ver. 11
15
;<see also next page for the rest settings of sip.conf>