回復 11# 浮雲1965
Add the following to sip
[pstn-spa3k-d1]
type = peer
secret = password
username = username
host = 192.168.xxx.xxx
fromuser = username
port = 5061
dtmfmode = rfc2833
qualify = yes
nat = yes
context = default
disallow = all
allow = g729
allow = ulaw
allow = alaw
Add the following to your extensions.conf
[CallingRule_viaspa3000]
exten => _89.,2,DIAL(SIP/pstn-spa3k-d1/${EXTEN:2}) |