1
を登録することはできません。
アスタリスクは達したが、私はアスタリスクで新たなんだと、次のアスタリスク例
[general]
transport=udp
[friends_internal](!)
type=friend
host=dynamic
context=from-internal
disallow=all
allow=ulaw
[demo-alice](friends_internal)
secret=verysecretpassword
qualify=yes
; put a strong, unique password here instead
qualify=yes
[demo-bob](friends_internal)
secret=othersecretpassword ; put a strong, unique password here instead
sip.confそして、これはpjsip.confです:私は
Ekiga
を使用
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
;Templates for the necessary config sections
[endpoint_internal](!)
type=endpoint
context=from-internal
disallow=all
allow=ulaw
[auth_userpass](!)
type=auth
auth_type=userpass
[aor_dynamic](!)
type=aor
max_contacts=1
;Definitions for our phones, using the templates above
[demo-alice](endpoint_internal)
auth=demo-alice
aors=demo-alice
[demo-alice](auth_userpass)
password=unsecurepassword ; put a strong, unique password here instead
username=demo-alice
[demo-alice](aor_dynamic)
[demo-bob](endpoint_internal)
auth=demo-bob
aors=demo-bob
[demo-bob](auth_userpass)
password=unsecurepassword ; put a strong, unique password here instead
username=demo-bob
[demo-bob](aor_dynamic)
ログインするソフトフォンdemo-alice
アカウント:
ubuntu*CLI>
-- Added contact 'sip:[email protected]:5060' to AOR 'demo-alice' with expiration of 3600 seconds
== Contact demo-alice/sip:[email protected]:5060 has been created
== Endpoint demo-alice is now Reachable
-- Contact demo-alice/sip:[email protected]:5060 is now Unknown. RTT: 0.000 msec
[Oct 25 16:40:10] WARNING[16587]: res_pjsip_pubsub.c:3134 pubsub_on_rx_publish_request: No registered publish handler for event presence
[Oct 25 16:40:10] WARNING[16587]: res_pjsip_pubsub.c:3134 pubsub_on_rx_publish_request: No registered publish handler for event presence
ubuntu*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
demo-alice (Unspecified) D Auto (No) No 0 Unmonitored
demo-bob (Unspecified) D Auto (No) No 0 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]
ubuntu*CLI>
Ekiga
私は既に登録していますが、Asterisk
サーバは登録していません。 それはReached
ですが、状況はUnknown
またはUnmonitored
とUnspecified
IPです。助けて!!!
私はUbuntuサーバ16.04でUbuntu 16.04とAsterisk 13.11.2
を使用しています。
あなたは私の人生を救った! – Mr2uang