Freephoneline settings on FreePBX

Here you can post your own working configurations of hardware or software to share with other users who may be using the same device!
Fongo recommends Fongo Home Phone for a fully supported Home Phone system for only $4.95/mo
Forum rules
DISCLAIMER
This forum is for those users who have already purchased a configuration file with the SIP settings needed to configure any SIP compatible device.

1. Please use this forum only as a means to share your configuration advice and guides for ATA devices and SIP clients that you are using with our service.
2. For any questions relating to device configuration, please use the other forum sections or post your question directly in the device topic that your question is meant for.
3. Please title your topics with only the name and model of your device so users can easily find the information they need.
4. Preferable format for posting here is compressing your screenshots of your successfully configured device into a .zip file, and post a brief description of the configuration.

Please stay on topic

Freephoneline settings on FreePBX

Postby Juste » 06/07/2019

Hello,

Could anyone please remind me the settings Freephoneline needs to work with Asterisk (FreePBX) ?

I tried to replicate whatever has been mentioned on this forum a few years ago, with no luck.

Thanks,
Juste
Just Passing Thru
 
Posts: 10
Joined: 02/29/2012

Re: Freephoneline settings on FreePBX

Postby menext » 04/12/2021

[general]
context=unauthenticated ; default context for incoming calls
allowguest=no ; disable unauthenticated calls
srvlookup=yes ; enabled DNS SRV record lookup on outbound calls
udpbindaddr=IP.ADD ; listen for UDP requests on all interfaces
tcpenable=no ; disable TCP support
register => 1234567890:SECERETPASSWORD@voip2.freephoneline.ca:5060
acl=tellme
useragent=CISCO-TEL

[office-phone](!) ; create a template for our devices
type=friend ; the channel driver will match on username first, IP second
context=LocalSets ; this is where calls from the device will enter the dialplan
host=dynamic ; the device will register with asterisk
nat=yes ; assume device is behind NAT
; *** NAT stands for Network Address Translation, which allows
; multiple internal devices to share an external IP address.
secret=VERYBIGSECRET ; a secure password for this device -- DON'T USE THIS PASSWORD!
dtmfmode=auto ; accept touch-tones from the devices, negotiated automatically
disallow=all ; reset which voice codecs this device will accept or offer
allow=ulaw ; which audio codecs to accept from, and request to, the device
allow=alaw ; in the order we prefer


This may be very late for your answer but I am sure that others will be interested. You need to setup SIP not PJSIP. Modify your sip.conf accordingly. Below is an example that works with the proper username and password.

[freephoneline]
type=peer
secret=SECRETPASSWORD
username=1234567890
host=voip2.freephoneline.ca
fromuser=1234567890
fromdomain=YOUR.IP.ADD.OR.YOURDOMAIN
canreinvite=no
insecure=invite,port
qualify=yes
nat=force_rport,comedia
context=from-sip ; this section will be defined in extensions.conf
deny=0.0.0.0/0.0.0.0
permit=162.213.111.22/255.255.255.255
menext
One Hit Wonder
 
Posts: 1
Joined: 04/12/2021
SIP Device Name: Asterisk/ATA122/CISCO/GDS3710
Computer OS: FreeBSD
Router: FreeBSD

Re: Freephoneline settings on FreePBX

Postby Liptonbrisk » 02/28/2023

Check Settings->Asterisk SIP Settings->Chan SIP Settings (Registration Times) to see if you have the following:

defaultexpiry=3600
RegisterExpiry=3600
MaxExpiry=3600
MinExpiry=3000
registertimeout=120

Settings might be within sip_general_custom.conf file
Or when using FreePBX web UI try Asterisk-->Asterisk SIP settings






This should be under Peer Details (for FPL trunk configuration with FreePBX):

keepalive=20
nat=yes
Please do not send me emails; I do not work for nor represent Freephoneline or Fongo. Post questions on the forums so that others may learn from responses or assist you. Thank you. If you have an issue with your account or have a billing issue, submit a ticket here: https://support.fongo.com/hc/en-us/requests/new. Visit http://status.fongo.com/ to check FPL/Fongo service status. Freephoneline setup guides can be found at viewforum.php?f=15.
User avatar
Liptonbrisk
Technical Support
 
Posts: 2763
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 64 bit
Router: Asuswrt-Merlin & others

Re: Freephoneline settings on FreePBX

Postby ilneofita » 08/14/2023

I modified the pjsip in order to have it worked with FPL, the modification is on git asterisk and for sure will be included in the next release
ilneofita
Just Passing Thru
 
Posts: 2
Joined: 08/03/2023


Return to Device Configuration Sharing

Who is online

Users browsing this forum: No registered users and 27 guests

cron