差分

移動先: 案内検索

Asterisk pjsip 電話機

1,490 バイト追加, 2023年2月7日 (火) 11:25
Wizardを使用した場合の設定例
[[カテゴリ: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
aor/remove_existing = yes
;各電話機個別設定
[phone1](phone-defaults)
inbound_auth/username = phone1
inbound_auth/password = mypasswordishere
 
==NAT==
NAT環境での設定については[[Asterisk pjsip NAT]]を参照のこと。
 
==複数同時レジスト==
同一のユーザ名とパスワードで、電話機を複数同時にレジストすることができます。AORのmax_contactsで指定した数字が同時レジストできる台数になります。
詳しい使い方は [[Pjsip 機能拡張]] を参照してください。

案内メニュー

VoIp-Info.jp

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