| HTTP Digest Settings in Asterisk and SPA3102 
 Asterisk Side
 
 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
 
 
 SPA3102 Side
 
 SPA3102 PSTN Settings
 
 
     |