similar to: Problems with AMI connections (Asterisk 1.8.3.2)

Displaying 20 results from an estimated 2000 matches similar to: "Problems with AMI connections (Asterisk 1.8.3.2)"

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
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
Dear all, I want to make call through socket i have set code given below: #!/usr/bin/perl -w use IO::Socket::INET; sub asterisk_command () { # my $command=$_[0]; my $ami=IO::Socket::INET->new(PeerAddr=>'127.0.0.1',PeerPort=>5038,Proto=>'tcp') or die "failed to connect to AMI!"; print $ami "Action: Login\r\nUsername:
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 .=
2014 Dec 16
3
broken pipe question
I am running a heartbeat... Asterisk 11.15.0 - same behaviour is noticed on 1.4.43 also I issue a call through the API that does the below. just UserEvent and Hangup -- Executing [s at heartbeat:1] UserEvent("Local/s at heartbeat-0000000f;2", "HeartBeat, Noop") in new stack -- Executing [s at heartbeat:2] Hangup("Local/s at heartbeat-0000000f;2",
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
2008 Nov 24
2
no such file or directory
hello list: I add some code to xen-3.1.0-src\xen\arch\x86\hvm\vmx\vmx.c to export some information when vmx_vmexit_handler() executed: ------------------------------------------------------------------------------------------------- --- vmx.c 2007-05-18 22:45:22.000000000 +0800 +++ vmx-patch.c 2008-11-24 14:19:18.000000000 +0800 @@ -50,7 +50,9 @@ #include <asm/hvm/vpt.h> #include
2008 Jan 18
1
Automatic call-out problem
Hello! My setup is Asterisk 1.2.26 with Zaptel 1.2.22.1, libpri-1.2.7 on Fedora Core 4. I am making automatic call-out campaign with this setup on 4 PRI. The scripts for this: ==================================================================== caller php script write this to outgoung folder: fwrite($outfile,"Channel: Zap/g1/$phonenumber\n"); fwrite($outfile,"MaxRetries:
2007 Aug 07
1
.call file and logging
I am writing a cron script to check if certain extensions are online and if they aren't then Asterisk creates a couple of .call files to notify another set of extensions or external numbers. It works fine except for logging information. What I'm doing in the script is setting a "fake" caller ID (as it's generated by Asterisk, not by a user) and calling out real users. So
2016 May 21
2
Syslinux fwrite support
> -----Original Message----- > From: Gene Cumm [mailto:gene.cumm at gmail.com] > Sent: Tuesday, May 17, 2016 1:07 PM > To: Tal Lubko > Cc: syslinux at zytor.com > Subject: Re: [syslinux] Syslinux fwrite support > > On Tue, May 17, 2016 at 2:39 AM, Tal Lubko via Syslinux > <syslinux at zytor.com> wrote: > > Hi > > Does Syslinux support fwrite for fat
2002 Oct 09
2
rsync-2.5.5 memory eater problem
Hi, we ran into a little problem with rsync-2.5.5. Setup: you run rsync-2.5.5 as normal rsync over ssh (ie. not connecting to a rsync server). If you start such a rsync but interrupt the pulling process with Ctrl-C, the process on the other side may start to allocate all memory on the remote machine. As fa as we have analyzed the problem, the remote rsync process wants to issue a error message
2016 May 23
3
Syslinux fwrite support
> -----Original Message----- > From: Gene Cumm [mailto:gene.cumm at gmail.com] > Sent: Saturday, May 21, 2016 4:44 PM > To: Tal Lubko > Cc: For discussion of Syslinux and tftp-hpa > Subject: Re: [syslinux] Syslinux fwrite support > > On Fri, May 20, 2016 at 11:14 PM, Tal Lubko <tallubko at yahoo.com> wrote: > > > > > >> -----Original Message-----
2013 May 11
1
AMI Originate issue
Hi, I'm getting an issue while executing AMI Originate. I'm getting "extension does not exists" on Originate's Response, and on the other hand Asterisk CLI say "fwrite() returned error: Broken pipe" Please suggest me what is wrong. Muhammad Faheem ### my originate code block ...
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,
2008 Jun 28
0
AMI extenstion state
Hi, I would like to get the status of asterisk extension with my php program. *My program as follows,* <html> <!--<meta http-equiv="refresh" content="1" />--> <?php $fp = fsockopen("xxx.xxx.xxx.xxx", 5038, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "Action: Login\r\n"; $out
2014 Mar 28
0
Need some PHP/AMI guidance please
Hello all, I've got some PHP code that opens an AMI socket and does a ConfBridgeList for a specific bridge (8888). This all works just fine but I need to filter the information displayed to only CallerIDName so I can see a complete list of names of participants. After days of googling and playing with it, I'm no closer than I was when I started. I'm not at all married to a table.
2017 Oct 02
2
fwrite() not found in data.table package
Hi all, I used to use fwrite() function in data.table but I cannot get it to work now. The function is not in the data.table package, even though a help page exists for it. My session info is below. Any ideas on how to get fwrite() to work would be much appreciated. Thanks! > sessionInfo() R version 3.2.0 (2015-04-16) Platform: x86_64-unknown-linux-gnu (64-bit) Running under: Red Hat
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
Josh, I applied this patch and all the "make check" tests passed (but I do not have valgrind and I did not use --enable-exhaustive-tests during configure, so it isn't all the tests). Do you see anything suspicious about it? --- flac-1.1.2.oldBuild/src/flac/decode.c 2005-01-24 20:13:46.000000000 -0800 +++ flac-1.1.2/src/flac/decode.c 2006-09-06 23:36:26.000000000 -0700
2008 Jun 13
1
String "fwrite();" causes 503 error (Passenger or apache?)
Hi, While testing a rails application on DreamHost (mod_rails), I found a really weird problem. If I submit form data which includes "fwrite();" (with semi-colon but without quotes), I get 503 error (Server temporarily unavailable). I checked out rails log file and it didn''t even reach the rails app. I assume the error was from web server. You may test this at
2004 Aug 06
3
icecast2 ogg vorbis client request headers
Can anyone shed some light as to what icecast2 accepts as a client request methods for ogg vorbis, apparently there is a difference bettween the way icecast2 handles mp3 and ogg vorbis. php example for mp3 that works fwrite($fp,"GET /mymp3 HTTP/1.1\nUser-Agent:$HTTP_USER_AGENT\n\n"); php example for ogg that doesnt work fwrite($fp,"GET /mymnt.ogg
2007 Apr 02
1
Problems with stereo data
Hi all, I have a problem when I am encoding (or decoding) stereo audio. With mono data, things are fine and everything works without any problems. When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong? Below is the code, first, of the encoder and next that of the decoder. Any information or