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

Help With E1 implementation and appliance selection

$
0
0

You would need to configure DAHDI in a similar way to an FXO card, you would just have a span instead of separate ports. If you post the make and model of your card I could show you a link to the installation guide.


Programming the Message (Voice Mail) Key on Snom 821

$
0
0

I understand that I will always be prompted to enter the password. But I am getting prompted for BOTH the extension AND the password.

Delay between pbx_variables.c: and netsock2.c - 10 seconds delay between dialing and establising connection

$
0
0

Wow, I didn’t realize those settings existed. The OP can probably fix his trouble by leaving anything to do with STUN, TURN or ICE blank.

IMHO the Asterisk guys should have done better and at least allowed a list of several STUN servers to be entered. Otherwise (if your system really needs STUN to function), you would be depending on a single ‘public’ server for which you are not paying, makes no uptime guarantees and entitles you to no support. In most cases, you wouldn’t even know who’s running it or how responsible they are.

Help With E1 implementation and appliance selection

$
0
0

Thank you.

I don’t have any card nor appliance yet. I am also looking for recommendations.

Regards

Help With E1 implementation and appliance selection

$
0
0

I should add that I want to use the freepbx option specially because the suitecrm plugin that is has.
Maybe Sangoma Appliance and gateway and whatever else I need.

Regards

Delay between pbx_variables.c: and netsock2.c - 10 seconds delay between dialing and establising connection

$
0
0

Another thought: The OP’s log shows the extension on the same subnet as the PBX, so I’d expect that a STUN server would not be interrogated. Either the OP’s NAT settings are wrong (check Local Networks in particular), or Asterisk was set up so a failing STUN server can cause trouble even when it’s not being used.

Updating Asterisk to 15 from 13 broke my install

$
0
0

I upgraded my FreePBX 14 to 15, and that all went mostly without a hitch, once it was happy and not showing any issues I though I should bring my asterisk up to date so I tried to use the /usr/local/sbin/asterisk-version-switch which gave me the choice of versions, probably ill-advisedly I chose 16, which broke the system - I then tried to drop back to 15 which did not improve matters and then back to Asterisk 13 which also shows the same issues…

php: Unparseable output from getservices - [“Exception: Asterisk is not connected in file /var/www/html/admin/libraries/php-asmanager.php on line 248”,“Stack trace:”," 
1. Exception->() /var/www/html/admin/libraries/php-asmanager.php:248"," 
2. AGI_AsteriskManager->send_request() /var/www/html/admin/modules/firewall/Smart.class.php:447"," 
3. FreePBX\modules\Firewall\Smart->getPjsipContacts() /var/www/html/admin/modules/firewall/Smart.class.php:437"," 
4. FreePBX\modules\Firewall\Smart->getRegistrations() /var/www/html/admin/modules/firewall/Smart.class.php:69"," 
5. FreePBX\modules\Firewall\Smart->getAllPorts() /var/www/html/admin/modules/firewall/Firewall.class.php:1026"," 
6. FreePBX\modules\Firewall->getSmartPorts() /var/www/html/admin/modules/firewall/bin/getservices:22"] - returned 1

" fwconsole ma upgradeall
Up to date.
Updating Hooks…Done"
Yum shows no errors and everything is up to date…
asterisk is not started with the systemctl (all off) but does start on reboot

I have rebooted several times and I reinstalled sangoma-pbx just in case that was an easy fix.

Asterisk IS running but does not seem to be connected to FreePBX as i can attach with -rvv but there is no config.

Has anyone any pointers or advice - I fear that “asterisk-version-switch” is going to cost me a lot of time over this weekend.

Error in log currently shows following after reinstalling firewall and XMPP

php: Unparseable output from getservices - ["Exception: Asterisk is not connected in file \/var\/www\/html\/admin\/libraries\/php-asmanager.php on line 248","Stack trace:","  
1. Exception->() \/var\/www\/html\/admin\/libraries\/php-asmanager.php:248","  
2. AGI_AsteriskManager->send_request() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.php:447","  
3. FreePBX\\modules\\Firewall\\Smart->getPjsipContacts() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.php:437","  
4. FreePBX\\modules\\Firewall\\Smart->getRegistrations() \/var\/www\/html\/admin\/modules\/firewall\/Smart.class.php:69","  
5. FreePBX\\modules\\Firewall\\Smart->getAllPorts() \/var\/www\/html\/admin\/modules\/firewall\/Firewall.class.php:1026","  
6. FreePBX\\modules\\Firewall->getSmartPorts() \/var\/www\/html\/admin\/modules\/firewall\/bin\/getservices:22"] - returned 1

Programming the Message (Voice Mail) Key on Snom 821

$
0
0

That is because you are dialling *98. That feature code is used to access any voicemail on the system, not the specific voicemail assigned to your extension. That is why you get prompted to enter voicemail extension and password.
To access your own assigned voicemail you would dial *97.


Help With E1 implementation and appliance selection

Updating Asterisk to 15 from 13 broke my install

$
0
0

asterisk isn’t running or is running as root

Delay between pbx_variables.c: and netsock2.c - 10 seconds delay between dialing and establising connection

$
0
0

This was it! STUN. I’ve deleted it and it all works. I have no idea how STUN would affect internal traffic, but thats it!
SOLVED
Thank you

Upgrade to 15 broke cron file, can't reload

$
0
0

Was upgrading 14 to 15. Upgrade told me to run fwconsole ma upgradeall, so I ran it. After it finished, I tried pushing the Apply Config button, and it tells me “Unknown Error. Please Run: fwconsole reload --verbose”. That says:

[root@freepbx asterisk]# fwconsole reload --verbose
Reload Started
In Cron.class.php line 126:
[Exception]
Cron line added didn’t remain in crontab on final check. Check /tmp/cron.error for reason.
Exception trace:
() at /var/www/html/admin/libraries/BMO/Cron.class.php:126
FreePBX\Cron->addLine() at /var/www/html/admin/libraries/BMO/Cron.class.php:226
FreePBX\Cron->add() at /var/www/html/admin/libraries/Builtin/UpdateManager.php:242
FreePBX\Builtin\UpdateManager->updateCrontab() at /var/www/html/admin/libraries/Console/Reload.class.php:822
FreePBX\Console\Command\Reload->installCrons() at /var/www/html/admin/libraries/Console/Reload.class.php:371
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:90
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:960
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

So I checked /tmp/cron.error, and that says:

“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.

I really don’t know how to fix this. Here is my current crontab (which I didn’t edit).
crontab -u asterisk -e
* * * * * [ -x /var/www/html/admin/modules/dashboard/scheduler.php ] && /var/www/html/admin/modules/dashboard/scheduler.php > /dev/null 2>&1
*/1 * * * * /var/lib/asterisk/bin/pagepro-scheduler.php 2>&1 >/dev/null
*/15 * * * * [ -e /etc/asterisk/firewall.enabled ] && touch /var/spool/asterisk/incron/firewall.firewall
* * * * * [ -x /var/lib/asterisk/bin/schedtc.php ] && /var/lib/asterisk/bin/schedtc.php
@daily [ -e /var/www/html/admin/modules/sysadmin/bin/check_portal.php ] && /var/www/html/admin/modules/sysadmin/bin/check_portal.php >/dev/null 2>&1
@daily [ -x /var/lib/asterisk/agi-bin/ddns_client.php ] && /var/lib/asterisk/agi-bin/ddns_client.php >/dev/null 2>&1
*/5 * * * * /usr/sbin/fwconsole qxactreports --sync -q 2>&1 > /dev/null
@hourly [ -x /var/lib/asterisk/bin/storage.php ] && /var/lib/asterisk/bin/storage.php >/dev/null 2>&1
0 20 * * * /usr/sbin/fwconsole backup --backup=bcfc06e0-1719-43b4-a4b0-7608047f67e2 > /dev/null 2>&1
*/1 * * * * /usr/sbin/fwconsole calendar --sync 2>&1 > /dev/null
48 1 * * * /usr/sbin/fwconsole certificates --updateall -q 2>&1 >/dev/null
@daily /usr/sbin/fwconsole pms mk_dirty > /dev/null 2>&1
* * * * * /usr/sbin/fwconsole pms wu_alert > /dev/null 2>&1
* * * * * /usr/sbin/fwconsole queuestats --syncall >> /tmp/reader.log 2>&1
30 22 * * * /usr/sbin/fwconsole recordingreports -s -c -q > /dev/null 2>&1
0 0 1 * * php /var/lib/asterisk/agi-bin/backuprecordings.php > /dev/null 2>&1
@daily [ -x /var/lib/asterisk/bin/freepbx_sipstation_check ] && /var/lib/asterisk/bin/freepbx_sipstation_check 2>&1 > /dev/null
*/15 * * * * /usr/sbin/fwconsole userman --syncall -q
* * * * * php /var/lib/asterisk/bin/vqplus_generate_periodical_events.php > /dev/null 2>&1
@daily [ -x /var/lib/asterisk/agi-bin/update_license.php ] && /var/lib/asterisk/agi-bin/update_license.php --delay
* 5 * * * /usr/sbin/fwconsole util cleanplaybackcache -q

Thank you for the help!!

Updating Asterisk to 15 from 13 broke my install

$
0
0

Asterisk is running but not as root.

root     11545  0.0  0.0 113176   804 pts/4    S    19:16   0:00 /bin/sh /sbin/safe_asterisk -U asterisk -G asterisk
asterisk 11547  0.0  0.4 1713524 27192 pts/4   Sl   19:16   0:00 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c

I can kill them both off and then restart with fwconsole which gives.

root      3115  0.0  0.0 113176   808 pts/3    S    19:54   0:00 /bin/sh /sbin/safe_asterisk -U asterisk -G asterisk
asterisk  3117  2.0  0.4 1485572 25220 pts/3   Sl   19:54   0:00 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c

fwconsole gives…

[--------------->------------] 12 secs
In Start.class.php line 189:

  Unable to connect to Asterisk. Did it start?

Updating Asterisk to 15 from 13 broke my install

$
0
0

If Asterisk is running and running as user asterisk, then check that the manager user/password in Advanced Settings matches the values in /etc/asterisk/manager.conf. Also make sure there is not a second conflicting admin user.

Programming the Message (Voice Mail) Key on Snom 821

$
0
0

I’ve tested on FreePBX versions 13 and 14, and in both cases you are only challenged for the PIN, not the mailbox.


Upgrade to 15 broke cron file, can't reload

Unable to receive incoming calls

$
0
0

Question, it is possible to connect my analogic line to a VPS with Freepbx configure. if so how i can specified my gateway host?
Thanks in advance.

Programming the Message (Voice Mail) Key on Snom 821

$
0
0

Thanks, Lorne.

This was a weird one. I now understand what went wrong. Before changing all the phones globally, I wanted to test this on one phone. So I manually programmed the message key using the web interface for the phone, and before I got a chance to test it, the Endpoint Manager automatically reprovisioned the phone, as it should every 24 hours. So I was actually sending *97 rather than *98237. When I reprogrammed the key, and then immediately test it, it worked correctly.

Now that I know that it works, what I want to do is program this automatically on all the phones using the Endpoint Manager, as suggested in Shared Voicemail Boxes .

On the Snom 821, the basefile contains <dkey_retrieve perm="">speed *97</dkey_retrieve>, so it looks like I need to change it to <dkey_retrieve perm="">speed __voicemailExt__</dkey_retrieve> .

Unable to receive incoming calls

$
0
0

You just need to point your gateway to your FreePBX instance and configure the trunk accordingly.

Raid storage issues - storing to wrong partition?

$
0
0

I have a system set up with Raid that seems to be storing all our info to the wrong partition

image
image

cat /proc/mdstat
Personalities : [raid1]
md126 : active raid1 sdb1[1] sda1[0]
      467680256 blocks super 1.2 [2/2] [UU]
      bitmap: 1/4 pages [4KB], 65536KB chunk

md127 : active raid1 sdb2[1] sda2[0]
      1047552 blocks super 1.2 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

unused devices: <none>
Viewing all 228224 articles
Browse latest View live


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