匿名

差分

Asterisk pjsip trunk intra

951 バイト追加, 2018年10月30日 (火) 16:58
池袋側
ダイヤル時のプレフィクスとして拠点番号(01,02)を使用し、相手内線に着信させる想定とします。
==池袋側==
板橋に対してREGISTERするクライアントになります。この際、ユーザ名は"ikebukuro"として認証を取ります。
 
[itabashi]
type = aor
contact = sip:192.168.0.2:5070
qualify_frequency = 30
authenticate_qualify = no
[itabashi]
type = registration
transport = transport-udp
outbound_auth = ikebukuro
server_uri = sip:192.168.0.2:5070
client_uri = sip:ikebukuro@192.168.0.2
retry_interval = 60
[itabashi]
type = identify
endpoint = itabashi
match = 192.168.0.2
[ikebukuro]
type = auth
auth_type = userpass
username = ikebukuro
password = ikepass
realm = asterisk
[itabashi]
type = endpoint
context = intra-incoming
disallow = all
allow = ulaw
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
direct_media = no
send_pai = yes
inband_progress = yes
language = ja
from_user = ikebukuro
from_domain = 192.168.0.2
auth = ikebukuro
outbound_auth = ikebukuro
aors = itabashi
==板橋側==