Re: [Quexs-discuss] Issue on migrating to asterisk 11
Web based system for Computer Assisted Telephone Interviewing (CATI)
Brought to you by:
azammitdcarf
|
From: Adam Z. <ada...@ac...> - 2014-08-28 05:49:37
|
Dear Quimey and Nicolás, Thank you for reporting these issues. I've logged a bug here regarding the eregi/spliti deprecation notices: https://bugs.launchpad.net/quexs/+bug/1362415 - for now maybe if you adjust your logging to exclude deprecation notices your log file will not grow so large. I've logged another bug here regarding the issue you found with Asterisk 11 (I haven't used this version yet). I'll investigate whether it is safe to apply this for all installations or have it as an option. The bug report is here: https://bugs.launchpad.net/quexs/+bug/1362418 Regards, Adam Zammit On 23 August 2014 06:17, Quimey <qu...@ar...> wrote: > Dear Adam: > > After upgrading our VoIP server into FreePBX with asterisk 11 we > faced an issue relating queXS behavior: queXS could connect and > monitor as normal, but was totally unable to make any call, and it > also lacked any kind of log or response about what was happening at > the time. Many hours of work later, we found the problem and > implemented a provisional solution in our limited understanding of the > issue at hand: > We edited the line 190 in functions/functions.voip.php from: > > $r = $this->query("Action: Originate\r\nChannel: $ext\r\nExten: > $number\r\nPriority: 1\r\nCallerid: $ext\r\n\r\n","Response"); > > to: > > $r = $this->query("Action: Originate\r\nChannel: $ext\r\nExten: > $number\r\nContext: XXXXX\r\nPriority: 1\r\nCallerid: > $ext\r\n\r\n","Response"); > > I don't really think it to be a useful or general solution at any > rate, but right now everything is working, which is far better than before. > So we are now discussing a what is the issue here and what to do, so > far it appears to as us as if "Context: xxxxx" is required by the AMI > in every "Originate" command issued in asterisk 11 or above, as we > found in the documentation. Which doesn't make much sense... Maybe is > an issue related to configuration in our new server (that's almost > the same as the previous one, which works just fine with queXS). > So far is where we are at, so we thought to let you know about this > issue and ask if you happened to stumble upon it before and what do > you think about it. > > > On an unrelated issue we found that our log was growing huge (many > GB on apache's error.log), which was caused by php 5.3 filling it > with the following notes: > > PHP Deprecated: Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 585 > PHP Deprecated: Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 594 > [Thu Aug 21 15:30:33 2014] [error] [client 192.168.9.209] PHP Deprecated: > Function spliti() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 101, referer: > http://192.168.9.204/cati/call.php?end=end > [Thu Aug 21 15:30:33 2014] [error] [client 192.168.9.209] PHP Deprecated: > Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 105, referer: > http://192.168.9.204/cati/call.php?end=end > [Thu Aug 21 15:30:33 2014] [error] [client 192.168.9.209] PHP Deprecated: > Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 112, referer: > http://192.168.9.204/cati/call.php?end=end > [Thu Aug 21 15:30:33 2014] [error] [client 192.168.9.209] PHP Deprecated: > Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 105, referer: > http://192.168.9.204/cati/call.php?end=end > [Thu Aug 21 15:30:33 2014] [error] [client 192.168.9.209] PHP Deprecated: > Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 112, referer: > http://192.168.9.204/cati/call.php?end=end > PHP Deprecated: Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 548 > PHP Deprecated: Function eregi() is deprecated in > /opt/xampp/htdocs/cati/functions/functions.voip.php on line 560 > > We just thought to let you know about it. > Here is php.net proposed solution on this issue: > > http://php.net/manual/en/migration53.deprecated.php > > Thanks in advance, and thanks for keeping with the good work on this > project. > > Best regards, > Quimey and Nicolás. > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Quexs-discuss mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quexs-discuss > -- Adam Zammit Research and Development Officer Australian Consortium for Social and Political Research Inc. +61 3 9013 9653 http://www.acspri.org.au/ |