差分

移動先: 案内検索

Asterisk pjsip 電話機

1,060 バイト追加, 2018年11月2日 (金) 15:18
電話機
[[カテゴリ:Pjsip]]
AsteriskでPjSIPを使用した場合の電話機関連設定
===電話機=電話機設定例==
電話機を設定する場合にはセクションが3つ必要です。エンドポイントそれ自体とaor,authの3つです。
[phone1]
のように書きますが、この場合の名前付きACLは'''Asteriskの名前付きALC'''です。<BR>
つまりacl.confに設定されている名前付きACLということです。pjsipのACLではないので注意してください。<BR>
==Wizardを使用した場合の設定例==
Wizardを使用した場合、共通設定部分をテンプレート化し、各電話機の認証情報だけ別に書くことができます。
;電話機用テンプレート(共通設定)
[phone-defaults](!)
type=wizard
transport = transport-udp
accepts_registrations = yes
sends_registrations = no
accepts_auth = yes
sends_auth = no
endpoint/context = default
endpoint/dtmf_mode = rfc4733
endpoint/call_group = 1
endpoint/pickup_group = 1
endpoint/language = ja
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/rtp_symmetric = yes
endpoint/force_rport = yes
endpoint/direct_media = no
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/rewrite_contact = yes
endpoint/inband_progress = yes
endpoint/allow_subscribe = yes
endpoint/transport = transport-udp
aor/max_contacts = 1
aor/qualify_frequency = 30
aor/authenticate_qualify = no
;各電話機個別設定
[phone1](phone-defaults)
inbound_auth/username = phone1
inbound_auth/password = mypasswordishere

案内メニュー

VoIp-Info.jp

HP Directplus -HP公式オンラインストア-