[Quexs-discuss] Issue on migrating to asterisk 11
Web based system for Computer Assisted Telephone Interviewing (CATI)
Brought to you by:
azammitdcarf
|
From: Quimey <qu...@ar...> - 2014-08-22 20:37:54
|
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.
|