search for: wret

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

Did you mean: ret
2011 Jan 28
0
[PATCH] ctree code cleanups
...LEVEL; i++) { @@ -1910,7 +1891,6 @@ static int fixup_low_keys(struct btrfs_trans_handle *trans, if (tslot != 0) break; } - return ret; } /* @@ -2567,7 +2547,6 @@ static noinline int __push_leaf_left(struct btrfs_trans_handle *trans, u32 old_left_nritems; u32 nr; int ret = 0; - int wret; u32 this_item_size; u32 old_left_item_size; @@ -2708,9 +2687,7 @@ static noinline int __push_leaf_left(struct btrfs_trans_handle *trans, clean_tree_block(trans, root, right); btrfs_item_key(right, &disk_key, 0); - wret = fixup_low_keys(trans, root, path, &disk_key, 1); - if (wre...
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
...t, mid->start, mid->len, - mid->start, root->root_key.objectid, - btrfs_header_generation(mid), + 0, root->root_key.objectid, level, 1); /* once for the root ptr */ free_extent_buffer(mid); @@ -764,7 +821,6 @@ static int balance_level(struct btrfs_tr ret = wret; if (btrfs_header_nritems(right) == 0) { u64 bytenr = right->start; - u64 generation = btrfs_header_generation(parent); u32 blocksize = right->len; clean_tree_block(trans, root, right); @@ -776,9 +832,9 @@ static int balance_level(struct btrfs_tr if (wret) ret = wr...
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 ma...
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. -- T...
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($soc...
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
...er_header(root->node)); orig_level = level; if (btrfs_disk_key_objectid(&root_item->drop_progress) == 0) { + get_bh(root->node); path->nodes[level] = root->node; path->slots[level] = 0; } else { @@ -1516,7 +1517,6 @@ int btrfs_drop_snapshot(struct btrfs_tra if (wret < 0) ret = wret; ret = -EAGAIN; - get_bh(root->node); break; } for (i = 0; i <= orig_level; i++) { diff -r 29b8cc7794ac transaction.c --- a/transaction.c Thu Sep 20 14:14:42 2007 -0400 +++ b/transaction.c Sun Sep 23 12:35:00 2007 +0800 @@ -457,6 +457,7 @@ static int drop_dir...
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 a...
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 &...
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!
...#8 0x0813d5b1 in _spoolss_enumjobs (p=0x83d1690, q_u=0xbffff644, r_u=0xbffff634) at rpc_server/srv_spoolss_nt.c:6517 handle = (POLICY_HND *) 0xbffff644 level = 2 buffer = (NEW_BUFFER *) 0x83dd788 offered = 1024 needed = (unsigned int *) 0xbffff638 returned = (unsigned int *) 0xbffff63c wret = {v = 135905801} snum = 1 prt_status = { message = "no entries\0 is ready", '\0' <repeats 235 times>, qcount = 0, status = 0} queue = (print_queue_struct *) 0x0 #9 0x0812b825 in api_spoolss_enumjobs (p=0x83d1690) at rpc_server/srv_spoolss.c:693 q_u = {handle =...
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...level] = 0; path->nodes[level] = NULL; clean_tree_block(trans, root, mid); + + mid->root_objectid = 0; + btrfs_tree_unlock(mid); /* once for the path */ free_extent_buffer(mid); @@ -1726,6 +1732,7 @@ static noinline int balance_level(struct btrfs_trans_handle *trans, ret = wret; if (btrfs_header_nritems(right) == 0) { clean_tree_block(trans, root, right); + right->root_objectid = 0; btrfs_tree_unlock(right); del_ptr(trans, root, path, level + 1, pslot + 1, 1); root_sub_used(root, right->len); @@ -1770,6 +1777,7 @@ static noinline int balance_lev...