標題: SPA3000/3102 integration with asterisk [打印本頁] 作者: ckleea 時間: 2011-6-6 20:53 標題: SPA3000/3102 integration with asterisk
I am playing around with SPA3000 right to get several things integrated.
1. to allow http authentication so that asterisk can make use of the SPA3000 FXO port to dial out
2. to allow asterisk to dial out via two stage dialing (previously it works very well but doesn't know why it cannot do so now)
3. PSTN dials in directly into asterisk (extensions, AA, or IVR)
Do you have other suggestions?作者: 浮雲1965 時間: 2011-6-7 10:08
sip.conf
[spa3khttpd]
context = default
type = peer
auth = httpd_name:httpd_secret@SPA3102_IP_Add_or_DDNS:5061 ; md5 authentication with SPA3102 http digest
nat = yes
dtmfmode = rfc2833
host = 192.168.1.123 ; use DDNS or true IP when outside LAN
defaultuser = httpd_name
fromuser = httpd_name
fromdomain = 192.168.1.123 ; use DDNS or true IP when outside LAN
secret = httpd_secret
insecure = port,invite
qualify = yes
canreinvite = no
port = 5061
disallow = all
allow = ulaw,alaw,gsm,g729
extensions.conf
[viaSPA3khttpd]
exten => _135.,1,Dial(SIP/${EXTEN:3}@spa3khttpd,60,tr) ; using remote SPA3102 PSTN GW in HTTP Digest
exten => _135.,n,Playback(the-party-you-are-calling&is-curntly-unavail)
exten => _135.,n,Congestion
Can you make both phone and asterisk extension ring at the same time? I understand it can ring after some adjustable delays作者: ckleea 時間: 2011-6-7 18:03
Any one has tried to pass fax in through SPA3000/3102 into asterisk?作者: bubblestar 時間: 2011-6-7 19:40
The md5 method was set up long time ago. I just remember that when I did not use md5, the http digest was not function in my case. Hence, I resolve this by adding md5 as well.作者: bubblestar 時間: 2011-6-7 19:44
As far as I know, you can adjust the VoIP Answer Delay to: 5 or longer to make the phone rings when you dial. After 5 seconds, you are given a 2nd dial tone for further dialing.
In my case, I just make the VoIP Answer Delay to Zero(0) without ringing.作者: bubblestar 時間: 2011-6-7 19:50
Just test to confirm that http digest one stage dialing and 2nd stage gateway dialing are mutually exclusive. You can only use either one method instead of both.作者: ckleea 時間: 2011-6-7 22:06