search for: require_onc

Displaying 20 results from an estimated 26 matches for "require_onc".

Did you mean: require_once
2005 Jan 24
1
.call file creation
I am curious partly because it has occurred randomly in my asterisk system. How does one go about creating a .call file for placing a call between two extensions/phones? I know this has been mentioned and is probably in one of the wikis somewhere, but I am unsure exactally how to go about doing it. Can anyone point me in the right direction. Dan
2015 Mar 05
2
SELinux kills Cassandra based website
Hey all, There's a website I help run that uses the Cassandra DB as its database. I notice that if I run the web server in SELinux permissive mode, the site works fine. But if I put it into enforcing mode, the site goes down with this error: Warning: require_once(/McFrazier/PhpBinaryCql/CqlClient.php): failed to open stream: Permission denied in /var/www/jf-ref/includes/classes/class.CQL.php on line 2 Fatal error: require_once(): Failed opening required '/McFrazier/PhpBinaryCql/CqlClient.php' (include_path='.:/php/includes') in /var/www/jf-...
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I have everything set up and working nicely (I can make a .rhtml page, put ruby code between <% %> and it works etc), but when I try to use "Eruby.import" as a sort of analog to PHP''s "require_once()", I run into trouble. 1) eruby is in my cgi-bin 2) here''s a sample of what I''m trying to do in PHP: require_once(''somedirectory/somefile.php''); 3) here''s a sample of what I''m trying to do in Ruby (as far as I can tell): require "...
2009 Mar 02
0
Xapian, PHP bindings and
Hello, With PHP, I try to get spelling corrections but after 2 days of trying I can make it work !!! Here is my < simple > code : <?php require_once( '../global.info.php' ); require_once( 'xapian.class.php' ); require_once( 'xapianencode.func.php' ); // Open the database for searching. try { $database = new XapianDatabase( $_PATH.'/_inc/cache/xapian/pa' ); // Start an...
2009 Aug 17
1
Xapian DatabaseError
...ge in local I use EasyPhp, I've loaded the php_xapian.dll extension and the problem remains. Why? all the file and dir: search.php, search_function.inc, xapian_db are in the same dir 1) This is the code of search page if(isset($_GET['query'])){ $query = $_GET['query']; require_once 'search_function.inc'; simpleSearch($query,"xapian_db"); --> xapian_db is the path where is stored xapian db } 2) This is the code of search function.inc <?php require_once 'xapian.php'; function simpleSearch($query,$path){ try { $database = new XapianData...
2007 Jun 15
2
combining AGI with dialplans
..., > and exit to the dialplan to do any dialling. (http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537) I would like to do this, but I am having trouble figuring out how. I have tried the following but it is not working for me: ***test.php*** #!/usr/bin/php -q <?php require_once('phpagi.php'); $agi = new AGI(); $dialstr="IAX2/wayne/112 at testcntxt"; $agi->SetVar("JAMES",$dialstr); exit(0); ?> ***extensions.conf*** [from-sip] exten => 111,1,DeadAGI(test.php) exten => 111,2,Dial(${JAMES}) exten => 111,3,Hangup...
2005 Mar 03
0
RE: Getting phpconfig to work?
...esn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> * Rob Birkinshaw <robert.birkinshaw@utah.edu> */ require_once("phpconfig_init.php"); require_once("cls_phpconfig.php"); require_once("cls_phpconfig_html.php"); // create and initalize objects // $page = new Open_Conf_HTML(); $conf = new Open_Conf(); // setup 3pane html theme $page->OC_HTML_set3Pa...
2005 Mar 03
1
RE: Getting phpconfig to work?
...esn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> * Rob Birkinshaw <robert.birkinshaw@utah.edu> */ require_once("phpconfig_init.php"); require_once("cls_phpconfig.php"); require_once("cls_phpconfig_html.php"); // create and initalize objects // $page = new Open_Conf_HTML(); $conf = new Open_Conf(); // setup 3pane html theme $page->OC_HTML_set3Pa...
2015 Mar 05
1
SELinux kills Cassandra based website
...here's a website I help run that uses the Cassandra DB as its > database. I > > notice that if I run the web server in SELinux permissive mode, the site > > works fine. But if I put it into enforcing mode, the site goes down with > > this error: > > > > Warning: require_once(/McFrazier/PhpBinaryCql/CqlClient.php): failed to > > open stream: Permission denied in > > /var/www/jf-ref/includes/classes/class.CQL.php on line 2 Fatal error: > > require_once(): Failed opening required > > '/McFrazier/PhpBinaryCql/CqlClient.php' (include_path=...
2005 Mar 03
0
RE: Getting phpconfig to work?
...> /** > * > * Asterisk configuration file interface script > * > * > * > * > * > * phpconfig:,v 1.0 2003/07/03 17:19:37 > * Authors: Dave Packham <dave.packham@utah.edu> > * Rob Birkinshaw <robert.birkinshaw@utah.edu> > */ > require_once("phpconfig_init.php"); > require_once("cls_phpconfig.php"); > require_once("cls_phpconfig_html.php"); > > // create and initalize objects // > $page = new Open_Conf_HTML(); > $conf = new Open_Conf(); > > // setup 3pane h...
2015 Mar 05
0
SELinux kills Cassandra based website
...e: > Hey all, > > There's a website I help run that uses the Cassandra DB as its database. I > notice that if I run the web server in SELinux permissive mode, the site > works fine. But if I put it into enforcing mode, the site goes down with > this error: > > Warning: require_once(/McFrazier/PhpBinaryCql/CqlClient.php): failed to > open stream: Permission denied in > /var/www/jf-ref/includes/classes/class.CQL.php on line 2 Fatal error: > require_once(): Failed opening required > '/McFrazier/PhpBinaryCql/CqlClient.php' (include_path='.:/php/includes...
2004 Sep 18
2
Asterisk as an outbound call machine?
Hi All... I have a need to phone a large number of people and collect information from them. I know Asterisk has a nice IVR system, but can it be used to initiate a call to people listed in a database or text file? Don't worry, this is not an annoying marketing thing. Thanks...
2007 Sep 29
1
(no subject)
Hello I am anirudh, I need help to write script to fetch detail like ips, speedlimit from mysql and add htb rules at the starting of the server. it is for a small isp i am working for. can any one help me out!, i had tried but fail to limit speed -- Anirudh Chowdary _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl
2005 Mar 03
4
Getting phpconfig to work?
No, I have apache 1.3.33 and mod_ssl 2.8.22 installed. Do I need to have apache2-mod_php installed? Rgds, Julius. > DO you have apache2-mod_php installed ? > > Which distro are you using ? > >> -----Original Message----- >> From: asterisk-users-bounces@lists.digium.com >> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >> Julius Kidubuka >>
2009 May 27
1
PHP AGI Problems
...a test on PHP on CLI... Example, enter 3333, then fgets returns '3'. Also, GET DATA seems to be returning early and the loop keeps prompting 'invalid'... Any suggestions on how to improve my AGI class so it actually works? Thanks. [code] #!/usr/bin/php <? //playspecific.php require_once('database.class.php'); require_once('AGI.class.php'); $database = new database(); $AGI = new AGI(); $database->selectdb("switchboard"); while ($error_count < 5 && !$msg_result) { $result = $AGI->send_cmd("GET DATA /bswitch/menu/enter-msg-id 300...
2006 May 19
2
Icecast2 Status Page Parser
Does anyone have a Perl or PHP Icecast2 Status Page Parser? Thanks. -greg. __________________________________________________________________________ Greg J. Ogonowski VP Product Development ORBAN / CRL, Inc. 1525 Alvarado St. San Leandro, CA 94577 USA TEL +1 510 351-3500 FAX +1 510 351-0500 greg@orban.com http://www.orban.com
2010 Jan 16
1
PHP XapianTermIterator/XapianPositionIterator usage
Hello again, /thanks to Peter for previous response. I've been digging around trying to find sample usage of XapianTermIterator/XapianPositionIterator in PHP. The idea is to code up a test case in PHP to perform snippet extraction (with a possible view to coding a pecl extension in C). I found a C++ sample, but that wasn't much help. I must be dense this morning though, since I
2014 Dec 05
0
updating the wiki WAS: vesamenu back to text before booting
On Fri, Dec 05, 2014 at 10:16:10AM +0100, Thorsten Glaser wrote: > On Fri, 5 Dec 2014, Gene Cumm wrote: > > > If so: http://www.syslinux.org/wiki/index.php/Mboot.c32 > > I???m not permitted to edit either that page or its talk page. > Do I submit the content addition here, then? Euh, yes, that is an option. Hereby I volunteer for updating the wiki with updates that get to
2009 Mar 26
3
show pri usage
Hi, I would like to know how to see which channels are used in my PRI E1 link from Asterisk to another locally-connected commercial PBX. If I run "dahdi show channels", I can see the used channels in the second column "extension" but only if it's an "incoming" call (ie. legacy PBX to Asterisk). If I dial from an Asterisk extension to an extension in the other
2009 Jan 22
2
SquirrelMail Sending Under Wrong Username
CentOS team... as is already bug reported and marked solved... as we await the upstream repair for this. It was reported that this was happening on CentOS 5. You likely already know, but it also happens on CentOS 4. For those unaware. It seems that SquirrelMail has an issue which allows mail to be sent out from one user on the system and it uses the from address of another user on the