PJSIP(Registered)による060plus接続のエラーについて

505 views
Skip to first unread message

流離い者

unread,
Mar 22, 2022, 2:10:30 AM3/22/22
to aster...@googlegroups.com
初めまして、寺澤と申します。


SIPからPJSIPに標準のモジュールになって時間が経っています。

その為、050plusの設定もPJSIPになると思い色々調べましたが、私の調べ方が足りないのかSIPはあるがPJSIPの設定が見つかりませんでした。

その為、自分なりに設定を試みRegisteredにはなりましたが接続が出来ません。

もし何方かご存じの方は、私が設定方法の誤りを教えて頂きたくお願い致します。


●コンソール エラーメッセージ

*CLI>     -- Contact 050plus-aor/sip:kar2-f2fcp.050plus.com is now
Unreachable.  RTT: 0.000 msec

●レジスト内容

*CLI> pjsip show registrations

 <Registration/ServerURI..............................>
<Auth..........>  <Status.......>
==========================================================================================

 050plus-trunk/sip:kar2-f2fcp.050plus.com:443 050plus-trunk-auth
Registered

Objects found: 1

●PJSIPコンフィグ

[transport-tls]
type = transport
protocol = tls
bind = 0.0.0.0:5061
cert_file = /etc/asterisk/keys/asterisk.crt
priv_key_file = /etc/asterisk/keys/asterisk.key
method = tlsv1_2

[050plus-trunk]
type = registration
transport = transport-tls
expiration = 3600
outbound_auth = 050plus-trunk-auth
server_uri =sip:kar2-f2fcp.050plus.com:443
client_uri =sip:fmc35...@kar2-f2fcp.050plus.com
retry_interval = 60

[050plus-trunk-auth]
type = auth
auth_type = userpass
username = ******
password = ******

[050plus-endpoint]
type=endpoint
transport = transport-tls
media_encryption = sdes
media_encryption_optimistic = yes
g726_non_standard = yes
context = all-incoming
disallow = all
allow = !all,g729,ulaw
allow = all
outbound_auth = 050plus-trunk-auth
aors = 050plus-aor
direct_media = no
from_user = fmc35557067
from_domain = 050plus.com
dtmf_mode = inband
;force_rport = yes
;ice_support = yes
;rtp_symmetric = yes
;rewrite_contact = yes
fax_detect = yes

[050plus-aor]
type = aor
contact =sip:kar2-f2fcp.050plus.com
default_expiration = 3600
maximum_expiration = 7200
minimum_expiration = 60
qualify_frequency = 30
max_contacts = 1
remove_existing = yes
authenticate_qualify = yes

[050plus-identify]
type = identify
endpoint = 050plus-endpoint
match = kar2-f2fcp.050plus.com

以上

流離い者

unread,
Apr 5, 2022, 4:15:00 AM4/5/22
to aster...@googlegroups.com
寺澤と申します。


色々テストを試み、情報共有として知り得た事をご連絡します。

私の環境をお伝えしていませんでしたので、下記の通りご連絡します。

OS            : CentOS 9 Stream

Asterisk    : 18.11.1

その上で、PJSIPを利用して050plusへの接続を試み、registrationsになるが接続できませんでした。

その結果、SIPによる接続に切り替えましたが出来ませんでした。

そこで、srtp-develがインストール(yumから出来ない)がされてない事に気が付き、インターネット上から探してCentOS
9 Stream用をインストールしました。

そして./configure等を再度実施した所、何故かasteriskの起動時にres_srtp.soのモジュールをロードすると、エラーとなりasteriskが落ちる事となりました。

その為、原因を探した所、asteriskのコミュニティー(英語圏)に CentOS 9
Stream環境では、asteriskのsrtpモジュールが利用できない事が書かれていました。

確認のため、CentOS 8の環境でSIPを利用した所、sipで050plusが利用できました。

結論は現状上記の環境ではsrtpモジュールがロードできないため、残念ながらsipでも050plusが利用できない事が判りました。

今後の変化により利用できるかもしれませんが、今はOSをCentOS
8に変えてPJSIPが利用できないか考えたいと思います。

有難うございました。

また、件名の誤字については申し訳ありませんでした。


以上
Reply all
Reply to author
Forward
0 new messages