請看 this link
http://www.telecom-cafe.com/foru ... &extra=page%3D2
你需要 setup a dialplan from trixbox and spa3000 so that you can dial out after your softphone go into your trixbox.
For example in my set up
I have added this to my sip.conf
[pstn-spa3k-d1]
type = peer
secret = password
username = username
host = 192.168.xxx.xxx ; ip of SPA3000
fromuser = username
port = 5061
dtmfmode = rfc2833
qualify = yes
nat = yes
context = default
disallow = all
allow = g729
allow = ulaw
allow = alaw
When softphone dials in my asterisk, it responds with an IVR. Then I press 9+HK tel no, the asterisk will find the dialplan for pstn-spa3k-d1 for outgoing PSTN.
P.s. the context of pstn-spa3k-d1 allows my asterisk to connect to spa3000 within my network. This saves me some money and hurdles to get a FXO card within the system
I am not familiar with trixbox and so can't help you to configure. |