Build Asterisk 13.10 on Ubuntu 16.04 & connect to Voipfone

#1
I found the whole Asterisk / VOIP / Voipfone concept very confusing at first. A LOT of the info posted about Asterisk is rather our of date and most of it won't work, and getting everything connected first of all is the hard part.

So I made a video and guide which I hope will help others. Please leave any corrections or suggestions here or on the video. This is NOT intended to be an in-depth guide, but it does focus on the basic level of security which any install should have.

The guide uses the latest Asterisk 13.10 and includes the recently announced Voipfone ip and subnet changes.

Video: https://youtu.be/h12NkJQwpYo
Full guide to follow along with: https://github.com/lardconcepts/asteris ... ne-config/

Hope this helps!

Re: Build Asterisk 13.10 on Ubuntu 16.04 & connect to Voipfo

#2
Can't edit original post, but the guide has been updated - see https://github.com/lardconcepts/asteris ... ne-config/

In particular, you will need to note that you cannot make chargeable outgoing calls without setting the following lines in pjsip_wizard.conf:

Code: Select all

endpoint/contact_user = ACCOUNTNUMBER*200
endpoint/from_user = ACCOUNTNUMBER*200
endpoint/from_domain = sip.voipfone.net
So, a complete config would look like this for an extension on 200:

Code: Select all

[voipfone-200]
type = wizard
sends_auth = yes
sends_registrations = yes
transport = simpletrans
remote_hosts = sip.voipfone.net:5060
outbound_auth/username = ACCOUNTNUMBER*200
outbound_auth/password = 53cur3Pa55w0rD
registration/contact_user = ACCOUNTNUMBER*200
endpoint/allow = alaw
endpoint/context = fromvoipfone
endpoint/language=en_GB
; this next part is essential if you want to make chargeable outgoing calls via Voipfone.
; if you don't ever want to do that, leaving it out may add some security
endpoint/contact_user = ACCOUNTNUMBER*200
endpoint/from_user = ACCOUNTNUMBER*200
endpoint/from_domain = sip.voipfone.net

Who is online

Users browsing this forum: No registered users and 0 guests

Copyright 2004 - 2017, iNet Telecoms® Ltd. All rights reserved.


cron