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

Endpoint manager

$
0
0

Hi dear friends .
I did it.If somebody have the same problem ask may be my experience will be use full for him.


Clean RC1 install - DPMA Packages Not Available via Yum?

$
0
0

Thanks Lorne!

Glad I wasn't just missing something super obvious. Upvoted the ticket!

Pjsip diversion

$
0
0

Hello

I was testing a FreePbx 13 with pjSip and I have some strange behavior.
On call forwarding, there is no diversion header, I have enabled diversion in advanced settings and i can see in dial plan that context [sub-diversion-header] is executed (PJSIP_HEADER(add,Diversion)=;privacy=off;screen=no;reason=unconditional)), but in sip trace is missing.

INVITE sip:4888888@192.168.148.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.148.9:5060;rport;branch=z9hG4bKPj502tghnXQSuXRPhSv3RLN0yeHhv4vOmo
From: sip:4999999@192.168.148.9;tag=BEUrTEUcYKh3whPGHhEx5IYIOuYjdJ.1
To: sip:4888888@192.168.148.10
Contact: sip:asterisk@192.168.148.9:5060
Call-ID: Utl9Q1tX0PtiMkMQkC8Mk-1F.JQDe7gp
CSeq: 29621 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: sip:4999999@192.168.148.9
Remote-Party-ID: sip:4999999@192.168.148.9;privacy=off;screen=no
Max-Forwards: 70
User-Agent: Asterisk PBX 13.12.1
Content-Type: application/sdp
Content-Length: 263

v=0
o=- 1008816852 1008816852 IN IP4 192.168.148.9
s=Asterisk
c=IN IP4 192.168.148.9
t=0 0
m=audio 15088 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

Until now I was using chan_sip and it was working with no problems

BR
Mitja

Master.csv is not generated

$
0
0

Dear all,
I was about to enable simple call logging with using cdr_csv.so Asterisk module and did the following:

  1. Created /etc/asterisk/cdr.conf since it was missing and added the following:

    [csv]
    usegmtime=yes
    loguniqueid=yes
    loguserfield=yes
  2. Created /etc/asterisk/cdr_manager.conf (it was missing too) with the following text:

    [general]
    enabled = yes
  3. enabled CDR modules in module.conf:

    load = cdr_manager.so
    load = cdr_odbc.so
    load = cdr_adaptive_odbc.so
    load = cdr_csv.so
  4. restarted my server

However, no Master.csv file is generated to /var/log/asterisk/cdr-csv when I place a call.....

cat /var/log/asterisk/full | grep cdr
[2017-05-09 07:21:34] WARNING[1954] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 08:53:48] WARNING[1954] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 08:54:56] WARNING[1954] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 08:55:53] WARNING[1954] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2017-05-09 08:56:16] WARNING[1954] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 09:11:57] NOTICE[1047] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 09:11:57] WARNING[1047] cdr_adaptive_odbc.c: No such connection 'asteriskcdrdb' in the 'asteriskcdrdb' section of cdr_adaptive_odbc.conf. Check res_odbc.conf.
[2017-05-09 09:12:17] NOTICE[1047] cdr.c: CDR simple logging enabled.
[2017-05-09 09:13:28] WARNING[1047] cdr_manager.c: Failed to load configuration file. Module not activated.
[2017-05-09 09:13:28] WARNING[1047] cdr_pgsql.c: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf
[2017-05-09 09:13:28] WARNING[1047] cdr_sqlite3_custom.c: Failed to load configuration file. Module not activated.
[2017-05-09 09:13:28] WARNING[1047] cdr_odbc.c: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf
[2017-05-09 09:13:28] ERROR[1047] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 09:13:29] WARNING[1047] cel_odbc.c: No such connection 'asteriskcdrdb' in the 'cel' section of cel_odbc.conf. Check res_odbc.conf.
[2017-05-09 09:13:29] NOTICE[1047] cdr_tds.c: Unable to load TDS config for CDRs: cdr_tds.conf
[2017-05-09 09:51:46] NOTICE[6453] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 09:55:41] ERROR[6913] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 09:55:42] NOTICE[6913] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 09:55:47] NOTICE[6913] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 09:57:16] WARNING[6913] loader.c: Unload failed, 'cdr_csv.so' is not loaded.
[2017-05-09 10:03:50] NOTICE[1045] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 10:03:50] WARNING[1045] cdr_adaptive_odbc.c: No such connection 'asteriskcdrdb' in the 'asteriskcdrdb' section of cdr_adaptive_odbc.conf. Check res_odbc.conf.
[2017-05-09 10:04:08] ERROR[1045] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 10:04:08] NOTICE[1045] cdr.c: Failed to process CDR configuration; using defaults
[2017-05-09 10:04:08] NOTICE[1045] cdr.c: CDR simple logging enabled.
[2017-05-09 10:05:11] WARNING[1045] cdr_manager.c: Failed to load configuration file. Module not activated.
[2017-05-09 10:05:11] WARNING[1045] cdr_pgsql.c: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf
[2017-05-09 10:05:11] WARNING[1045] cdr_sqlite3_custom.c: Failed to load configuration file. Module not activated.
[2017-05-09 10:05:11] WARNING[1045] cdr_odbc.c: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf
[2017-05-09 10:05:11] ERROR[1045] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 10:05:11] WARNING[1045] cel_odbc.c: No such connection 'asteriskcdrdb' in the 'cel' section of cel_odbc.conf. Check res_odbc.conf.
[2017-05-09 10:05:11] NOTICE[1045] cdr_tds.c: Unable to load TDS config for CDRs: cdr_tds.conf
[2017-05-09 12:12:18] NOTICE[1035] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 12:12:18] WARNING[1035] cdr_adaptive_odbc.c: No such connection 'asteriskcdrdb' in the 'asteriskcdrdb' section of cdr_adaptive_odbc.conf. Check res_odbc.conf.
[2017-05-09 12:12:31] ERROR[1035] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 12:12:31] NOTICE[1035] cdr.c: Failed to process CDR configuration; using defaults
[2017-05-09 12:12:31] NOTICE[1035] cdr.c: CDR simple logging enabled.
[2017-05-09 12:13:30] WARNING[1035] cdr_manager.c: Failed to load configuration file. Module not activated.
[2017-05-09 12:13:30] WARNING[1035] cdr_pgsql.c: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf
[2017-05-09 12:13:30] WARNING[1035] cdr_sqlite3_custom.c: Failed to load configuration file. Module not activated.
[2017-05-09 12:13:30] WARNING[1035] cdr_odbc.c: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf
[2017-05-09 12:13:30] ERROR[1035] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 12:13:30] WARNING[1035] cel_odbc.c: No such connection 'asteriskcdrdb' in the 'cel' section of cel_odbc.conf. Check res_odbc.conf.
[2017-05-09 12:13:30] NOTICE[1035] cdr_tds.c: Unable to load TDS config for CDRs: cdr_tds.conf
[2017-05-09 12:25:31] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 12:56:05] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 12:57:12] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 13:14:43] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 13:19:29] ERROR[7260] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 13:19:31] NOTICE[7260] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 13:19:32] WARNING[7260] cdr_csv.c: No [csv] section in cdr.conf. Unregistering backend.
[2017-05-09 13:19:51] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 13:24:43] NOTICE[7628] cdr.c: CDR simple logging enabled.
[2017-05-09 13:24:44] NOTICE[7628] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 13:33:56] NOTICE[8477] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 13:37:16] NOTICE[8477] cdr.c: CDR simple logging enabled.
[2017-05-09 13:37:17] NOTICE[8477] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 13:37:41] NOTICE[8477] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 13:38:11] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 13:39:27] WARNING[8477] loader.c: Module 'cdr_csv.so' already exists.
[2017-05-09 13:45:00] WARNING[1956] func_cdr.c: CDR requires a value (CDR(variable)=value)
[2017-05-09 14:11:47] ERROR[12913] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 14:12:02] NOTICE[12913] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]
[2017-05-09 14:17:08] NOTICE[13193] cdr.c: CDR simple logging enabled.
[2017-05-09 14:17:09] NOTICE[13193] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]

root@raspbx:~# cat /var/log/asterisk/full | grep -i error | grep -i cdr

[2017-05-09 09:13:28] ERROR[1047] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 09:55:41] ERROR[6913] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 10:04:08] ERROR[1045] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 10:05:11] ERROR[1045] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 12:12:31] ERROR[1035] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 12:13:30] ERROR[1035] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2017-05-09 13:19:29] ERROR[7260] config_options.c: In cdr.conf: Processing options for general failed
[2017-05-09 14:11:47] ERROR[12913] config_options.c: In cdr.conf: Processing options for general failed

Please advise.

Can't Install FreePBX on CentOS 7

$
0
0

I am installing FreePBX 13 on CentOS 7. I get down to the very last two steps:

./start_asterisk start
./install -n
and after trying to run the second command the second one would fail and give me this output.
Checking if SELinux is enabled...It's not (good)!
Checking if Asterisk is running and we can talk to it as the 'Asterisk' uer...Done
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install...Yes (No /etc/freepbx.conf file detected)
Database Root installation checking credentials and permissions..Error!
Invalid Database Permissions. The error was: SQLSTATE[20000] [1045] Access deniedfor user 'root'@'localhost'(using password: NO)

I went back and made sure that the password was something that I knew and it still won't work.

ANY HELP IS MUCH APPRECIATED!!!

Bulk Handler Template missing

$
0
0

What do you mean by 'Template', there is a bulk handler module, and it appears to be working fine for me.

Can't Install FreePBX on CentOS 7

$
0
0

You have a password set on the root user and you didn't define the password.

Can't Install FreePBX on CentOS 7

$
0
0

where and how do I define the password? is it in the command itself or in a file?


Can't Install FreePBX on CentOS 7

$
0
0

I set the password when I put this command in: mysql_secure_installation.

Setting a spedicif outbound route for a device

$
0
0

Hi,

I have a FreePBX server used for multiple Line. In my setup, I’m using Users and Devices (since one user can have multiple devices.

I need to make sure that Device X, Y, Z used the Outbound route Y and the devices A, B, C use the outbound route Z.
Both Outbound routes have the same pattern.

Also, each Outbound route used a different Trunk with a separate e911 account (Since the devices are in separate geolocation area).

I’m open to every suggestion! Thank you!

Two systems tied together - 401 Unauthorized

$
0
0

I had placed all private scopes in the integrated firewall to be trusted (on both machines). I updated my post above to identify the problem and the two changes that were required to fix the problem.

Can't Install FreePBX on CentOS 7

$
0
0

./install --help

Can't Install FreePBX on CentOS 7

$
0
0

I am thinking that the -r argument is how I might input the password, but it doesn't work when I do it that way.

Include SIP Trunk headers into CDR

$
0
0

I too, need a solution for this if anyone can help out.

thanks

VOIP intercom won't register

$
0
0

A bit of an odd problem here.

I got a VTO2000A intercom from Dahua with SIP firmware installed.

I've got numerous other phones that work without a glitch, but with this one I can't even get it to register. It won't even show up in the logs besides the fail2ban log.

[2017-05-09 23:34:15] SECURITY[2198] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="1494365655-798519",Severity="Informational",Service="SIP",EventVersion="1",AccountID="8001",SessionID="0x7f33480cef28",LocalAddress="IPV4/UDP/192.168.0.154/5060",RemoteAddress="IPV4/UDP/192.168.0.166/5060",Challenge="0db26360"

The 192.168.0.154 is the server the 192.168.0.166 is the intercom.

I've done everything to test it, it just won't work. It won't even show up in the asterisk logs.

I once told the intercom to try to connect to my local PC, and then I used wireshark to see if it even did anything. It indeed did send a request register.

I am now tired and frustrated that this doesn't work, while reading about people getting it to work on other forums, link below.

http://www.cctvforum.com/viewtopic.php?f=6&t=52356&hilit=VTO2000

Anyone have an idea what could be the issue?


Can't Install FreePBX on CentOS 7

$
0
0

you also can reset root password as empty by mysql command.

Time Condition Only Toggle Matches

$
0
0

Got another brain fart problem. I have an auto night mode set up for 17:00-08:00, but if the operator
is late or sick I was thinking of just setting it up to just toggle night mode on at 17:00 and not off at 8:00. they could just do a override, can this be done by setting the group start and end time the same or sill it just do a fast toggle?

Robert
Running FreePBX 13

Installation & Configuration of the unknown

$
0
0

Hello everyone. Here in my organization we use SNOM 320/710 Series VOIP phones. Our phone system is Asterisk - Elastix with the add-on assistance of FREE PBX. The phone system itself is logged in thru an 'SSH' session with the username 'root'......and is (CLI)/rhino (web) interface based. Finally....the OS version or platform our phone system runs on is CentOS/Asterisk Elastix 2.x. Can anyone give some insight on how to manage a phone system with these same or similar resources? Thank you!

Setting up new Asterisk / FreePBX system help

$
0
0

Your router is dropping your connection after 15 minutes. There is a setting that you can turn on that will make the router aware of your traffic - I just can't remember which one it is.

This is a well-known configuration problem that we've solved quite a few times. Try looking for '15 minute' in the search bar and see if you can find it.

Endpoint manager

$
0
0

If you are willing to run the phone in SCCP mode,. you can install Chan-SCCP-B and use the phone in it's native configuration. It's not as simple as a drag-and-drop interface (you have to edit config files), but I've spent quite a bit of time explaining how to get it working with FreePBX in the Chan-SCCP-B Wiki.

Viewing all 228614 articles
Browse latest View live


Latest Images