我在 Ubuntu 服务器上安装了星号,并且有以下 SIP 配置。sip 服务已启动并正在运行[general]context=default ; 来电的默认上下文
我在 Ubuntu 服务器上安装了星号,并且有以下 SIP 配置。SIP 服务已启动并正在运行
[general]
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing
udpbindaddr=0.0.0.0 ; Bind to all IP addresses
tcpbindaddr=0.0.0.0 ; Bind to all IP addresses (if using TCP)
tcpenable=no ; Enable TCP if needed
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
[linphone]
type=friend
context=from-linphone ; Context for incoming calls from Linphone
host=10.0.2.15 ; IP address is dynamic
secret=yourpassword ; Password for this user
dtmfmode=rfc2833 ; DTMF mode
canreinvite=no ; Disable direct media path
qualify=yes ; Check the peer's status
nat=yes ; Handle NAT traversal
callgroup=1 ; Call group for grouping with other devices (optional)
pickupgroup=1 ; Pickup group (optional)
host=dynamic ; Allows dynamic IP address assignment
disallow=all ; Disallow all codecs initially
allow=ulaw ; Allow ulaw codec
allow=alaw ; Allow alaw codec
我尝试通过 Linphone 连接此 SIP 服务器。但是它不起作用。服务器和 Linphone 都在同一台 Ubuntu 机器上。