Asterisk pjsip trunk basix
とりあえず。以下の設定で発着信可能。
2018/10/31着信可能ですが発信できないので修正中
トランク
;トランク設定(Brastel BASIX) ; [basix1] type = aor contact = sip:ユーザ名:basix-proxy.brastel.ne.jp qualify_frequency = 30 authenticate_qualify = no [basix1] type = identify endpoint = basix1 match = basix-proxy.brastel.ne.jp [basix1] type = auth auth_type = userpass username = ユーザ名 password = パスワード [basix1] type = registration transport = transport-udp outbound_auth = basix1 contact_user = 050XXXXXXXX <---自分の050番号 server_uri = sip:asterisk.basix.ne.jp client_uri = sip:ユーザ名@asterisk.basix.ne.jp retry_interval = 60 [basix1] type = endpoint context = from-basix1 dtmf_mode = inband disallow = all allow = ulaw direct_media = no send_pai = yes inband_progress = yes from_user = ユーザ名 from_domain = asterisk.brastel.ne.jp language = ja outbound_auth = basix1 aors = basix1
ACL
PjSIPのACLに
[acl] type=acl deny=0.0.0.0/0.0.0.0 permit=basixのIPアドレス(やればすぐわかる)
extensions.conf
[from-basix] exten => 050XXXXXXXX,1,Dial(.... <--自分の050番号に着信させる