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.


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

Ultimate Geek


  #1027428 18-Apr-2014 16:46
Send private message

niallm90: You have tried all the settings I have listed, including from-domain?


From what I can see browsing every single option in the SPA112 and CSipSimple - This setting does not exist.







niallm90
123 posts

Master Geek

Trusted

  #1027447 18-Apr-2014 17:06
Send private message

bonkas:
niallm90: You have tried all the settings I have listed, including from-domain?


From what I can see browsing every single option in the SPA112 and CSipSimple - This setting does not exist.


Yeh I just had an attempt with csipsimple and couldn't see it either. You could read the asterisk docs to see what it does. I am not sure myself.

Thanks,
Niall

bonkas
314 posts

Ultimate Geek


  #1027450 18-Apr-2014 17:19
Send private message

eXDee: 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>



I am experiences the same issues with https://portal.plus.snap.net.nz also.

I have phoned snap twice and made sure of my number and password.

I dont know what else to do.







frizianz
105 posts

Master Geek


  #1030903 25-Apr-2014 02:22
Send private message

Just an FYI, i've got SIP Working with Snap Plus going back to FreePBX no issues. Below is my configuration:

[Snap]
disallow=all
host=connect1.plus.snap.net.nz
username=03XXXXXXX
fromuser=03XXXXXXX
secret=<removed>
type=peer
qualify=yes
context=from-pstn
nat=yes
fromdomain=connect1.plus.snap.net.nz
dtmfmode=rfc2833
allow=ulaw
allow=alaw
allow=gsm
canreinvite=no
insecure=invite,port

[Snap-user]
secret=<removed>
type=user
context=from-pstn

and register string:

register=03XXXXXXX:<removed>@connect1.plus.snap.net.nz/03XXXXXXX

Hopefully it helps someone else out.

bonkas
314 posts

Ultimate Geek


  #1032801 28-Apr-2014 20:04
Send private message

frizianz: Just an FYI, i've got SIP Working with Snap Plus going back to FreePBX no issues. Below is my configuration:

[Snap]
disallow=all
host=connect1.plus.snap.net.nz
username=03XXXXXXX
fromuser=03XXXXXXX
secret=<removed>
type=peer
qualify=yes
context=from-pstn
nat=yes
fromdomain=connect1.plus.snap.net.nz
dtmfmode=rfc2833
allow=ulaw
allow=alaw
allow=gsm
canreinvite=no
insecure=invite,port

[Snap-user]
secret=<removed>
type=user
context=from-pstn

and register string:

register=03XXXXXXX:<removed>@connect1.plus.snap.net.nz/03XXXXXXX

Hopefully it helps someone else out.


Thanks for that bit of info, With a bit of googling of FreePBX configuration and matching these settings to what I have available in my SPA112 (after factory reset) I am still having the same issue (authentication failure)

I have tried Freeswitch also with the same result.

There must be something we are missing here... Can I dump my config and give to somebody to take a look at?

Can any one shed any more light on the subject?





bonkas
314 posts

Ultimate Geek


  #1033100 29-Apr-2014 11:19
Send private message

Intersting you have it working frizianz,

I have jumped into FreePBX head first and believe I have all settings correct but no dice.

Registration is failing there also even after copy and pasting your config and modifying username, passwords fields as necessary.

EDIT: Have rebooted FreePBX and now is registering OK.

SPA112 - Still not working, Now I beleive I am definately missing something...

hmm...





bonkas
314 posts

Ultimate Geek


  #1033181 29-Apr-2014 14:56
Send private message

Okay an update for you guys.

After I was able to get FreePBX registering with Snap! I plugged in my SPA112 and low and behold it connected straight away!

I have entered the dial plan into the SPA112 supplied by 2talk for NZ which should work: ([2-9]xxxxxx|0[34679][2-9]xxxxxx|0210xxxxxxx|021[12]xxxxxx|021[3-9]xxxxx|02[0279]xxxxxxx|0204xxxxxxx|0240xxxxxx|024[1-9]xxxxxxx|0282[4-5]xxxxxx|050xxxxxxx|070xxxxxxx|080xxxxxxx|00xxxxxxx.|01[08]|017xx|12[356]|[19]11|*55|023xxxxxxxx|01[1234569]x.|02[56]x.|028[013456789]x.|0282[0123467890]|0282[01236789]|05[1-9]x.|08[1-9]x.|0[34679][0-1]x.|1[03456789]x.|11[023456789]x.|12[0124789]x.|*[012346789]x.|*5[012346789]x.)

All other settings apart from Number, Username, password and server address are at defaults. You can see earlier in the thread for these details.

I dont have a phone plugged into the Cisco as yet to test the dial plan but it should work.

I have not tried connecting CSipSimple direct from my phone as yet but will give it a go and post back.

I have got CSipSiple connecting to FreePBX but I cannot get any Inbound or Outbound calls - Any info on this would be appreciated.





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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.