search for: wrets

Displaying 15 results from an estimated 15 matches for "wrets".

Did you mean: irets
2011 Jan 28
0
[PATCH] ctree code cleanups
The following has been done as a part of cleanup - o Eliminated bin_search() by replacing with btrfs_bin_search() o Eliminated unused return value in fixup_low_keys() o Eliminated additional variable (sret) in setup_nodes_for_search() Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de> --- ctree.c | 71 ++++++++++++++++++---------------------------------------------- 1 file changed, 20
2005 Jan 13
4
Manager API !!!!!!!!!
Hello all Has anyone had any success with the Manager API ? I am trying to check an extension status without too much luck I have the following <?php $fp = fsockopen("127.0.0.1", 5038, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "Action: Login\r\n"; $out .=
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
This patch adds mixed back ref support for btrfs programs. The mixed back ref is a new disk format. back compatilibity is still not implemented. To try the new disk format, you need fresh formatted btrfs. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> --- diff -urp btrfs-progs-unstable/crc32c.h btrfs-progs-2/crc32c.h --- btrfs-progs-unstable/crc32c.h 2008-09-30 16:50:58.898877720 +0800
2005 Jul 01
1
astmanproxy
...ogin\r\n"); fputs($socket, "UserName: xxx\r\n"); fputs($socket, "Secret: xxx\r\n\r\n"); fputs($socket, "Action: Command\r\n"); fputs($socket, "Command: Show Channels\r\n\r\n"); fputs($socket, "Action: Logoff\r\n\r\n"); while (!feof($socket)) { $wrets[] = fread($socket, 8192); } fclose($socket); var_dump($wrets); ?> </pre> Output in debugmode at the console is correct, but I cannot read the output in php. If I use port 5038 I get the output, but I want to connect with multiple clients, so I should't use a direct connection to man...
2005 Dec 28
2
PHP Manager
...ts($socket, "Action: Command\r\n"); fputs($socket, "Command: reload\r\n\r\n"); #Working well fputs($socket, "Command: show channels\r\n\r\n"); #Not working Working well fputs($socket, "Command: 'show channels'\r\n\r\n"); #Not working Working well $wrets=fgets($socket,128); ?> If you see in my code when i am calling only "reload" command working but when i am trying to call piar command it is just prompting : == Manager '1212' logged off from localhost without showing channels Please advice me to solve this problem. -- Th...
2010 Jun 13
0
Asterisk AMI
...str, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket, "UserName: amiadmin\r\n"); fputs($socket, "Secret: amiadminpassword\r\n\r\n"); fputs($socket, "Action: Command\r\n"); fputs($socket, "Command: module reload chan_sip.so\r\n\r\n"); $wrets=fgets($socket,128); fputs($socket, "Action: Command\r\n"); fputs($socket, "Command: module reload chan_iax2.so\r\n\r\n"); $wrets=fgets($socket,128); fputs($socket, "Action: Reload\r\n"); fputs($socket, "Command: dialplan reload\r\n\r\n"); $wrets=fgets($sock...
2012 Aug 26
1
One leg in a conference and adjusting stream volume of other leg
Hi all, I'm looking for some serious help. :) I couldn't find a better description for my problem... I think it is quite complex! Here's what I would like to achieve: A SIP caller dials into to my Asterisk 10. He will automatically listen to a specific MP3 stream. Other SIP callers dial also into my Asterisk. They all will automatically listen to the same MP3 stream. All
2007 Sep 23
0
[patch]fix get_bh and brelse issues when drop snapshot
Hello, When drop_progress isn't zero, the root->node's usage count is increased in btrfs_search_slot. Therefore, the get_bh in the body of while loop is redundant in most cases. (this change is in accordance with btrfs_defrag_leaves). The second change is decrease root->node's usage count when drop a snapshot. Regards YZ diff -r 29b8cc7794ac extent-tree.c --- a/extent-tree.c
2005 Jul 09
0
About the using of astmanproxy
...tion: Login\r\n");fputs($socket, "UserName: xxx\r\n");fputs($socket, "Secret: xxx\r\n\r\n");fputs($socket, "Action: Command\r\n");fputs($socket, "Command: Show Channels\r\n\r\n");fputs($socket, "Action: Logoff\r\n\r\n");while (!feof($socket)) {$wrets[] = fread($socket, 8192);}fclose($socket);var_dump($wrets);?></pre> Output in debugmode at the console is correct, but I cannot read the output in php. If I use port 5038 I get the output, but I want to connect with multiple clients, so I should't use a direct connection to manager ap...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them
2003 Nov 02
3
PHP Manager examples
Anyone have any example scripts in PHP that connect to the manager? I'm not really a much of a programmer so I could use boost. Once I can figure out how to get it to login properly, I'll be ok from there. Thanks, Kevin _____________________________________________________________ Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com
2005 May 26
1
Little Php question
...t;); > fputs($socket, "Exten: 12345678\r\n\); > fputs($socket, "Priority: 1\r\n"); > fputs($socket, "Callerid: webcall\r\n\r\n"); > fputs($socket, "\r\n\r\n"); > fputs($socket, "Action: Logoff\r\n\r\n"); > while (!feof($socket)) { > $wrets .= fread($socket, 8192); > } > fclose($socket); > ?> > </pre> > > When starting the script I get a parse error (unexpected > t_string) in line > 15 which is the Exten line > Can anybody help me out. (I have minimal php knowledge, so Im > turning to you &g...
2005 May 26
0
SV: Little Php question
...t, "Context: mainmenu\r\n\"); fputs($socket, "Exten: 12345678\r\n\); fputs($socket, "Priority: 1\r\n"); fputs($socket, "Callerid: webcall\r\n\r\n"); fputs($socket, "\r\n\r\n"); fputs($socket, "Action: Logoff\r\n\r\n"); while (!feof($socket)) { $wrets .= fread($socket, 8192); } fclose($socket); ?> </pre> When starting the script I get a parse error (unexpected t_string) in line 15 which is the Exten line Can anybody help me out. (I have minimal php knowledge, so Im turning to you all) Thanks in advance Ronald _____________________...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
Our computers in our office ceased being able to print to a shared cups printer today. Could not find the cause. Seems the smbd processes are dying. Below is the stack trace produced by gdb bt full. The Samba 'panic action' script, /usr/share/samba/panic-action, was called for pid 5839 (/usr/opt/samba-3.0.2rc2/sbin/smbd). 0x40150a59 in wait4 () from /lib/libc.so.6 #0 0x40150a59 in
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
This patch introduce extent buffer cache for every i-node. By this way, we can save the search time and reduce the lock contention of the root because we needn''t search the item from the root of b+ tree. Implementation: - add two pointers of extent buffer into btrfs_inode struct, one for nodes/leaves of fs/file tree, the other for nodes/leaves of the log tree. - add a variant to tell