Asterisk Zoiper Softphone使用随机IP而不是带星号的本地网络IP进行注册

Asterisk Zoiper Softphone使用随机IP而不是带星号的本地网络IP进行注册,asterisk,pjsip,Asterisk,Pjsip,我不熟悉星号。并尝试设置基本PBX,使用2部zoiper软电话 以下是我的pjsip配置: [transport-udp] type=transport protocol=udp bind=192.168.100.12 local_net=192.168.100.0/24 ;Templates for the necessary config sections [endpoint_internal](!) type=endpoint context=from-internal disallo

我不熟悉星号。并尝试设置基本PBX,使用2部zoiper软电话

以下是我的pjsip配置:

[transport-udp]
type=transport
protocol=udp
bind=192.168.100.12
local_net=192.168.100.0/24

;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
remove_existing=yes

;Definitions for our phones, using the templates above

[demo-alice](endpoint_internal)
auth=demo-alice
aors=demo-alice
[demo-alice](auth_userpass)
password=pass123
username=demo-alice
[demo-alice](aor_dynamic)

[demo-bob](endpoint_internal)
auth=demo-bob
aors=demo-bob
rtp_symmetric=no
force_rport=no
rewrite_contact=no
[demo-bob](auth_userpass)
password=pass123
username=demo-bob
[demo-bob](aor_dynamic)


[demo-deepak](endpoint_internal)
auth=demo-deepak
aors=demo-deepak
rtp_symmetric=no
force_rport=no
rewrite_contact=no
[demo-deepak](auth_userpass)
password=pass123
username=demo-deepak
[demo-deepak](aor_dynamic)

我在IP:192.168.100.16安装了Zoiper软电话。注册时使用Ip 43.224.158.252注册

如果在下面显示星号cli消息

 -- Added contact 'sip:demo-deepak@43.224.158.252:55640;transport=UDP;rinstance=46b5f1e7b0cf811a' to AOR 'demo-deepak' with expiration of 60 seconds
  == Endpoint demo-deepak is now Reachable

PS:-整个设置是使用WiFi路由器完成的,没有互联网连接


提前感谢。

Zoiper知道asterisk的IAX2协议,请使用它

另一个选项是在zoiper上使用内部星号ip并禁用眩晕/转身支持