I contacted snap who could give me some basic settings, making sure to stress that only fritzbox is supported which i understand, but it was still nice of them to help a bit. They said there was no particular setting to get it working on non fritz devices. I might ask them for some connection attempt logs from their end.
I dumped my fritzbox config to see if there was anything extra in there but nothing jumps out at me.
Basic settings from snap:
-Username (same as phone number)
-Phone Number 0XXXXXX
-Password
-Server address: connect1.plus.snap.net.nz
-DTMF: Inband / RTP
-No G726
Without further ado, the config from Freeswitch, which is a nice VOIP server.
<include>
<gateway name="Snap">
<param name="username" value="012345678"/>
<param name="password" value="password123"/>
<param name="realm" value="connect1.plus.snap.net.nz"/>
<param name="proxy" value="connect1.plus.snap.net.nz"/>
<param name="register" value="true"/>
<!--param name="from-user" value="012345678"/-->
</gateway>
</include>
This results in the following packet trace. We see a 401 unauthorized and it requests digest auth:
freeswitch@localhost> 2014-02-09 21:36:55.806532 [NOTICE] sofia_reg.c:418 Registering Snap
send 623 bytes to udp/[123.255.8.82]:5060 at 08:36:55.821532:
------------------------------------------------------------------------
REGISTER sip:connect1.plus.snap.net.nz;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.1.200:5080;rport;branch=z9hG4bKXyv47FcFF0cpc
Max-Forwards: 70
From: <sip:012345678@connect1.plus.snap.net.nz>;tag=Urprgy61cFecc
To: <sip:012345678@connect1.plus.snap.net.nz>
Call-ID: 0f6b7e5b-0c31-4192-8cd5-48b7ef1c1e1c
CSeq: 55631443 REGISTER
Contact: <sip:gw+Snap@192.168.1.200:5080;transport=udp;gw=Snap>
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.5.8b~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------------
recv 541 bytes from udp/[123.255.8.82]:5060 at 08:36:55.867458:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.200:5080;received=192.168.1.200;branch=z9hG4bKXyv47FcFF0cpc;rport=5080
From: <sip:012345678@connect1.plus.snap.net.nz>;tag=Urprgy61cFecc
To: <sip:012345678@connect1.plus.snap.net.nz>;tag=123.255.4.140+1+5f641b+58c78b76
Call-ID: 0f6b7e5b-0c31-4192-8cd5-48b7ef1c1e1c
CSeq: 55631443 REGISTER
WWW-Authenticate: Digest realm="connect1.plus.snap.net.nz",nonce="db8352e66e90",stale=false,algorithm=MD5,qop="auth"
Server: DC-SIP/2.0
Organization: Metaswitch Networks
Content-Length: 0
------------------------------------------------------------------------
send 891 bytes to udp/[123.255.8.82]:5060 at 08:36:55.867458:
------------------------------------------------------------------------
REGISTER sip:connect1.plus.snap.net.nz;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.1.200:5080;rport;branch=z9hG4bKy7NX9aXjc928Q
Max-Forwards: 70
From: <sip:012345678@connect1.plus.snap.net.nz>;tag=Urprgy61cFecc
To: <sip:012345678@connect1.plus.snap.net.nz>
Call-ID: 0f6b7e5b-0c31-4192-8cd5-48b7ef1c1e1c
CSeq: 55631444 REGISTER
Contact: <sip:gw+Snap@192.168.1.200:5080;transport=udp;gw=Snap>
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.5.8b~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Authorization: Digest username="012345678", realm="connect1.plus.snap.net.nz", nonce="db8352e66e90", cnonce="LJXKnAwI
EjKHI52SuIuPPq", algorithm=MD5, uri="sip:connect1.plus.snap.net.nz;transport=udp", response="5fe3fff22e12db8a35ea67fb7b2
20350", qop=auth, nc=00000001
Content-Length: 0
------------------------------------------------------------------------
recv 541 bytes from udp/[123.255.8.82]:5060 at 08:36:55.934532:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.200:5080;received=192.168.1.200;branch=z9hG4bKy7NX9aXjc928Q;rport=5080
From: <sip:012345678@connect1.plus.snap.net.nz>;tag=Urprgy61cFecc
To: <sip:012345678@connect1.plus.snap.net.nz>;tag=123.255.4.140+1+5f960b+4870ff5c
Call-ID: 0f6b7e5b-0c31-4192-8cd5-48b7ef1c1e1c
CSeq: 55631444 REGISTER
WWW-Authenticate: Digest realm="connect1.plus.snap.net.nz",nonce="db8352e76e91",stale=false,algorithm=MD5,qop="auth"
Server: DC-SIP/2.0
Organization: Metaswitch Networks
Content-Length: 0
------------------------------------------------------------------------
[ERR] sofia_reg.c:2264 Snap Registration Failed with status Operation has no matching challenge [904]. failure #3
Any guesses here? Or anyones experiences?