asterisk@frameweb.it
2005-Dec-21 06:15 UTC
[Asterisk-Users] php agi problem (perhaps problem..)
My /var/log/messages log is very full of a lot of line regarding php agi scripts, i.e Dec 21 10:36:00 asteriskge03 php: agi Object Dec 21 10:36:00 asteriskge03 php: ( Dec 21 10:36:00 asteriskge03 php: [request] => Array Dec 21 10:36:00 asteriskge03 php: ( Dec 21 10:36:00 asteriskge03 php: [agi_request] => recordingcheck Dec 21 10:36:00 asteriskge03 php: [agi_channel] => SIP/569-718a Dec 21 10:36:00 asteriskge03 php: [agi_language] => it Dec 21 10:36:00 asteriskge03 php: [agi_type] => SIP Dec 21 10:36:00 asteriskge03 php: [agi_uniqueid] => 1135157760.6 Dec 21 10:36:00 asteriskge03 php: [agi_callerid] => 569 Dec 21 10:36:00 asteriskge03 php: [agi_calleridname] => device Dec 21 10:36:00 asteriskge03 php: [agi_callingpres] => 0 Dec 21 10:36:00 asteriskge03 php: [agi_callingani2] => 0 Dec 21 10:36:00 asteriskge03 php: [agi_callington] => 0 Dec 21 10:36:00 asteriskge03 php: [agi_callingtns] => 0 Dec 21 10:36:00 asteriskge03 php: [agi_dnid] => 001xxxxxxxxxxxxxxxxxxxxxx Dec 21 10:36:00 asteriskge03 php: [agi_rdnis] => unknown Dec 21 10:36:00 asteriskge03 php: [agi_context] => macro-record-enable Dec 21 10:36:00 asteriskge03 php: [agi_extension] => s Dec 21 10:36:00 asteriskge03 php: [agi_priority] => 4 Dec 21 10:36:00 asteriskge03 php: [agi_enhanced] => 0.0 Dec 21 10:36:00 asteriskge03 php: [agi_accountcode] => Dec 21 10:36:00 asteriskge03 php: ) Dec 21 10:36:00 asteriskge03 php: Dec 21 10:36:00 asteriskge03 php: [config] => Array Dec 21 10:36:00 asteriskge03 php: ( Dec 21 10:36:00 asteriskge03 php: [festival] => Array Dec 21 10:36:00 asteriskge03 php: ( Dec 21 10:36:00 asteriskge03 php: [text2wave] => /usr/src/festival/bin/text2wave Dec 21 10:36:00 asteriskge03 php: [tempdir] => /var/lib/asterisk/sounds/tmp/ Dec 21 10:36:00 asteriskge03 php: ) Dec 21 10:36:00 asteriskge03 php: Dec 21 10:36:00 asteriskge03 php: [phpagi] => Array Dec 21 10:36:00 asteriskge03 php: ( Dec 21 10:36:00 asteriskge03 php: [error_handler] => 1 Dec 21 10:36:00 asteriskge03 php: [debug] => Dec 21 10:36:00 asteriskge03 php: [admin] => Dec 21 10:36:00 asteriskge03 php: [tempdir] => /var/spool/asterisk//tmp/ Dec 21 10:36:00 asteriskge03 php: ) Dec 21 10:36:00 asteriskge03 php: Dec 21 10:36:00 asteriskge03 php: ) Dec 21 10:36:00 asteriskge03 php: Dec 21 10:36:00 asteriskge03 php: [asmanager] => Dec 21 10:36:00 asteriskge03 php: [in] => Resource id #1 Dec 21 10:36:00 asteriskge03 php: [out] => Resource id #2 Dec 21 10:36:00 asteriskge03 php: [socket] => Dec 21 10:36:00 asteriskge03 php: [audio] => Dec 21 10:36:00 asteriskge03 php: ) Dec 21 10:36:00 asteriskge03 php: Dec 21 10:36:00 asteriskge03 php: Outbound recording not enabled Dec 21 10:36:01 asteriskge03 php: agi Object Dec 21 10:36:01 asteriskge03 php: ( Dec 21 10:36:01 asteriskge03 php: [request] => Array Dec 21 10:36:01 asteriskge03 php: ( Dec 21 10:36:01 asteriskge03 php: [agi_request] => fixlocalprefix Dec 21 10:36:01 asteriskge03 php: [agi_channel] => SIP/569-718a Dec 21 10:36:01 asteriskge03 php: [agi_language] => it Dec 21 10:36:01 asteriskge03 php: [agi_type] => SIP Dec 21 10:36:01 asteriskge03 php: [agi_uniqueid] => 1135157760.6 Dec 21 10:36:01 asteriskge03 php: [agi_callerid] => 569 Dec 21 10:36:01 asteriskge03 php: [agi_calleridname] => device Dec 21 10:36:01 asteriskge03 php: [agi_callingpres] => 0 Dec 21 10:36:01 asteriskge03 php: [agi_callingani2] => 0 Dec 21 10:36:01 asteriskge03 php: [agi_callington] => 0 Dec 21 10:36:01 asteriskge03 php: [agi_callingtns] => 0 Dec 21 10:36:01 asteriskge03 php: [agi_dnid] => 001xxxxxxxxxxxxxxxxxxxxxxxxxx Dec 21 10:36:01 asteriskge03 php: [agi_rdnis] => unknown Dec 21 10:36:01 asteriskge03 php: [agi_context] => macro-dialout-trunk Dec 21 10:36:01 asteriskge03 php: [agi_extension] => s Dec 21 10:36:01 asteriskge03 php: [agi_priority] => 10 Dec 21 10:36:01 asteriskge03 php: [agi_enhanced] => 0.0 Dec 21 10:36:01 asteriskge03 php: [agi_accountcode] => Dec 21 10:36:01 asteriskge03 php: ) Dec 21 10:36:01 asteriskge03 php: Dec 21 10:36:01 asteriskge03 php: [config] => Array Dec 21 10:36:01 asteriskge03 php: ( Dec 21 10:36:01 asteriskge03 php: [festival] => Array Dec 21 10:36:01 asteriskge03 php: ( Dec 21 10:36:01 asteriskge03 php: [text2wave] => /usr/src/festival/bin/text2wave Dec 21 10:36:01 asteriskge03 php: [tempdir] => /var/lib/asterisk/sounds/tmp/ Dec 21 10:36:01 asteriskge03 php: ) Dec 21 10:36:01 asteriskge03 php: Dec 21 10:36:01 asteriskge03 php: [phpagi] => Array Dec 21 10:36:01 asteriskge03 php: ( Dec 21 10:36:01 asteriskge03 php: [error_handler] => 1 Dec 21 10:36:01 asteriskge03 php: [debug] => Dec 21 10:36:01 asteriskge03 php: [admin] => Dec 21 10:36:01 asteriskge03 php: [tempdir] => /var/spool/asterisk//tmp/ Dec 21 10:36:01 asteriskge03 php: ) Dec 21 10:36:01 asteriskge03 php: Dec 21 10:36:01 asteriskge03 php: ) Dec 21 10:36:01 asteriskge03 php: Dec 21 10:36:01 asteriskge03 php: [asmanager] => Dec 21 10:36:01 asteriskge03 php: [in] => Resource id #1 Dec 21 10:36:01 asteriskge03 php: [out] => Resource id #2 Dec 21 10:36:01 asteriskge03 php: [socket] => Dec 21 10:36:01 asteriskge03 php: [audio] => Dec 21 10:36:01 asteriskge03 php: ) Dec 21 10:36:01 asteriskge03 php: Dec 21 10:36:01 asteriskge03 php: Could not parse /etc/asterisk/localprefixes.conf I would like to know if it is "normal", and if it is normal if exists a way not to log this lines. I have this "problem" on two box, 1 asterisk CVS 1.0 on Suse Linux 9.3, php4, Zap Primary Digium E1, and the other CVS 1.2 on Suse Linux 10.0, php4, Zap TDM400 Analog thanks in advance, Andrea Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. Visitate il sito http://www.frameweb.it
trixter aka Bret McDanel
2005-Dec-21 06:44 UTC
[Asterisk-Users] php agi problem (perhaps problem..)
On Wed, 2005-12-21 at 14:15 +0100, asterisk@frameweb.it wrote:> My /var/log/messages log is very full of a lot of line regarding php agi > scripts, i.e > > Dec 21 10:36:00 asteriskge03 php: agi Object > Dec 21 10:36:00 asteriskge03 php: ( > Dec 21 10:36:00 asteriskge03 php: [request] => Array > Dec 21 10:36:00 asteriskge03 php: (these are caused when phpagi.conf has debug=true (technically anything that is not false).> Dec 21 10:36:01 asteriskge03 php: Could not parse > /etc/asterisk/localprefixes.conf >that is a problem with your agi and does not appear to be related to phpagi. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051221/e744e06f/attachment.pgp
asterisk@frameweb.it
2005-Dec-22 02:47 UTC
[Asterisk-Users] php agi problem (perhaps problem..)
Thank you for your answer. I tried your suggestion, but probably in the wrong way, and I had no success. I tried: asteriskge03:/etc/asterisk # cat phpagi.conf ******************************** debug=false [festival] text2wave=/usr/src/festival/bin/text2wave tempdir=/var/lib/asterisk/sounds/tmp/ ******************************** and also ******************************** asteriskge03:/etc/asterisk # cat phpagi.conf [general] debug=false [festival] text2wave=/usr/src/festival/bin/text2wave tempdir=/var/lib/asterisk/sounds/tmp/ ******************************** What am I doing wrong ? It was impossible (for me...) to find any sample about phpagi.conf, both in wiki and in google. I only found: http://phpagi.sourceforge.net/phpagi2/docs/ric_README.html wich speak about a phpagi.conf sample file, but no chance to find a link thanks in advance, Andrea trixter aka Bret McDanel <trixter@0xdecafb To ad.com> Asterisk Users Mailing List - Sent by: Non-Commercial Discussion asterisk-users-bo <asterisk-users@lists.digium.com> unces@lists.digiu cc m.com Subject Re: [Asterisk-Users] php agi 21/12/2005 14.44 problem (perhaps problem..) Please respond to Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@l ists.digium.com> On Wed, 2005-12-21 at 14:15 +0100, asterisk@frameweb.it wrote:> My /var/log/messages log is very full of a lot of line regarding php agi > scripts, i.e > > Dec 21 10:36:00 asteriskge03 php: agi Object > Dec 21 10:36:00 asteriskge03 php: ( > Dec 21 10:36:00 asteriskge03 php: [request] => Array > Dec 21 10:36:00 asteriskge03 php: (these are caused when phpagi.conf has debug=true (technically anything that is not false).> Dec 21 10:36:01 asteriskge03 php: Could not parse > /etc/asterisk/localprefixes.conf >that is a problem with your agi and does not appear to be related to phpagi. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group (See attached file: signature.asc) _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/octet-stream Size: 196 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051222/d7aa5477/signature.obj