similar to: fsockopen-method in ROR

Displaying 20 results from an estimated 1000 matches similar to: "fsockopen-method in ROR"

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,
2007 May 05
2
Manager API Output
Hi, Is there any way that I can store my manager API output that is: My question is that is there any why using that I can get the QueueStatus and store the result in some text file for further processing. <?php $strHost = "127.0.0.1"; $strUser = "cron"; $strSecret = "1234";
2011 Aug 01
1
Problems with AMI connections (Asterisk 1.8.3.2)
Hi guys, I hope you could help me. I am trying to get connected through AMI but something is not working. Both php code and manager.conf were working well in asterisk 1.4 1. Sometimes it gets connected and sometimes it doesn't: == Connect attempt from '192.168.25.241' unable to authenticate == Connect attempt from '192.168.25.241' unable to authenticate == Manager
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 .=
2006 Aug 08
3
How can i read a properties file in RoR
Hi, Iam a nubie, i wanna know how can i load/read a .properties file in to my rails application. For example i have a property file where i have defined the spanish equivalants of some english words as follows user Name:nombre del usuario user Code :c?digo del usuario likewise. now , where should i store this properties file in the directory structure and how can i read these in to my
2011 Jun 09
5
ultrasecure sshd server
Hi, How to configure sshd to required both ssh public key and user password also? yes, stupid, but required on my setup.. -- Eero
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.
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:
2005 Jul 01
1
astmanproxy
Hello, I want to recieve the output from astmanproxy in a php script. Is that possible ? I made a simple php script: <PRE> <?php $socket = fsockopen("127.0.0.1","1234", $errno, $errstr, $timeout); fputs($socket, "Action: Login\r\n"); fputs($socket, "UserName: xxx\r\n"); fputs($socket, "Secret: xxx\r\n\r\n"); fputs($socket, "Action:
2016 Oct 26
2
Problem setting up ssl connection
Hello I keep getting the following error when trying to connect to the Asterisk server using AMI : $socket = fsockopen("tls://11.22.33.44","5039", $errno, $errstr, 5); Erorr on CLI : [Oct 26 14:38:19] ERROR[2992]: tcptls.c:609 handle_tcptls_connection: Problem setting up ssl connection: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca [Oct 26 14:38:19]
2005 Jul 01
3
error while connecting from squirrelmail
Hi all, I am new to dovecot and squirrelmail and I am trying to configure squirrelmail with dovecot as its imap server. When i disable "Secure Imap (TLS)" option (2-A-7) from squirrelmail configure menu, it's working fine. But when i try to enable tls support, squirrelmail is giving the following error: Warning: fsockopen(): unable to connect to 192.xx.xx.xx:993 in
2009 Aug 03
5
webcam image capturing
Hi Could anybody please advice me to work with wecamera in Rails. What i want to do is to capture webcam images from a machine and send that data to a remote server there it needs to be processed. I have no idea of where to start.Please help Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
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
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
2007 Dec 06
3
XenApi
I originally posted this to the xenapi mailing list but i dont think many are on there... here''s my question. My first attempt at this, trying to get php to interface with /var/run/xend/xen-api.sock (or even 127.0.0.1:9363 for that matter). I can make a connection to both the unix socket and the inet socket and write/read data. The problem is i always get the same responce back, also
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
2009 May 11
7
Upload file with url parameter
I want to upload file using get method. for example, "http://www.mydomain.com/upload?file=c:\test.exe" upload my local file to the remote server. I found one useful link about file uploading here(http:// www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm). Even I''ve changed some code in order to fit my rails version, it worked well. But the problem is I have use
2008 Jul 04
9
file upload
is there any link for step by step guide in file upload in database ... im follwing the link http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm.. which shows file upload into folder not in database ..pls help.. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2020 Jun 12
2
Issue with __attribute__((constructor)) and -Os -fno-common
On 6/11/20 11:25 PM, James Y Knight wrote: > The global constructor was removed by setting the initial value of "val" to > 1 instead of 0. So, the behavior of this program is preserved. Doesn't look > like erroneous behavior. OK, my example is too simplified indeed. Please consider the following instead: int val; static void __attribute__((constructor)) init_fn(void) {
2006 Jan 24
4
Looking for a Ruby, ROR code sample or info
Hi all, I am looking for a code sample that shows how to execute a host-command using Ruby or ROR and then read the output. Thanks, Onno This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any