差分

移動先: 案内検索

Asterisk pjsip

1,289 バイト追加, 2018年10月23日 (火) 11:58
基本設定
outbound_auth = phone1
aors = phone1
==Wizard==
Asteriskにはpjsip_wizardが組み込まれており、PjSIPの設定を簡素化することができます。使う条件は以下の通りです。
*基本の設定はpjsip.confに書く
:transportなどの情報はpjsip.confに書く必要があります
*Wizard用のファイル名はpjsip_wizard.conf
*共通化したテンプレート内で各セクションを指定するにはスラッシュ(/)で区切る
:例: endpoint/dtmf_mode
記述例
;電話機用テンプレート(共通設定)
[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
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公式オンラインストア-