similar to: HTML / PHP

Displaying 20 results from an estimated 2000 matches similar to: "HTML / PHP"

2017 Feb 08
3
Stripping Debug Locations on cross BB moves, part 2 (PR31891)
So Reid came across a case where the current strategy (dropping locations when they move across basic blocks) proves to be at odds with another precept we have: inlinable calls must have locations, so that if/when they are inlined the location can be accurately described (due to the nature of our IR representation of inlining, a location must be given for the call site so that the DIEs for the
2020 May 31
4
Simple backup of maildir folder
On 29 May 2020, at 23:49, Admin Beckspaced <admin at beckspaced.com> wrote: > I also have maildir as mailbox format and use the following script to do daily backups > > https://github.com/tachtler/dovecot-backup A couple of notes on this quite useful script: My mktemp does not support -p (FreeBSD 12.1) is I had to change the script to: DIR_TEMP=$($MKTEMP_COMMAND -d $TMP_FOLDER
2020 Apr 06
4
[v2v PATCH 1/2] v2v: nbdkit: change base dir for nbdkit sockets/pidfiles
Since this new temporary directory will contain UNIX sockets for communicating with nbdkit, then its path must not be too long. Use the existing directory that libguestfs exposes for this, i.e. sockdir. --- v2v/nbdkit.ml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/v2v/nbdkit.ml b/v2v/nbdkit.ml index 65317f9b..46b20c9d 100644 --- a/v2v/nbdkit.ml +++ b/v2v/nbdkit.ml
2020 Apr 06
6
[PATCH virt-v2v v2 0/2] v2v: Large temporary directory handling.
v1 was here: https://www.redhat.com/archives/libguestfs/2020-April/msg00007.html There's a BZ for this now which I forgot to add to the commit message: https://bugzilla.redhat.com/show_bug.cgi?id=1814611 For v2: - Fix incorrect reference to $TMPDIR in existing manual. - Separate handling for small temporary files and large temporary files. Small temporary files go into $TMPDIR
2014 Jul 07
2
Re: [PATCH] Use Mkdtemp.temp_dir instead of Mkdtemp.mkdtemp
On Mon, Jul 07, 2014 at 07:53:52PM +0200, Pino Toscano wrote: > --- > builder/sigchecker.ml | 2 +- > sysprep/sysprep_operation_script.ml | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/builder/sigchecker.ml b/builder/sigchecker.ml > index c35d2da..08efa5d 100644 > --- a/builder/sigchecker.ml > +++ b/builder/sigchecker.ml >
2014 Jul 07
2
[PATCH] mllib: introduce Mkdtemp.temp_dir
Add a simple function to ease the usage of Mkdtemp.mkdtemp. --- mllib/mkdtemp.ml | 5 +++++ mllib/mkdtemp.mli | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/mllib/mkdtemp.ml b/mllib/mkdtemp.ml index 2e64862..353b04b 100644 --- a/mllib/mkdtemp.ml +++ b/mllib/mkdtemp.ml @@ -16,4 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) +open Common_utils +
2011 Feb 13
1
Call Files, Variable passing
Hi, I am having trouble passing variables via the call files, here is my call file via the php: fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Events: off\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret: $strSecret\r\n\r\n"); fputs($oSocket, "Action: originate\r\n"); fputs($oSocket,
2011 Sep 02
5
how to add-edit-delete entery into asterisk conf files
Hi list, I want ot do basic work (add-edit-delete) into asterisk configuration files, like sip.conf, manager.conf,musiconhold.conf etc. Please guide me how to configure all these files from from AMI connection. I am able to login into AMI from Login action but I want to do more task in to it. *AMI login:- * *login.php* <?php $socket = fsockopen("127.0.0.1","5038",
2005 Dec 28
2
PHP Manager
Hi all, I have a small problem to execute Asterisk Commands in Asterisk Manager using PHP. I am able to run all Asterisk Manager command but the problem is comming with asterisk command. here is the code i am trying to run. <?php $socket = fsockopen("localhost","5038", $errno, $errstr, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket,
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
Hello Everyone, I am making a simple index.php file which will allow a web user to enter his $phoneNumb, $dialNumb, and callerID ($spoofNumb) and get the call bridged. Following is the index.php and the contents of extensions_custom.conf. When I submit the form nothing happens. I don't even see Manager Connected msg. Your input will be much appreciated. I am thinking I have some syntax
2016 Oct 25
2
[PATCH v2 1/2] mllib: curl: add optional tmpdir parameter
Add a new optional parameter for the Curl ADT, so temporary files can be created in a specified directory (which is supposed to be temporary, and disposed only when the application quits). --- mllib/curl.ml | 10 ++++++---- mllib/curl.mli | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mllib/curl.ml b/mllib/curl.ml index 376406e..baa75ec 100644 --- a/mllib/curl.ml +++
2007 Jul 06
1
Asterisk Manager
Hi this is my code for * manager: $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed"); fputs($oSocket, "Action: login\r\n"); fputs($oSocket, "Username: $strUser\r\n"); fputs($oSocket, "Secret:
2011 Feb 14
1
Asterisk Call File using Local Channel not passing Variable back to Dialplan
Hi Everyone, I am trying to pass a variable using the .call files but it turns out blank. Can someone please point out what might be wrong here: */tmp/spool-file.sh* *----------------------------------------------------------------------* echo "Channel: Local/s at callback_leg*1*/n CallerID: \"Call-back\" <123456> MaxRetries: 0 RetryTime: 10 WaitTime: 45 Context:
2012 Dec 12
1
Asterisk 11 originate errors
Hi, I'm getting errors while originating a call through AMI. [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe Asterisk version 11.0.1
2001 Mar 29
1
Samba Printing to Win98
I am trying to allow printing from my linux box to my win98 box, to which my epson stylus printer is attached. It's just not happening...something tells me I'm flirting with a world of pain. I *can* print a file by going: smbclient //rory/EPSON translate print /etc/group but I cannot print from applications, nor can i use smbprint. I tried going: cat /etc/passwd | sh -x smbprint
2016 Oct 24
2
[PATCH 1/2] mllib: curl: add optional tmpdir parameter
Add a new optional parameter for the Curl ADT, so temporary files can be created in a specified directory (which is supposed to be temporary, and disposed only when the application quits). --- mllib/curl.ml | 16 +++++++++++----- mllib/curl.mli | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mllib/curl.ml b/mllib/curl.ml index 376406e..7d07125 100644 --- a/mllib/curl.ml
2007 Jul 08
1
Asterisk Help
Hi I need help in configuring a auto dialer system using Asterisk. I'm holding my customers number in MySQL want to fetch 10 numbers one time and dial if gets connected and answered by customer wants to play a sequence of message . Please help . I've tried here is my code to place calls but in this I see no of failure calls are more than 50%. so please advise.
2009 Dec 23
1
AMI originate and PHP
Hi Guys, I am trying to make a web form where a person is allowed to put in $phoneNumber, $dialNumber, and $spoofNumber to make a call with spoof caller ID. There are a few problems that I am facing with Asterisk AMI Originate command. The reason why I want to use the darn AMI Originate is because I am sending calls to mobile phones and I want to have some accountability and to know if a call was
2005 Sep 06
4
PHP and ASterisk Manager
Guys, is anybody using PHP sockets to connect to the Manager and send command like "show voicemail users" for example or any other? My question is, how to parse the return info in a way that can be shown back to the user via web (discard all the manager responses not needed)? Thx in advance for any help you can provide.
2006 May 23
2
Outband call from php script
Hello, I am trying to make the following... Can someone tell me if it is possible? Is someone willing to do it from an asterisk@home box? 1. I send an http request to asterisk@home box. Ex: http://asterisk@home/call.php?phone=0033102030405&code=12345 2. Application will call phone number 0033102030405 (using a sip provider) 3. Application will play a pre-recorded voice prompt 4. Application