Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all 12620 articles
Browse latest View live

Migrating Commercial Endpoint Manager from v2.11 to v15

$
0
0

@Mike_S wrote:

I recently migrated from v2.11 to v15 using the online converter. Afterwards I moved my deployment ID. None of the endpoint manager settings converted after the license activated.

I attempted to restore from a v2.11 backup but the backup module doesn’t find any version info in the v2.11 backup file.

I’m looking or suggestions on restoring the Endpoint module configuration, especially the custom templates.

Posts: 4

Participants: 2

Read full topic


US DID numbers

$
0
0

@jcadman wrote:

Hi,

I live in England have several UK numbers for my company and have started to look into getting US numbers for my clients to contact me. With the UK numbers, I have two channels per number and do not pay for the number itself but just the call rate and just add a channel for 75p when needed.

I have searched around for SIP trunking and DID numbers in the US but they seem costly compared to the UK and I am trying to find cheap solutions as these will not be used all the time and all calls in the UK will remain with the Uk number. Is there anyone in the US that knows if any cheap sip trunking/did number services?

I know this is not an issue with freepbx however I assumed a lot of people on this would use a vast amount of different services in the US.

Posts: 2

Participants: 2

Read full topic

Help a student

$
0
0

@Chazz wrote:

Hello everyone.

I would like to write a bachelor thesis about VoIP-security.
At first I wanted to write about performance differences between RTP and SRTP, but the more I got used to it, the less interesting it became.

Now I hope for the great community here.
Would any of you have any idea what direction I could go?

Conditions:
Small if possible simple experiment (because there is not much time left) about VoIP security.
Asterisk, possibly FreePBX and Raspberry

Thanks =)

Posts: 3

Participants: 3

Read full topic

Any operations with the asteriskcdrdb database lead to a fail

$
0
0

@sorokin549 wrote:

Hello, I have some issue.
When I using the command:
mysqldump asteriskcdrdb -uroot -p > /home/asterisk/backup/backup.sql
I get an error:
mysqldump: Got error: 2013: “Lost connection to MySQL server during query” when using LOCK TABLES

When I using the command mysqlcheck --repair --all-databases,
I get an error:
note : The storage engine for the table doesn’t support repair
mysqlcheck: Got error: 2013: Lost connection to MySQL server during query when executing 'REPAIR TABLE … ’


my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
#innodb_force_recovery = 4

net_buffer_length=1M
max_allowed_packet=500M
tmp_table_size = 64M
wait_timeout=604800
thread_cache_size=100
innodb_buffer_pool_size=6G
table_open_cache=10000
innodb_purge_threads=1

[mysqldump]
max_allowed_packet=1300M
#net_read_timeout=3600
#net_write_timeout=3600

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory

!includedir /etc/my.cnf.d


mariadb.log

InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: about forcing recovery.
200504 23:10:13 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 5.5.60-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=1
max_threads=153
thread_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 466718 K bytes of memory
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0x5575e47be210
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong…
stack_bottom = 0x7fde0c5bad80 thread_stack 0x48000
/usr/libexec/mysqld(my_print_stacktrace+0x3d)[0x5575d8b1ecbd]
/usr/libexec/mysqld(handle_fatal_signal+0x515)[0x5575d87334a5]
sigaction.c:0(__restore_rt)[0x7fde0c2885d0]
:0(__GI_raise)[0x7fde0a9b22c7]
:0(__GI_abort)[0x7fde0a9b39b8]
/usr/libexec/mysqld(+0x834140)[0x5575d8ac3140]
/usr/libexec/mysqld(+0x721be8)[0x5575d89b0be8]
/usr/libexec/mysqld(+0x6f74cb)[0x5575d89864cb]
/usr/libexec/mysqld(+0x6f7f94)[0x5575d8986f94]
/usr/libexec/mysqld(_ZN7handler7ha_openEP5TABLEPKcij+0x33)[0x5575d87373e3]
/usr/libexec/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x70a)[0x5575d8698b3a]
/usr/libexec/mysqld(_Z10open_tableP3THDP10TABLE_LISTP11st_mem_rootP18Open_table_context+0x1020)[0x5575d85c4d90]
/usr/libexec/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x5b5)[0x5575d85c6575]
/usr/libexec/mysqld(_Z21mysql_execute_commandP3THD+0x39b6)[0x5575d8604fc6]
/usr/libexec/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x125)[0x5575d8608445]
/usr/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1750)[0x5575d860a4a0]
/usr/libexec/mysqld(_Z24do_handle_one_connectionP3THD+0x1c2)[0x5575d86bca22]
/usr/libexec/mysqld(handle_one_connection+0x4a)[0x5575d86bcaca]
pthread_create.c:0(start_thread)[0x7fde0c280dd5]
/lib64/libc.so.6(clone+0x6d)[0x7fde0aa7a02d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fdc40100c58): LOCK TABLES cdr READ /*!32311 LOCAL /,cel READ /!32311 LOCAL /,queuelog READ /!32311 LOCAL */
Connection ID (thread ID): 7
Status: NOT_KILLED

Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off

information that should help you find out what is causing the crash.
200504 23:10:13 mysqld_safe Number of processes running now: 0
200504 23:10:13 mysqld_safe mysqld restarted
200504 23:10:13 [Note] /usr/libexec/mysqld (mysqld 5.5.60-MariaDB) starting as process 16570 …
200504 23:10:13 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 table_cache: 431
200504 23:10:13 InnoDB: The InnoDB memory heap is disabled
200504 23:10:13 InnoDB: Mutexes and rw_locks use GCC atomic builtins
200504 23:10:13 InnoDB: Compressed tables use zlib 1.2.7
200504 23:10:13 InnoDB: Using Linux native AIO
200504 23:10:13 InnoDB: Initializing buffer pool, size = 6.0G
200504 23:10:14 InnoDB: Completed initialization of buffer pool
200504 23:10:14 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
InnoDB: Restoring possible half-written data pages from the doublewrite buffer…
200504 23:10:14 InnoDB: Error: page 32769 log sequence number 7128597652
InnoDB: is in the future! Current system log sequence number 6861191096.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: for more information.
200504 23:10:14 InnoDB: Error: page 131073 log sequence number 7253880629
InnoDB: is in the future! Current system log sequence number 6861191096.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files.
InnoDB: for more information.
200504 23:10:14 InnoDB: Error: page 65537 log sequence number 7251938077
InnoDB: is in the future! Current system log sequence number 6861191096.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: for more information.
200504 23:10:14 InnoDB: Waiting for the background threads to start
200504 23:10:15 Percona XtraDB 5.5.59-MariaDB-38.11 started; log sequence number 6861191096
200504 23:10:15 [Note] Plugin ‘FEEDBACK’ is disabled.
200504 23:10:15 [Note] Server socket created on IP: ‘0.0.0.0’.
200504 23:10:15 [Note] Event Scheduler: Loaded 0 events
200504 23:10:15 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.60-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server

How can this problem be solved? Thanks.

Posts: 2

Participants: 2

Read full topic

Any way to show on a graph how many calls we got when we were shut?

$
0
0

@pbx_noob wrote:

I’m just curious really. But we were shut for the month of April and calls were being greeted with an auto-recorded message. I’m wondering if there’s a way I can see how many calls we were getting in April vs March and vs May now we’re reopen.
I have looked at the CDR reports but they don’t seem to be very useful because of how many extraneous/duplicates records there are for all the Zulu stuff.
Any tips? I did find a tool ‘cdrquery’ but it doesn’t seem to work with current versions of FreePBX.
Any tips?
As I say, this isn’t urgent, was just curious.

Posts: 1

Participants: 1

Read full topic

Call forwarding "* 72"

$
0
0

@claloano wrote:

Call forwarding “* 72”

I created this new post to analyze a problem that failed to investigate in a previous post

Here is the scenario:
FreePBX in cloud without NAT no connected phone …

If you activate Call forwarding, you will hear it ring but you will not hear audio

From the log I don’t know anything

Anyone have suggestions?

Posts: 1

Participants: 1

Read full topic

Phones ring but no audio

$
0
0

@kfeen wrote:

I have a PBX that sits behind my network. Yesterday Spectrum came to my office and installed a new modem/router combo which has a static IP address scripted onto it. Before that I had just a modem with a dynamic IP that went into my edgerouter. Now I have their modem/router connected to my EdgeRouter. On my edgerouter I have all the needed ports forwarded to the PBX (5060, 10000-20000) on my edgerouter and I haven’t touched anything on theirs. Well I’ve moved everything over to the static IP and now none of my clients can hear audio through the phone. It’s not one-way audio either nobody can hear anything. They say the firewall on their router is off and all SIP-ALG settings are off as well.

Posts: 1

Participants: 1

Read full topic

Ivr and queue cdr log with each callerid

$
0
0

@edwinr wrote:

Hi,

I have an ivr that will route to another ivr and also with queue. All of them has each different callerid set for some reason. How can I log all call routing to the cdr with the corresponding CID? The call that arrived to the first ivr must log both the call and callerid to the cdr and also with the next one with the different callerid. Currently i can only see the last part with the callerid under it. Please advise. Thanks in advance!

FreePBX 14.0.13.28

Posts: 1

Participants: 1

Read full topic


Dealing with withheld calls

$
0
0

@pbx_noob wrote:

Similar to this query

Sometimes I get calls from withheld numbers. Sometimes they’re sales calls, local authorities, police, the privacy obsessed etc.

These calls come through as ‘1-pstn’ at the moment as that’s the name of the trunk and the userID on the SPA3000 bringing the call into FreePBX

How can I ‘handle’ these calls? How do I go about either preventing the trunkname/UserID being set as the caller ID or replace the 1-pstn with ‘withheld’ or ‘anonymous’ and how do I then direct them within FreePBX?

Thank you!

Posts: 1

Participants: 1

Read full topic

Problem make # yum upgrade

$
0
0

@shifuleinad wrote:

Hello, it’s my first post and I wanted to ask for help so what I read is simple. A conflict with grub2 that won’t let me do a yum update or yum upgrade

It gives me the following message
Try reinstalling grub2. I also did grub2-mkconfig -o /boot/grub2/grub.cfg again
and finally probe
yum update --exclude = grub2
and it won’t let me update
Transaction check error:
file / boot / efi / EFI / centos from install of grub2-efi-x64-1: 2.02-0.76.el7.centos.1.x86_64 conflicts with file from package grub2-common-1: 2.02-0.65.el7.centos. 2.noarch

Error Summary

Posts: 2

Participants: 2

Read full topic

Dialing Voice Mail

$
0
0

@MC1 wrote:

Hello
Sangoma S500

I have an extension 202. It doesn’t have a voicemail box assigned to it.

I would like to program a button or change the existing hard coded button to dial into mailbox 700.

How do I go about doing this via Endpoint Manager?

Thanks in advance for all your help.

Michael

Posts: 2

Participants: 2

Read full topic

Can't connect to local MySQL server

$
0
0

@rsarceno wrote:

I using FreePBX 13.0.197.22
I’m only using 27% disk space
Before I reboot the server I run fwconsole stop.
The server reboot with the following error

Exception: SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)::SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) in file /var/www/html/admin/libraries/utility.functions.php on line 204
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/utility.functions.php:204
  2. die_freepbx() /var/www/html/admin/libraries/BMO/Database.class.php:134
  3. PDOException->() /var/www/html/admin/libraries/BMO/Database.class.php:131
  4. PDO->__construct() /var/www/html/admin/libraries/BMO/Database.class.php:131
  5. FreePBX\Database->__construct() /var/www/html/admin/libraries/BMO/FreePBX.class.php:72
  6. FreePBX->__construct() /var/www/html/admin/bootstrap.php:145
  7. require_once() /etc/freepbx.conf:9
  8. include_once() /var/lib/asterisk/bin/fwconsole:12

I tried service mysqld start
MySQL Daemon failed to start.
Starting mysqld: [FAILED]

Content of my Mysql.log
190207 23:35:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
190207 23:35:22 InnoDB: Initializing buffer pool, size = 8.0M
190207 23:35:22 InnoDB: Completed initialization of buffer pool
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
190207 23:35:23 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer…
190207 23:35:30 InnoDB: Started; log sequence number 0 8772053
190207 23:35:34 [Note] Event Scheduler: Loaded 0 events
190207 23:35:34 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.1.73’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 Source distribution
190504 7:27:25 [ERROR] /usr/libexec/mysqld: Got error 134 from storage engine
190504 7:27:25 [ERROR] /usr/libexec/mysqld: Sort aborted
200504 20:38:50 [Note] /usr/libexec/mysqld: Normal shutdown

200504 20:38:50 [Note] Event Scheduler: Purging the queue. 0 events
200504 20:38:50 InnoDB: Starting shutdown…
200504 20:39:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
200504 20:39:21 InnoDB: Initializing buffer pool, size = 8.0M
200504 20:39:21 InnoDB: Completed initialization of buffer pool
200504 20:39:22 InnoDB: Started; log sequence number 0 9459016
200504 20:39:22 [ERROR] /usr/libexec/mysqld: Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 2)
200504 20:39:22 [ERROR] Can’t start server: can’t create PID file: No such file or directory
200504 20:39:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
200504 20:43:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
200504 20:43:22 InnoDB: Initializing buffer pool, size = 8.0M
200504 20:43:22 InnoDB: Completed initialization of buffer pool
200504 20:43:22 InnoDB: Started; log sequence number 0 9459016
200504 20:43:22 [ERROR] /usr/libexec/mysqld: Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 2)
200504 20:43:22 [ERROR] Can’t start server: can’t create PID file: No such file or directory
200504 20:43:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
200504 21:26:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
200504 21:26:06 InnoDB: Initializing buffer pool, size = 8.0M
200504 21:26:06 InnoDB: Completed initialization of buffer pool
200504 21:26:06 InnoDB: Started; log sequence number 0 9459016
200504 21:26:06 [ERROR] /usr/libexec/mysqld: Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 2)
200504 21:26:06 [ERROR] Can’t start server: can’t create PID file: No such file or directory
200504 21:26:06 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
200504 21:37:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
200504 21:37:21 InnoDB: Initializing buffer pool, size = 8.0M
200504 21:37:21 InnoDB: Completed initialization of buffer pool
200504 21:37:22 InnoDB: Started; log sequence number 0 9459016
200504 21:37:22 [ERROR] /usr/libexec/mysqld: Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 2)
200504 21:37:22 [ERROR] Can’t start server: can’t create PID file: No such file or directory
200504 21:37:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

I appreciate any help.

Posts: 7

Participants: 2

Read full topic

Is there a better way to get a FreePBX Statistics on the Dashboard?

How to Handle Multiple Deployments

$
0
0

@kfeen wrote:

Quick question. What would be the recommended way of handling multiple FreePBX systems? I have multiple clients that I’m providing a hosted PBX service, should I virtualize all of the deployments or use a separate bare metal machine for every single one?

Posts: 8

Participants: 6

Read full topic

Asterisk could not start

$
0
0

@jkalber wrote:

So I have a user that is stating when they try to place a phone call it says “All circuits are busy”. Upon logging into our phone system I can see that Asterisk is RED and says ERROR.

Under disks it says 95% full

I tired to run amportal restart but it comes back with the following

STOPPING ASTERISK
All calls will be dropped once the timer hits 0. To cancel, press CTL-C

STOPPING FOP SERVER
SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed


Asterisk could not start!
Use ‘tail /var/log/asterisk/full’ to find out why.

I’m thinking it’s just backed up with logs. How would I go about deleting these logs? I’ve tried searching for a command online or even a directory these logs are stored in and I’ve had no luck. I’m new to PBX.

Posts: 4

Participants: 3

Read full topic


IVR break menu, timeout recording is not been triggered

$
0
0

@aerodes wrote:

Hi everyone,
I hope everyone is having an amazing day!

I have a queue configured using a IVR Break Out Menu. After 15 sec waiting in the queue, IVR Break out menu is triggered and announcement is played, but after the timeout = 10 sec set in the IVR Break Out Menu had passed, it should played the Timeout recording, instead it’s playing the hold music and announcement over and over again.

If I called the IVR Break Out Menu directly (not queue involve) everything works as expected. After a timeout =10 sec has passed, Timeout recording is played as a second announcement.

Call flow is as follow:
Main IVR-> Option 1-> Queue 500 (after 30 sec)–> IVR Break out Menu (Play announcement) --> (After 15 sec) play Timeout recording.

The idea is to play two announcement: IVR Break out menu announcement + Timeout recording.

Any ideas is appreciated
Thanks

Posts: 1

Participants: 1

Read full topic

4 messages are queued on this machine and have not been delivered

Error updated Framework 14.0.13.33 - (sha1 did not match)

$
0
0

@mvogel4949 wrote:

I’m starting to get an error updating my framework module:

  • File Integrity failed for /var/www/html/admin/modules/_cache/framework-14.0.13.33.tgz - aborting (sha1 did not match)

Any thoughts?

Posts: 2

Participants: 2

Read full topic

Restoring sanoma_default template

$
0
0

@cunnida56 wrote:

Learning is an important part of life. Now I need to learn how to restore an unaltered version of the sangoma_default template in EPM. I wrote over the existing copy and really REALLY need to start from scratch.

Suggestions welcome and THANKS.

Posts: 1

Participants: 1

Read full topic

Dial Pattern with 7 Digits

$
0
0

@sentinelace wrote:

I have a dial pattern within endpoint manager:

911|1[2-9]xx[2-9]xxxxxx|[2-9]xx[2-9]xxxxxx|1xx (works fine for 10 digit and local)

On my outbound route I prepend 1520 on NXXNXXX

In endpoint, I tried adding 911|1[2-9]xx[2-9]xxxxxx|[2-9]xx[2-9]xxxxxx|[2-9]xxxxxxx|1xx

which didn’t work. What am I missing?

Posts: 3

Participants: 2

Read full topic

Viewing all 12620 articles
Browse latest View live


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