Hi all
I am trying to set up an SPA3102 for testing. I have followed the guide at
http://www.sailpbx.com/mediawiki/index.php/SPA3k but am having issues.
For the time being I will focus on the PSTN only. I have set up the PSTN & VOIP trunk as described in the howto. The following settings on the Linksys are also enabled:
- SPA3102 IP - static, 192.168.0.3
- NAT mapping - disabled
- NAT keepalive - enabled
- SIP port - 5061 (have also tried 5060)
Here are the settings from SAIL peer:
type=peer
host=dynamic
qualify=3000
canreinvite=no
username=
fromuser=
secret=abc123
insecure=port,invite
disallow=all
allow=alaw
allow=ulaw
And there is no connection happening. The SPA3102 just says "Registration Failed", but there is nothing shown in the Asterisk log. Interestingly, if I remove the VOIP trunk definition from SAIL, I immediately get an error in the logs:
[Feb 16 11:56:05] NOTICE[18274] chan_sip.c: Registration from 'peer2190 <sip:peer2190@192.168.0.2>' failed for '192.168.0.3' - No matching peer found
So it looks like the registration gets beyond the simple username/password challenge but then fails somehow. What do I try next?
Edit: Note that I am using SAIL 3.1.0-140.
Thanks
David