Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fbilling not logging #25

Open
wasbak opened this issue Oct 16, 2015 · 1 comment
Open

fbilling not logging #25

wasbak opened this issue Oct 16, 2015 · 1 comment

Comments

@wasbak
Copy link

wasbak commented Oct 16, 2015

System info:

Centos 5
freepbx 2.11.0.25
Asterisk 11.10

Installed fbiller as per instructions. Veriffy script shows all components as ok but also gives notice:

Checking FBilling configuration file...
[OK] Possible missing configuration in /etc/asterisk/fbilling.conf

fbilling configuration looks correct the log file exists and permissions on log files are correct yet no logging occurs either in console or log file. (password and host ip changed for security reasons):

[general]
; specify where fbilling will log its activities
; 0 - no logging, 1 - log to only console,
; 2 - log to only log file, 4 - log both to console and log file
log_level = 2
; you can specify any location, just make sure file and parent directories are accessible and writebale
; by user asterisk and group asterisk
log_location = /var/log/asterisk/fbilling.log

[database]
; database settings that AGI script will use for connecting to mysql database
username = fbiller
password = xxxxxxxx
database = fbiller
host = 12.34.56.78
port = 3306

fbilling doesn't pass calls on to the trunk but we currently have no way of seeing what the problem is.

@alkali147
Copy link
Owner

Can you post Asterisk Console output around call initiation? once fbilling AGI script is executed it should log to asterisk console similar output:

Launched AGI Script /var/lib/asterisk/agi-bin/fbilling.agi
fbilling.agi,: ==================================================================
fbilling.agi,: ==================================================================
fbilling.agi,: FBILLING version 0.9.1, executing with debug level 2
fbilling.agi,: Only logging to /var/log/asterisk/fbilling.log
    -- AGI Script Executing Application: (Dial) Options: (SIP/XXXXXXXX)

If not the same output, at least it should say that script failed to execute...
Also I noticed, in fbilling.conf file, for comments you use ";" rather then "#" - which is weird and if so, might cause the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants