Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all 226397 articles
Browse latest View live

Email configuration for Office 365

$
0
0

Hi!

This is easy to take care of...

You could but that truly depends on what you want to do...

If it is solely for home use you could use a fake domain name internally but make sure it doesn't get out this way because it is quite likely to be blocked if a mail server validates the domain...

Those email address remaps both @waldrondigital and @mattbratt referred to will take care of remapping the fake email addresses to one or multiple ones...

As for using godaddy, I got everything I had there out of there years ago... I am personnally not a fan of theirs..

If this is an home server and you want to send mail directly from it (ie not using office 365 or your ISP servers) you open yet another can of worms..

  • Your IP should definitely preferably be static (which it is for you fortunately). If if it not I would relay all your emails through your ISP's mail servers (by setting "relayhost").
  • Your IP should have proper reverse-DNS (ie a PTR record) with matching forward DNS preferably matching your hostname or at least HELO/EHLO...
  • You have to make sure it's not blacklisted in some way...
  • You have to make sure you are allowed to send email for that domain which means it has to have no SPF record or a record that includes your IP.

Now even though you have a static IP at home your provider might or might not let you change things such as PTR (or do it for you) and it is possible that huge ranges of their IP addresses might be blacklisted...

For a VPS I use as primary MX for personal emails I had to join Microsoft's Junk Email Reporting Program (https://postmaster.live.com/snds/JMRP.aspx) because a very large portion of my VPS ISP IP range had been blacklisted... Before I did that I could not send emails to hotmail/live.com, etc... (ie anything hosted there...).

Essentially, I had to digitally sign some sort of contract with Microsoft for personal use... :cold_sweat:

As for having the PTR of my mail server changed (and match hostname, etc.. to it) I did it for both my VPS and for the mail server I have at home. The VPS I am not surprised since the same "product" can be bought for business use but fo myr residential ISP I might have been lucky I think my ISP changed it for me.

(Well, up to a certain point... They are very geek friendly... You can get subnets for home use (I have a /29).

Now I have a question...

Will the FreePBX system you are setuping for business use and is temporarily at you home or is this solely an home server?

If it is an home server, what do you want to use office 365 for? Is this the service normally used for business emails? Personally, I would not recommend mixing business and home stuff...

For home use, unless you want to get into more complex stuff, I would use your ISP's email address for those email address remaps and point the relayhost to the SMTP server your ISP told you to use to send emails the old fashion way (ie no webmail)..

However, if that server will eventually be used at work and is only temporarily home and office 365 is what you use at work then we definitely need to get that working... Please give us some logs...

Good luck and have a nice day!

Nick


Email configuration for Office 365

$
0
0

Hi!

As long as they are remapped to something legit by the generic maps you should be mostly OK...

For outbound, assuming an email address that is already in FQDN form (ie complete...) the hostname will be sent as the HELO/EHLO when the mail server (MTA) talks to the other mail server (MTA).

Now, assuming you had a good reason not to have the hostname set to something "nice" toy can actually override the HELO/HELO with smtp_helo_name.

myorigin IIRC is mostly used to transform email address with only a user part into a complete email address...

mydomain sets plenty of stuff but those remaps should take care of what could be visible I think...

It's the email address remaps you and @waldrondigital borrowed from the wiki which end up producing legit enough to be sent outside, without them you risk being blocked even when a relayhost...

If you don't use a relayhost then, as I said above, you are opening a can of worms...

I could be wrong but I think the office 365 email address he initially wanted to use is his job email address...

(As I said above if it is a server for home I don't think it's a good idea...)

Now if he no longer wants to go the office 365 way (and stop using his job email address as I think he wanted to do) he could just as well use his ISP personal email address and their servers (as relayhost) to send emails. If they have a SPF record it will be OK since the emails will come from their servers).

If however he wants to use his own domain (and doesn't want it to be hosted on office 365) I would recommend he did not put a SPF record because there won't be much to be gained by it and it might cause problems.

SPF records are normally not mandatory, it's just Microsoft that makes them mandatory for office 365...

I could definitely be wrong about what he initially wanted to do but it definitely sounds like the office 365 hosted domain is the one used for work and the FreePBX system he is settuping is currently home but I don't know if it is temporary or permanent...

Have a nice day!

Nick

Can't disable UCP Chat

$
0
0

Even though I have set chat to "disabled", users who have previously added the widget can still add the side-bar widget.

How to distinguist between trunks on incoming calls?

Force gui to https

$
0
0

I added the following to /etc/httpd/conf.d/freepbx.conf :

<VirtualHost *:80>
 RewriteEngine on
 RewriteCond %{HTTPS} !=on [NC]
 RewriteRule ^/admin(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</VirtualHost>

service httpd restart => go!

Now I hope somebody from FreePBX is reading this and will implement an easier way using the GUI.

Generating Lets Encrypt Certificate - requested host does not resolve to IP

$
0
0

Hello,

I have a FreePb v14 system running. It works great :slight_smile:
But theres one thing I could not yet really get over to.
I
ve tried to generate a Let`s Encrypt certificate for this machine using the FreePbx administration web frontend for certificates (Admin -> Certificate Manager -> Create New Lets Encrypt Cert).

This are my systems details (values slightly modified ONLY SIMILAR EXAMPLE FOR DEMONSTRATION!):
Hostname: srv01.xyz.com
IP: 218.17.123.123
Version: FreePBX 14.0.1.4 (from latest official distro)

DNS entry for xyz.com:
A 3600 srv01 218.17.123.123

Lets Encrypt cert details:
Certificate Host Name: srv01.xyz.com

This is the error output on generation:
There was an error updating the certificate: Error 'Requested host 'srv01.xyz.com' does not resolve to '91.130.242.22' (Found 213.17.123.123)' when requesting "srv01.xyz.com//.freepbx-known/c70667a06e8fb13d35fb770ddc2c0023"

The strange thing is, I can reach the URL "srv01.xyz.com//.freepbx-known/c70667a06e8fb13d35fb770ddc2c0023" without any problems from outside with any browser and it does resolve to "213.17.123.123".
Also the Apache server is reachable over port 80 using the subdomain URL "srv01.example.com/test.php" or direct over the public IP "213.17.123.123/test.php".

Firewall module is enabled and configured on the pbx, the needed LE exclusions were made.

But the resolved IP "91.130.242.22" is the last IP before my ISP hands over the connection to my public static IP "213.17.123.123" (which is the pbx and which is in a DMZ) if I track it through "tracert".

How does the certificate manager resolve the IP, does it need any specific port I need to unblock (or my ISP) ?
If it is resolved using the DNS entry it has to be definitly "213.17.123.123", which is in the record.
But why does it resolve to the last gateway of my ISP ?

I am curious about that. Please help ! Thank you !

Unable to generate certificate

Generating Lets Encrypt Certificate - requested host does not resolve to IP

$
0
0

Hello,

ok i`ve discovered one strange thing.

My network settings for the pbx are as follows (in System Admin Module):

Type: Static
IP: 218.17.123.123
Gateway: 218.17.123.122

If I now go to "Asterisk SIP Settings" and click on "Detect Network settings" there the resolved external IP is set to 91.130.242.22.

How does FreePbx/Asterisk resolve the external IP ??


Generating Lets Encrypt Certificate - requested host does not resolve to IP

$
0
0

FreePBX does not resolve that IP. You hard set that IP in SIP Setting module. Update it and you should be good to go.

Update from 12 to 13 Error

$
0
0

I ran an update from 12 to 13 and am now seeing the following error: Any help would be greatly appreciated. Thanks!

Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Symfony\Component\Process\Exception\RuntimeException: The process has been signaled with signal "7". in file /var/www/html/admin/libraries/Composer/vendor/symfony/process/Symfony/Component/Process/Process.php on line 367
Stack trace:
1. Symfony\Component\Process\Exception\RuntimeException->() /var/www/html/admin/libraries/Composer/vendor/symfony/process/Symfony/Component/Process/Process.php:367
2. Symfony\Component\Process\Process->wait() /var/www/html/admin/libraries/Composer/vendor/symfony/process/Symfony/Component/Process/Process.php:210
3. Symfony\Component\Process\Process->run() /var/www/html/admin/libraries/media/Media/Driver/Drivers/SoxShell.php:76
4. Media\Driver\Drivers\SoxShell->installed() /var/www/html/admin/libraries/media/Media/Media.php:120
5. Media\Media->getSupportedFormats() /var/www/html/admin/libraries/BMO/Media.class.php:89
6. FreePBX\Media->getSupportedFormats() /var/www/html/admin/libraries/BMO/Media.class.php:49
7. FreePBX\Media->getSupportedHTML5Formats() /var/lib/asterisk/bin/retrieve_conf:57

Generating Lets Encrypt Certificate - requested host does not resolve to IP

$
0
0

You also can't just "make up" a domain. The domain has to be resolvable and open on port 80.

SIP Trunk Providers

$
0
0

I like AlcazarNetworks and VOIP Innovations.

WRT VI: There are a couple of others out there that are cheaper, but I've never had a problem. I was even able to get a local number is Brazil through them "once upon a time" (I don't think they do that any more).

They have all of the standard offerings, including e911, Fax to Email, SMS, Failover, T.38, etc.

Alcazar Networks is my "direct to employee" provider - they're the ones I use for my outgoing only lines. The only problem I've had with them is that they sometimes let their number routing updates to a little too long.

Bonding and using System Admin

$
0
0

@BlazeStudios is right - the system doesn't do that right now.

The Issues Tab (at the top of the page) is the place to submit suggestions for systems upgrades and improvements.

Issues while trying to upgrade from version 2.11 to 12

$
0
0

Ran the upgrade tool to go from 2.11 to 12, updated the framework, which appeared to go ok but I believe that may be what had the fit and broke everything.

Running on Centos6.4 on freepbx distro 5.x

The webgui loads, has the older appearance but none of the buttons or menus work, if I try running any amportal commands i get the following:

Please wait...

PHP Fatal error: Class 'module_functions' not found in /usr/share/pear/Console/Getopt.php on line 0

the phones amazingly work for the moment but I can't make any config changes via the gui, etc.

am able to run amportal dbug:

Please wait...

trying to run as user asterisk:

[FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]

==> /var/log/asterisk/freepbx_dbug <==

2017-Sep-25 08:00:01 /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php:37
[WARNING]: include_once(): Failed opening '/var/www/html/admin/modules/sysadmin/ functions.inc/Schmooze.class.php' for inclusion (include_path='.:/usr/share/pear :/usr/share/php')

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_ path is properly configured in your ini file!

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: License check failed!

==> /var/log/httpd/error_log <==
[Mon Sep 25 05:24:04 2017] [notice] Digest: done
[Mon Sep 25 05:24:04 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configu red -- resuming normal operations
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer 172.20.50.20/ admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: /172.20.5 0.20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: /172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php

==> /var/log/asterisk/freepbx.log <==
You should go to the module admin page to fix these.)
[2017-Sep-25 05:32:41] [CRITICAL] (libraries/module.functions.php:1766) - [NOTIF ICATION]-[freepbx]-[modules_broken] - You have a broken module (The following mo dules are disabled because they are broken:
sysadmin

You should go to the module admin page to fix these.)
[2017-Sep-25 07:59:02] [ERROR] (libraries/cronmanager.class.php:161) - [NOTIFICA TION]-[cron_manager]-[EXECFAIL] - Cronmanager encountered 1 Errors (The followin g commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255))
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:42) - trying to run as user a sterisk:
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:43) -
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:79) - [FPBXDBUGDISABLE] chang ed from previous value: [1] to new value: [0]
[2017-Sep-25 08:02:40] INFO -
==> /var/log/asterisk/freepbx_dbug <==

2017-Sep-25 08:00:01 /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php:37
[WARNING]: include_once(): Failed opening '/var/www/html/admin/modules/sysadmin/ functions.inc/Schmooze.class.php' for inclusion (include_path='.:/usr/share/pear :/usr/share/php')

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_ path is properly configured in your ini file!

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: License check failed!

==> /var/log/httpd/error_log <==
[Mon Sep 25 05:24:04 2017] [notice] Digest: done
[Mon Sep 25 05:24:04 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configu red -- resuming normal operations
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: 172.20.50.20/ admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: 172.20.50.20/ admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50.20/admin/config.php

==> /var/log/asterisk/freepbx.log <==
You should go to the module admin page to fix these.)
[2017-Sep-25 05:32:41] [CRITICAL] (libraries/module.functions.php:1766) - [NOTIF ICATION]-[freepbx]-[modules_broken] - You have a broken module (The following mo dules are disabled because they are broken:
sysadmin

You should go to the module admin page to fix these.)
[2017-Sep-25 07:59:02] [ERROR] (libraries/cronmanager.class.php:161) - [NOTIFICA TION]-[cron_manager]-[EXECFAIL] - Cronmanager encountered 1 Errors (The followin g commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255))
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:42) - trying to run as user a sterisk:
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:43) -
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:79) - [FPBXDBUGDISABLE] chang ed from previous value: [1] to new value: [0]
[2017-Sep-25 08:02:40] INFO -

DTMF + BLF with Yealink phones?

$
0
0

We are using EXP20 side cars that are setup for BLF keys. If i use DTMF to transfer a call to voicemail using one of these keys, it calls back the phone saying "recall". Anyone been successful setting this up?


UCP Device Managment

$
0
0

I have an odd thing happening on one server.
We have Freepbx Distro and use the UCP to allow users to update their phone BLF and Speediales .
We use Polycom Phones and it works on 10 Servers running Freepbx PBX Firmware:10.13.66-21
I have one server that is giving me an error in UCP under device manager
"Only licensed for Sangoma devices"
i don't know why this server says this?
i have the latest licenses.

UCP Device Managment

$
0
0

Hi Greg!

Which ones and are you sure they have all been renewed?

It sounds like you want to use UCP for EPM which is a commercial module which used to be sold separately but is now part of the commercial EPM (EndPoint Manager) module bundle.

re:

If you bought it before that change I am not sure if it entitles you to both module or only one though...

If you don't have those commercial licences active I believe both of those modules (I know it's the case for EPM itself) only work when you have Sangoma phones....

If you have active licences for those modules you should probably open a commercial module ticket.

Have a nice day!

Nick

Email configuration for Office 365

$
0
0

I have been messing with things enough that I may have introduced issues that may be tough to track down. I'm going to start over with a clean system image and follow your directions again from a fresh build. I'll let you know how it goes in a bit here.

UCP Device Managment

$
0
0

That means you have not bought UCP for EPM for that server and you bought EPM back when UCP for EPM was not included

UCP Device Managment

$
0
0

how do i fix that?
i am licensed till 2021 on all my modules
i just renewed

Viewing all 226397 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>