Hmm, I cannot get everything to work. Maybe you can help me....
I made the setup with spa3102 (192.168.29.65) and sail 3.1 beta3 (192.168.29.61). I followed the pdf guide to setup the spa3102 box.
Line1:
Works fine both directions.
PSTN Line:
I am able to receive incoming calls (which is redirected to line1 through asterisk), but not make calls on the pstn line.
This is the debug log from asterisk:
[Feb 15 21:23:51] WARNING[6122]: chan_sip.c:13638 handle_response: Remote host can't match request NOTIFY to call '654b781401293d56140a898153675a3c@192.168.29.61'. Giving up.
-- Executing [6612xxxx@internal:1] AGI("SIP/401-00000019", "sarkhpe|OutRoute|normal") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
-- AGI Script Executing Application: (Set) Options: (TIMEOUT(absolute)=3600)
-- Channel will hangup at 2011-02-15 21:23:57 UTC.
-- AGI Script Executing Application: (Dial) Options: (SIP/6612xxxx@peer872||)
-- Called 6612xxxx@peer872
-- [b]SIP/peer872-0000001a is circuit-busy[/b]
== Everyone is busy/congested at this time (1:0/1/0)
-- AGI Script Executing Application: (Playback) Options: (beep)
-- <SIP/401-00000019> Playing 'beep' (language 'en-gb')
-- AGI Script Executing Application: (Playtones) Options: (congestion)
-- AGI Script Executing Application: (Congestion) Options: ((null))
== Spawn extension (internal, 6612xxxx, 1) exited non-zero on 'SIP/401-00000019'
-- Executing [h@internal:1] Hangup("SIP/401-00000019", "") in new stack
== Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-00000019'
I guess " is circuit-busy" is my problem, but I don't know what to do.
Thoughts about registration:
It seems that asterisk makes the registration to the spa3102 box, when creating the trunk with default parameters. But spa3102 is also trying to connection to asterisk which gives the following error -
[Feb 15 21:09:46] NOTICE[6122]: chan_sip.c:16379 handle_request_register: Registration from '6220xxxx <sip:6220xxxx@192.168.29.61>' failed for '192.168.29.65' - No matching peer found
But in the sail setup everything is fine with latency and on-line check mark.
Any ideas, please

Best Regards,
Jeppe