I have recently acquired a SPA232D to integrate some VoIP to a system using asterisk. Clearly, it needs to be configured for UK (as distinct from US, AU, other European etc) telco's. There's are some hints out there for the SPA3102, but this one has a different menu setup and some different options.
However, incoming calls (PSTN to SPA to asterisk to handset) are not routed from the SPA232 to asterisk. Outgoing calls from handset to asterisk to SPA232 to PSTN work fine. Using the information here and elsewhere, I have set:
Localisation settings:
Network Setup > Time Settings
Time Zone: GMT (England)
Voice > Regional > Call Progress Tones
Dial tone: 350@-19,440@-22;10(*/0/1+2)
Ring back: 400@-20,450@-20;*(.4/.2/1+2,.4/2/1+2)
Busy tone: 400@-20;10(.375/.375/1)
Reorder tone: 400@-20;10(*/0/1)
SIT 1 tone: 950@-16,1400@-16,1800@-16;20(.330/0/1,.330/0/2,.330/0/3,0/1/0)
MWI dial tone: 350@-19,440@-22;10(.75/.75/1+2)
Voice > Regional > Distinctive Call Waiting Tone Patterns
CWT1 cadence: 30(.1/2)
CWT2 cadence: 30(.25/.25,.25/.25,.25/5)
CWT frequency: 400@-10
Voice > Regional > Distinctive Ring Patterns
Ring 1 cadence: 60(.4/.2,.4/2)
Ring 2 cadence: 60(1/2)
Ring 3 cadence: 60(.25/.25,.25/.25,.25/1.75)
Ring 4 cadence: 60(.4/.8)
Ring 5 cadence: 60(2/4)
Voice > Regional > Miscellaneous
FXS Port Impedance: 370+620||310nF (or 270+750||150nF )
Caller ID Method: ETSI FSK With PR(UK)
Voice > PSTN > PSTN Disconnect Detection
Detect CPC: yes
Detect Polarity Reversal: no
Detect PSTN Long Silence: no
PSTN Long Silence Duration: 30
PSTN Silence Threshold - High
Min CPC Duration: 0.09
Detect Disconnect Tone: yes
Disconnect Tone - 400@-30,400@-30; 2(3/0/1+2)
Voice > PSTN > International Settings
Ring Validation Time: 256ms
Ring Indication Delay: 512ms
Ring Timeout: 640ms
I have also set:
Voice > PSTN > International Settings
FXO Country settings: UK
I couldn't set because it's not in the menus (I am set up as a bridge):
SPA3102 > Advanced > Voice > Regional
Daylight Saving Rule: start=3/-1/7/1:0:0;end=10/-1/7/2:0:0;save=1:0:0
SPA3102 > Advanced > International Control
FXO Port Impedance: 270+750||150nF
OnHook Speed: 3ms (ETSI)
Current Limiting Enable: yes
SIP settings:
Voice > PSTN > Proxy and Registration
192.168.1.XXX
Voice > PSTN > Subscriber Information
Display Name: PSTN
User ID: <username set on asterisk>
Password: <password set on asterisk>
Voice > PSTN > Dial PLans
Dial Plan 2: S0(<:@gw0>)
Voice > PSTN > PSTN-To-VoIP Gateway Setup
PSTN-To-VoIP Gateway Enable: Yes
PSTN Ring Thru: Yes <Tried both Yes and No, neither worked>
PSTN CID For VoIP CID: Yes
PSTN Caller Default DP: 2
Off Hook While Calling VoIP: No <Tried both Yes and No, neither worked>
To save asking: I have checked the asterisk logs and the there is no connection from the SPA to the asterisk server, so it's no a failed authentication issue.