回復 1# yiucsw
I put the following in the sip.conf and config the spa for http auth.- [pstn-spa3k-d1]
- type = peer
- secret = pass
- username = user
- host = 192.168.xxx.xx
- fromuser = user
- port = 5061
- dtmfmode = rfc2833
- qualify = yes
- nat = yes
- context = default
- disallow = all
- allow = g729
- allow = ulaw
- allow = alaw
- [pstn-spa3k-d6]
- type = peer
- secret = pass1
- username = user6
- host = 192.168.xxx.xxx
- fromuser = user6
- port = 5061
- dtmfmode = rfc2833
- qualify = yes
- nat = yes
- context = default
- disallow = all
- allow = g729
- allow = ulaw
- allow = alaw
複製代碼 |