Re: [asterisk-users] CURL to post application/json

2018-10-04 Thread Nasir Iqbal
My mistake, CURLOPT(header) is only to retrieve headers, not to sent. sorry. Nasir Iqbal ICTBroadcast - an Auto Dialer software for ITSP SMS, Fax and Voice broadcasting & Inbound /

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread Nasir Iqbal
Hi Jonas Kellens, Like everybody else, I also recommend to upgrade your Asterisk version, and replace mysql driver with odbc. the one big advantage of odbc driver is its pooling feature, you can configure odbc to create a reusable pool of active connections, so Asterisk does't needs to reconnect

Re: [asterisk-users] CURL to post application/json

2018-10-04 Thread Nasir Iqbal
Hi David, Have you tried CURLOPT function. i.e Set(CURLOPT(header)=Content-Type: application/json) Regards Nasir Iqbal ICTBroadcast - an Auto Dialer software for ITSP SMS, Fax and

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread John Novack
As others have said, clearly it ISN'T "just working" or you would not have posted the question To state again, I am using Version 13, though a few minor revisions behind, with MySql, on CentOS 6 and have no rebooting or other MySql related issues Clearly you need to state in more detail what

[asterisk-users] CURL to post application/json

2018-10-04 Thread David P
We tried to use the CURL fn to POST json, but it's sent as form data and there seems no support for changing the Content-Type header. We switched to invoking curl in the shell. All the documentation I could find says there is just one parameter for the url and an optional second for POST body. Is

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread Jonathan H
On Thu, 4 Oct 2018 at 20:36, Jonas Kellens wrote: > I stick to 1.8 because it just works. Well, clearly it doesn't because you're posting here! In a few days time, the *8-year-old* Asterisk 1.8 line will be *three years past EOL.* That means End of Life. Do not use. No more support. Now, if

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread Jonas Kellens
Hello thank you for your answer. If I read your (and others) reaction correctly I can conclude that this is an Asterisk problem and not a problem of MySQL or dialplan logic ? You should know that the MySQL database is heavily questioned : mysql> show status like '%onn%';

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread John Novack
Woefully out of date. You really need to put your efforts into at least a modest upgrade I use version 13 with MySql queries built into the dialplan on CentOs 6 and have NO such issues, either performance or any restart or reboot. It simply works I never used either 1.6 or 1.8, going from 1.4

Re: [asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread Antony Stone
On Thursday 04 October 2018 at 17:10:01, Jonas Kellens wrote: > Hello > > using Asterisk 1.8.32. Ooh, vintage :) > I notice that there is a spontaneous reboot of the Asterisk system from > time to time. > > When I look in the logs (verbose file) I noticed that every time this > occurs it's at

[asterisk-users] Spontaneous reboot due to MySQL lookups ?

2018-10-04 Thread Jonas Kellens
Hello using Asterisk 1.8.32. I notice that there is a spontaneous reboot of the Asterisk system from time to time. When I look in the logs (verbose file) I noticed that every time this occurs it's at a moment that there is a MySQL action, be it a lookup or an insert/update/delete. I must