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

Call File Fun

$
0
0

FreePBX/Asterisk 14

I am attempting to delve into appointment reminders and the prebuilt module, which we have purchased is so close to what we need. The only thing it cannot do is play a prompt at the beginning of the call asking the caller to confirm that they are the person we are attempting to reach for the appointment.

My workaround is to make something custom. The current thought is to generate call files with the appointment details as variables, deploy the call files, then write the results to a txt file for reporting.

My question is: Is there a better approach that anyone can think of? Can I generate more than one channel (call to patient) per call file?

Thanks!


Configured local extensions

$
0
0

[root@knack-095 ~]# touch /etc/wanpipe/global.conf
touch: cannot touch ‘/etc/wanpipe/global.conf’: No such file or directory
[root@knack-095 ~]# cd /etc/
[root@knack-095 etc]# mkdir wanpipe
[root@knack-095 etc]# touch /etc/wanpipe/global.conf
[root@knack-095 etc]# fwconsole chown
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Setting base permissions…Done
Setting specific permissions…
1004 [============================]
Finished setting permissions
[root@knack-095 etc]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Whoops\Exception\ErrorException: rename(/etc/asterisk/chan_dahdi.conf,/etc/asterisk/chan_dahdi.conf.old): No such file or directory in file /var/www/html/admin/modules/dahdiconfig/functions.inc.php on line 42
Stack trace:
** 1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/dahdiconfig/functions.inc.php:42**
** 2. Whoops\Run->handleError() :0**
** 3. rename() /var/www/html/admin/modules/dahdiconfig/functions.inc.php:42**
** 4. dahdiconfig_conf->generateConf() /var/www/html/admin/libraries/BMO/FileHooks.class.php:65**
** 5. FreePBX\FileHooks->processOldHooks() /var/www/html/admin/libraries/BMO/FileHooks.class.php:24**
** 6. FreePBX\FileHooks->processFileHooks() /var/lib/asterisk/bin/retrieve_conf:892**

still same issue

Configured local extensions

$
0
0

You are still receiving errors about several other files that do not exist. Either create the missing files, or uninstall DAHDI Config module, because it seems you don’t have any voice cards in your server, and as such, that module is completely useless to you.

Incoming calls to SIP Trunk not working after 10.13.66.22 -> SNG7 upgrade

$
0
0

Thanks - ended up solving my issue:

  • Created new pjsip trunks
  • Deleted old chan_sip trunks
  • Calls in & out now work

Not sure why it wasn’t working straight out of the upgrade, but I wanted to get to a “pure pjsip” setup anyway, so I am happy.

[Edit: and, for the record, also had to add new trunks to my outbound routes - just in case anyone else has the same issue and needs to fix]

Latest Backup Module not working

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Transferring a call to a prerecorded message

$
0
0

In my business we call customers and if the call goes to voicemail we just enter ##*44

*44 is a misc app to an announcement just like Lorne suggested works great, saves us repeating the same message time after time.

Configured local extensions

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Configured local extensions

$
0
0

Thanks for the help

[root@knack-095 asterisk]# fwconsole reload
Reloading FreePBX
Successfully reloaded

it seems perfect reloaded


Configured local extensions

$
0
0

let me tell you what i want

i am configure freePbx Asterisk 13 in centos 7 (i3 4GB ram 1TB HD)

is it good for making a calling system from USA to India

Is it possible.or can we think to do this in our company…

Kvstore repair

$
0
0

Hi.
I’ve tried.

Simple MySQL methods

  1. REPAIR TABLE
  2. mysqlcheck -u root -p --auto-repair --check --optimize --all-databases

Then

[root@localhost ~]# cd /var/lib/mysql/asterisk
[root@localhost asterisk]# myisamchk kvstore
Checking MyISAM file: kvstore
Data records: 34 Deleted blocks: 0
myisamchk: warning: Table is marked as crashed and last repair failed
myisamchk: warning: 15 clients are using or haven’t closed the table properly

  • check file-size
    myisamchk: warning: Size of indexfile is: 4729856 Should be: 10240
  • check record delete-chain
  • check key delete-chain
  • check index reference
  • check data record references index: 1
  • check data record references index: 2
  • check data record references index: 3
  • check record links
    myisamchk: error: got error: 5 when reading datafile at record: 34
    MyISAM-table ‘kvstore’ is corrupted
    Fix it using switch “-r” or “-o”

After that

[root@localhost asterisk]# myisamchk -r kvstore
- recovering (with sort) MyISAM-table 'kvstore'
Data records: 34
- Fixing index 1
myisamchk: error: myisam_sort_buffer_size is too small
MyISAM-table 'kvstore' is not fixed because of errors
Try fixing it by using the --safe-recover (-o), the --force (-f) option or by not using the --quick (-q) flag

[root@localhost asterisk]# service mysqld stop
Stopping mysqld:                                           [  OK  ]

[root@localhost asterisk]# myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M kvstore.MYI
myisamchk: MyISAM file kvstore.MYI
myisamchk: warning: Table is marked as crashed and last repair failed
myisamchk: warning: Size of indexfile is: 4729856       Should be: 4096
myisamchk: error: got error: 5 when reading datafile at record: 34
Can't read whole record at 133008 (errno: 5)
Read error for block at: 136960 (error: 127); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 137664 (error: 5); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139264 (error: 5); Skipped
Found link that points at 8029764350743048307 (outside data file) at 139272
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139428 (error: 5); Skipped
myisamchk: MyISAM file kvstore.MYI
myisamchk: error: 127 when fixing table
MyISAM-table 'kvstore.MYI' is not fixed because of errors
Try fixing it by using the --safe-recover (-o), the --force (-f) option or by not using the --quick (-q) flag

After that

[root@localhost asterisk]# myisamchk --safe-recover kvstore
- recovering (with keycache) MyISAM-table 'kvstore'
Data records: 34
Can't read whole record at 133008 (errno: 5)
Read error for block at: 136960 (error: 127); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 137664 (error: 5); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139264 (error: 5); Skipped
Found link that points at 8029764350743048307 (outside data file) at 139272
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139428 (error: 5); Skipped
myisamchk: error: 127 for record at pos 140772
MyISAM-table 'kvstore' is not fixed because of errors
Try fixing it by using the --safe-recover (-o), the --force (-f) option or by not using the --quick (-q) flag

Retried

[root@localhost asterisk]# myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M *.MYI
myisamchk: MyISAM file kvstore.MYI
myisamchk: warning: Table is marked as crashed and last repair failed
myisamchk: warning: Size of indexfile is: 4729856       Should be: 4096
myisamchk: Unknown error 126
myisamchk: error: Can't read indexpage from filepos: -1
Can't read whole record at 133008 (errno: 5)
Read error for block at: 136960 (error: 127); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 137664 (error: 5); Skipped
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139264 (error: 5); Skipped
Found link that points at 8029764350743048307 (outside data file) at 139272
myisamchk: Error reading file 'kvstore.MYD' (Errcode: 5)
Read error for block at: 139428 (error: 5); Skipped
myisamchk: MyISAM file kvstore.MYI
myisamchk: error: 127 when fixing table
MyISAM-table 'kvstore.MYI' is not fixed because of errors
Try fixing it by using the --safe-recover (-o), the --force (-f) option or by not using the --quick (-q) flag

Voicemails hangs up

$
0
0

Any idea how to troubleshoot this? I have found these files:

/var/lib/asterisk/sounds/en/vm-Old.g722
/var/lib/asterisk/sounds/en/vm-Old.alaw
/var/lib/asterisk/sounds/en/vm-Old.gsm
/var/lib/asterisk/sounds/en/vm-Old.ulaw
/var/lib/asterisk/sounds/nl/vm-Old.g722
/var/lib/asterisk/sounds/nl/vm-Old.ulaw

8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.g722
8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.ulaw

On one of my other servers I find the same files:

/var/lib/asterisk/sounds/en/vm-Old.ulaw
/var/lib/asterisk/sounds/en/vm-Old.alaw
/var/lib/asterisk/sounds/en/vm-Old.g722
/var/lib/asterisk/sounds/en/vm-Old.sln16
/var/lib/asterisk/sounds/it/vm-Old.ulaw
/var/lib/asterisk/sounds/fr/vm-Old.ulaw
/var/lib/asterisk/sounds/en_GB/vm-Old.ulaw
/var/lib/asterisk/sounds/es/vm-Olds.ulaw
/var/lib/asterisk/sounds/es/vm-Old.ulaw
/var/lib/asterisk/sounds/ja/vm-Old.ulaw
/var/lib/asterisk/sounds/nl/vm-Old.g722
/var/lib/asterisk/sounds/nl/vm-Old.ulaw

8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.g722
8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.ulaw

I can’t find any file called vm-Olds. Could I trick the system by copying the files to vm-Olds.g722 and vm-Olds.ulaw?

[edit] tried that, cp vm-Old.ulaw vm-Olds.ulaw and cp vm-Old.g722 vm-Olds.g722, and this does the trick. It would be nice however to find the source of the problem. [/edit]

Kvstore repair

$
0
0

Kindly check the above attempts.

freepbx-13.0.127
Asterisk 13.9.1

when I try something like
#fwconsole firewall trust XX.XX.XX.XX/32

Attempting to add XX.XX.XX.XX/32 to Trusted Zone
  [PDOException]
  SQLSTATE[HY000]: General error: 144 Table './asterisk/kvstore' is marked as crashed and last
   (automatic?) repair failed

Configured local extensions

$
0
0

How can we install system admin modules??

when i was tring to install it gives these errors.

System Admin cannot be installed:
PHP Component Zend Guard Loader is required but missing from you PHP installation.
The File “/usr/sbin/incrond” must exist.
Please try again after the dependencies have been installed.
No actions to perform

User Department attribute

$
0
0

Hi there,

I have a directory of type “Microsoft Active Directory”, works fine except for 2 things :

  • The “User Department Attribute” does not save. When I put “department” or anything else, it does not save the value and comes back blank.

  • The “User Company attribute” saves the attribute (“company”) but the field comes back blank too.

Another field that I configured (title) comes across just fine.

Any Ideas ?

User Management 13.0.76.31
FreePBX 13.0.192.19

Thanks all !

Which CNAM source?

$
0
0

I use provider CNAM for all my trunks (primarily Flowroute and VoIP.ms) other than Google Voice, but my volume is low enough that it doesn’t make an appreciable difference in costs–a fraction of a cent per call for good data.

I do use TrueCNAM for spam scoring and have found it pretty accurate. However, I would not rely on them for actual name information, as their coverage is still very small and reliant on contributions to their DB. Even though they claim to have a large number of providers who do contribute to their DB, several test numbers I ran through them failed to give any information.

I’ve just switched my Google Voice trunk over to pull CNAM data from OpenCNAM instead of the trunk because Google doesn’t do CNAM lookups. Waiting for my first inbound call to see how it works. Tests on opencnam.com passed with flying colors when I threw several test numbers at it, including some that I know have never touched VoIP (and so couldn’t have been contributed by VoIP providers), like an AT&T cell phone, landlines from ILECs and CLECs in several towns, plus of course VoIP provider numbers, etc., and all were looked up successfully and accurately.

I can’t tell from Google whether OpenCNAM actually does real LIDB lookups or not (they don’t advertise doing so, and older discussions on VoIP forums seemed to indicate they didn’t as of 5ish years ago), but if they don’t, then they have somehow managed to assemble an extremely comprehensive database that’s on par with the LIDB.

(FWIW, I have IncrediblePBX.)


System Admin Module Fail to install - Centos7

$
0
0

Hi, I am trying to install system admin module on a fresh installation of Freepbx. I have succesfully installed ZendGuardLoader and opcache modules. php -v and php -m confirm this. When I hit install in Freepbx i get this permision denied error. ----> mkdir(): Permission denied as seen in the screenshot(Debian Installation gives the same error).

All I want to do is to install System Admin to change the port that freepbx listen for its WEB GUI. If there is any other way via console any help would be much appreciated.

System Admin Module Fail to install - Centos7

$
0
0

Commercial modules are only supported on the FreePBX Distro.

System Admin Module Fail to install - Centos7

$
0
0

Thank you for your fast response. Is there any way though to change the port of the GUI like the System Admin, module would do?

Kind Regards

Best way to trigger an audio file to be played over an extension

$
0
0

I can see how I can loop audio with a call file, but not “until user intervention,” just a set number of times or for a set duration for it to play. Also, how do I trigger a call file by calling an extension? It looks like I need to edit the dial plan manually in order to accomplish the looping, as well, which I haven’t done with FreePBX.

Imagine I set up a 10 minute loop, and somebody ‘accidentally’ sets off the alarm. Using call files as I know them, the sound would just play for 10 minutes with a loud alarm and nobody would be able to cancel it.

How activate and deactivate the Voicemail and do external forwarding with feature codes

$
0
0

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Viewing all 226300 articles
Browse latest View live


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