asteriskでUnable to retrieve PJSIP transport ‘simpletrans’というエラーが出る

software

Unable to retrieve PJSIP transport ‘simpletrans’というエラーについて

結果を言うと、だれでもわかるような超単純なミスでした。[simpletrans]というtransportセクションが見つからないという意味です。

解決方法

超簡単です。transportの部分を書き換えてあげるだけでいいです。

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

[acl]
permit=0.0.0.0/0.0.0.0


[100]
type=endpoint
transport=simpletrans
allow=all
aors=100
auth=auth100

[100]
type=aor
max_contacts=1

[auth100]
type=auth
auth_type=userpass
password=password
username=100

transport=simpletransの部分をtransport-udpに書き換えてあげることで問題が解決します。内線番号で指定できる理由は複数のtransportがあった場合、どれがどれを使えばいいかわからなくなるのでここで指定する必要があるっぽいです。

まとめ

これは誰でもわかるミスなのですが、解決するまでかなりの時間を要したので備忘録として残しておきます。

 

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました