Freephoneline settings on FreePBX
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,
Fongo powers free calling solutions for a number of brands. This forum includes information and tips on all of those offerings. Note that your specific services may vary based on the specific Fongo product that you're using.
https://forum.fongo.com/
Call drops due to lack of ACK.
gideons at https://community.freepbx.org/t/incomin ... s/95369/12 is using pjsip and Freephoneline, and the problem described isn't with registration. It's with incoming calls, which that user fixed. The subject of that thread is "Incoming Call drop after 32 seconds".mkaye wrote: 07/07/2024 Contact User solved the pjsip register problem
but have the 30s call terminated problem with pjsip, not with chan_sip
gideons wrote:I decided to give it a try and add back the Contact User.
And so as I am making the call and following the logs, what a surprise: I couldn’t believe my eyes: an ACK !
Then the call went beyond the 32 seconds."
Okay, I did a quick search, and I see this:mkaye wrote: 07/12/2024 i don't see any option in the pjsip advanced parameters to disable timers (FreePBX17)
I think normally you're advised to fix whatever is causing the ACK to not be received (possible NAT issue or maybe something weird happening with the contact header), but if there's no other easy fix, then trying settings timers to no. I'm guessing because I can't test.dzone wrote:We were able to solve the 15-minute hangup problem by using the pjsip.endpoint_custom_post.conf file. By adding “timers=no” to the trunk, the calls stopped timing out. I wish there had been a way to configure this in the pjsip trunk settings.
pjsip.endpoint_custom_post.conf
[mytrunk](+)
timers=no
Notice the (+) after the trunk name. It appears to need that to append to the other settings FreePBX manages.
That's unfortunate.
Code: Select all
192.168.1.10Code: Select all
192.168.1.0 / 255.255.255.0Code: Select all
0.0.0.0 (udp)Code: Select all
53060Code: Select all
53060Code: Select all
53060Code: Select all
10000Code: Select all
20000Code: Select all
10000Code: Select all
20000Code: Select all
53060Code: Select all
10000-20000Code: Select all
FreephonelineCode: Select all
<YOUR_FPL_NUMBER>Code: Select all
"Your Name" <YOUR_FPL_NUMBER>Code: Select all
2Code: Select all
YOUR_FPL_USERIDCode: Select all
YOUR_FPL_PASSWORDCode: Select all
OutboundCode: Select all
SendCode: Select all
voip.freephoneline.caCode: Select all
5060Code: Select all
53060Code: Select all
from-trunkCode: Select all
53060Code: Select all
voip.freephoneline.ca,voip2.freephoneline.ca,voip4.freephoneline.caCode: Select all
YOUR_FPL_USERIDCode: Select all
voip.freephoneline.caCode: Select all
YOUR_FPL_USERIDCode: Select all
sip:YOUR_FPL_USERID@voip.freephoneline.caCode: Select all
sip:voip.freephoneline.caCode: Select all
sip:YOUR_FPL_USERID@voip.freephoneline.caCode: Select all
20Code: Select all
3600Code: Select all
120Code: Select all
NoCode: Select all
YesCode: Select all
YesCode: Select all
Send PAICode: Select all
YesCode: Select all
RFC 4733Code: Select all
NoCode: Select all
ulawCode: Select all
g729Code: Select all
ptime=20Code: Select all
FPL-OutgoingCode: Select all
FreephonelineCode: Select all
[2-689]11
*98
NXXNXXXXXX
1NXXNXXXXXX
011.
Code: Select all
FPL-IncomingCode: Select all
YOUR_FPL_NUMBERCode: Select all
ExtensionCode: Select all
Ring GroupCode: Select all
IVRCode: Select all
FreephonelineCode: Select all
RegisteredCode: Select all
asterisk -rvvvCode: Select all
pjsip show registrationsCode: Select all
exitCode: Select all
*98Code: Select all
voip.freephoneline.caCode: Select all
FreephonelineCode: Select all
voip2.freephoneline.caCode: Select all
5060Code: Select all
voip4.freephoneline.caCode: Select all
6060Code: Select all
53060Code: Select all
10k-20kCode: Select all
53060Code: Select all
10k-20kCode: Select all
Direct Media: NoCode: Select all
192.168.1.10Code: Select all
192.168.1.0 / 255.255.255.0Code: Select all
53060Code: Select all
53060Code: Select all
53060Code: Select all
10000Code: Select all
20000Code: Select all
10000Code: Select all
20000Code: Select all
53060Code: Select all
10000-20000Code: Select all
Freephoneline-ChanSIPCode: Select all
\<YOUR\_FPL\_NUMBER\>Code: Select all
"Your Name" \<YOUR\_FPL\_NUMBER\>Code: Select all
2Code: Select all
FreephonelineSIPCode: Select all
type=peer
host=voip.freephoneline.ca
port=5060
username=YOUR\_FPL\_USERID
secret=YOUR\_FPL\_PASSWORD
fromuser=YOUR\_FPL\_USERID
fromdomain=voip.freephoneline.ca
context=from-trunk
transport=udp
nat=force\_rport,comedia
qualify=20000
insecure=port,invite
dtmfmode=rfc2833
disallow=all
allow=ulaw\&g729
trustrpid=yes
sendrpid=yes
session-timers=refuse
directmedia=no
Code: Select all
qualify=20000Code: Select all
YOUR\_FPL\_USERIDCode: Select all
YOUR\_FPL\_USERID:[email address removed]:5060\~3600/YOUR\_FPL\_USERIDCode: Select all
FPL-ChanSIP-OutCode: Select all
Freephoneline-ChanSIPCode: Select all
[2-689]11
\*98
NXXNXXXXXX
1NXXNXXXXXX
011\.
Code: Select all
FPL-ChanSIP-InCode: Select all
YOUR\_FPL\_NUMBERCode: Select all
ExtensionCode: Select all
Ring GroupCode: Select all
IVRCode: Select all
Freephoneline-ChanSIPCode: Select all
RegisteredCode: Select all
asterisk -rvvvCode: Select all
sip show registryCode: Select all
exitCode: Select all
\*98Code: Select all
voip.freephoneline.caCode: Select all
Freephoneline-ChanSIPCode: Select all
host=Code: Select all
port=Code: Select all
host=voip2.freephoneline.caCode: Select all
port=5060Code: Select all
host=voip4.freephoneline.caCode: Select all
port=6060Code: Select all
YOUR\_FPL\_USERID:[email address removed]:6060\~3600/YOUR\_FPL\_USERIDCode: Select all
53060Code: Select all
10k-20kCode: Select all
53060Code: Select all
10k-20kCode: Select all
nat=force\_rport,comediaCode: Select all
Direct Media: No