sip.conf
[general]
maxexpirey=3600
defaultexpirey=3600
port=5060
bindaddr=0.0.0.0
srvlookup=yes
allowguest=no
tcpenable=yes
tcpbindaddr=0.0.0.0
transport=udp,tcp
disallow=all
;コーデック
;allow=g729
allow=g722
allow=ilbc
allow=gsm
allow=ulaw
allow=alaw
language=ja
localnet=192.168.1.0/255.255.255.0
allowguest=yes
session-timers=originate
session-expires=3600
session-minse=300
session-refresher=uas
register => 5850xxxx:パスワード@smart.0038.net/5850xxxx
[206]
type=friend
username=206
secret=パスワード
canreinvite=no
host=dynamic
[fusion]
type=friend
username=5850xxxx
fromuser=5850xxxx
secret=パスワード
host=smart.0038.net
fromdomain=smart.0038.net
insecure=port,invite
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
dtmfmode=inband
nat=yes
extensions.conf
[default]
exten => 58502111,1,Dial(SIP/206,,tT)
exten => 58502111,n,Hangup
コメント