Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




4025 posts

Uber Geek

Trusted

# 139458 9-Feb-2014 23:02
Send private message

Another one of these threads. But i'm keen to get this going. I'd like to ask anyone who has snap plus working without a fritzbox to provide some feedback on their config, regardless of device.

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?

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
115 posts

Master Geek

Trusted

  # 983070 9-Feb-2014 23:07
Send private message

Try setting from-user to connect1.plus.snap.net.nz. I had to do this for Asterisk.



4025 posts

Uber Geek

Trusted

  # 983081 9-Feb-2014 23:23
Send private message

Tried that one.

Turns out this may be some sort of account or provisioning issue... i just discovered i can actually register my own home phone line perfectly on Freeswitch on this snap connection, even though its already registered on my home connection's fritzbox.

But i cant auth this account on my home fritzbox or on freeswitch.
Password is definitely right.

When i change a digit in the number as a test (07959XXXX) i get a URI not recognized error,perhaps it's recognizing the username at least.
When I login to the snap myaccount it works fine. When i try to login to https://portal.plus.snap.net.nz i get a login failure on this newly provisioned number.

I'll get authorized on the account tomorrow and ring them up.

The config that works with my number is as simple as:
<include>
<gateway name="snap">
<param name="username" value="012345678"/>
<param name="password" value="password123"/>
<param name="register" value="true"/>
<param name="realm" value="connect1.plus.snap.net.nz"/>
</gateway>
</include>


 
 
 
 


1669 posts

Uber Geek

Subscriber

  # 1023181 10-Apr-2014 23:22
Send private message

Hey eXDee - did you have any luck with this?

I am trying to setup Freeswitch with my Snap Voice Plus service and getting exactly the same error as you;

2014-04-10 23:19:55.277086 [ERR] sofia_reg.c:2287 Snap Registration Failed with status Operation has no matching challenge [904]. 

I have just been on the phone to Snap and confirmed that my PPP password is the one to use, and the number should have the leading zero etc.

Everything is configured as yours in my Freeswitch /conf/directory/default/snap.xml file.

Any pointers for a VOIP noobie?!

Cheers,
Ben

256 posts

Ultimate Geek


  # 1023208 11-Apr-2014 07:23
Send private message

Same issue here guys.

Snap have confirmed the provisioning is correct and went through resetting password to no avail.

I am using SPA112 and app on mobile phone - Both appear to be receiving same error as you.

I have been playing around with mine for days with no luck so please let us know if you have a breakthrough.





152 posts

Master Geek


  # 1023365 11-Apr-2014 11:57
Send private message

OP - i'd take out those hashes from the digest response, it's pretty trivial to brute force MD5

edit: ah i see, they're just place holders.



4025 posts

Uber Geek

Trusted

  # 1023399 11-Apr-2014 12:52
Send private message

I haven't actually - the person who owns this box was going to put me as an authority on the account so i could actually troubleshoot with snap, but as far as i know that hasn't happened.

I do know my own snap plus number worked in freeswitch. Theirs didnt work in freeswitch or on my fritzbox which i thought was odd.

For all i know they are paying for a service that doesn't work, but hey thats not my problem, especially when my offer to help hasn't been followed up on!

1669 posts

Uber Geek

Subscriber

  # 1023415 11-Apr-2014 12:53
Send private message

Ok - well that is interesting. Can you share how you configured Freeswitch to get it working?

 
 
 
 


1669 posts

Uber Geek

Subscriber

  # 1023419 11-Apr-2014 13:09
Send private message

BTW - I am still running the FritzBox currently and that is happily connected and I am able to make/receive calls.

Is it possible I can't have two devices authenticated at the same time?

1669 posts

Uber Geek

Subscriber

  # 1023475 11-Apr-2014 15:06
Send private message

Hmmm - my new SPA122 just turned up and not having much luck with that either.

I just talked to Snap support and this time I was told they don't support OR ALLOW any hardware other than the Fritzbox. He informed me that my VOIP password is changed randomly (and updates sent to the Fritz) to prevent toll fraud etc. He said they would not give out my VOIP authentication details since they only allow the Fritz. And even if they did it would eventually change anyway.

FFS!!!

812 posts

Ultimate Geek

Trusted

  # 1023480 11-Apr-2014 15:14
Send private message

So Snap are going out of their way to prevent other SIP clients being used now? :/ I can understand them not supporting it, but actively going out of their way to break it on other devices is rather annoying.

1669 posts

Uber Geek

Subscriber

  # 1023481 11-Apr-2014 15:15
Send private message

Yep - it seems you either use the Fritz or you don't use Snap. And I know a lot of people seem to love the Fritz but I have had no end of trouble and can't wait to get rid of it. But at this rate it looks like I either won't have any choice but to use it, or else I will have to move ISPs...

812 posts

Ultimate Geek

Trusted

  # 1023483 11-Apr-2014 15:26
Send private message

You can still use any router to connect. I'm more concerned about the SIP situation though. Being forced to pay $400 for an ATA is insane.

1669 posts

Uber Geek

Subscriber

  # 1023485 11-Apr-2014 15:28
Send private message

Yep - true - so since I have signed up for the Voice Plus service I can replace the modem but as you say I am stuck with a $400 ATA.


4124 posts

Uber Geek


  # 1023551 11-Apr-2014 17:37
Send private message

Lorenceo: You can still use any router to connect. I'm more concerned about the SIP situation though. Being forced to pay $400 for an ATA is insane.


So don't use Snap Plus then for voice.

This is when you use 2Talk instead - it's probably better than Snap's platform anyway.

Snap offer a fully managed voice service and obviously don't want the headache of customers using their own gear. Vodafone, Orcon, Slingshot all have the same practice.

1669 posts

Uber Geek

Subscriber

  # 1023552 11-Apr-2014 17:39
Send private message

I am in the process of doing exactly that. Cheers.

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26


The Document Foundation announces LibreOffice 6.3
Posted 9-Aug-2019 16:57


Symantec sell enterprise security assets for US$ 10.7 billion to Broadcom
Posted 9-Aug-2019 16:43


Artificial tongue can distinguish whisky and identify counterfeits
Posted 8-Aug-2019 20:20


Toyota and Preferred Networks to develop service robots
Posted 8-Aug-2019 20:11


Vodafone introduces new Vodafone TV device
Posted 7-Aug-2019 17:16



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.