Displaying 20 results from an estimated 500 matches similar to: "Message: Authentication failed on manager interface"
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:
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
Hi Asterisk-users,
I am working with Aterisk Manager API's.
I can login successfuly with the following.
char buff[256];
strcpy(buff, "Action: Login\r\nUsername: admin\r\nSecret: unix\r\n\r\n");
send(msock, buff, 255);
Now I want to try Action: Originate, therefore I tried the following
char buff1[256];
strcpy(buff1, "Action: Originate\r\nChannel:
2008 Feb 28
1
C Code to connect to Asterisk Manager Interface
Hi,
I have written a C code which would let me connect to the Asterisk Manager
Interface. The code compiles successfully but on running the code I get
unauthorized login shown in the Asterisk command line console.
Here is my C code:
#include<stdio.h>
#include<netdb.h>
#include<unistd.h>
#include<string.h>
#include<arpa/inet.h>
#include<sys/types.h>
2015 Apr 25
0
Error writing CDR
> Hi All
>
> I have dozens of these messages on CLI complaining about database connection and error writing CDR to disk.
>
> The curious thing is I can find them all inside the database.
> I "selected" them using uniqueid and manually compared each column with the cdr_adaptive_odbc.c error line.
>
> "mysqlcheck -a -e -v DBase" and "mysqlcheck -c -e
2015 Apr 25
1
Error writing CDR
On Sat, 25 Apr 2015 17:11:34 +0200
jg <webaccounts173 at jgoettgens.de> wrote:
>
> > Hi All
> >
> > I have dozens of these messages on CLI complaining about database
> > connection and error writing CDR to disk.
> >
> > The curious thing is I can find them all inside the database.
> > I "selected" them using uniqueid and manually
2008 Feb 08
1
Permission denied when obtaining Status
Greetings,
I've set up the AMI and am able to authenticate, however I am unable to
execute "Action: Status". I get a permission denied error:
asterisk:/etc/asterisk# telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
Action: Login
Username: myusername
Secret:
2002 Mar 01
2
best way to work with cvs?
I use a script to get the lastest samba:
#!/usr/bin/ksh
echo "\npassword: cvs\n"
cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login
cvs -z5 -d :pserver:cvs@pserver.samba.org:/cvsroot co samba
Are there any other commands I could tack on or something I should do
differently to make sure I am getting correct rebuilds?
For example, should I tack on at the end:
cd
2015 Apr 25
4
Error writing CDR
Hi All
I have dozens of these messages on CLI complaining about database connection and error writing CDR to disk.
The curious thing is I can find them all inside the database.
I "selected" them using uniqueid and manually compared each column with the cdr_adaptive_odbc.c error line.
"mysqlcheck -a -e -v DBase" and "mysqlcheck -c -e -v DBase" both returned OK for
2003 Dec 03
3
Echo problem on conferencing....no analog interfaces
Okay...here's one for all of you....
3 party meet-me conference:
Call 1: Comes in to MyAsterisk on an E1 PRI into the system. All TDM,
no VoIP at all involved. No echo at all.
Call 2: Call comes in via IAX....(TDM -> Asterisk_1 -> IAX/GSM ->
MyAsterisk. Caller immediately hears his own echo
Call 3: Call comes in via IAX....(TDM -> Asterisk_1 -> IAX/GSM ->
MyAsterisk.
2015 Apr 17
2
user authentication issue
Hey Samba list,
First a brief comment regarding my background and situation. This is my
first time posting to this list. I've been asked to resolve a Samba
authentication issue, but I have next to no experience using Samba.
Unfortunately no one else here knows how to use it either; we're operating
with an inherited environment from a sysadmin who left minimal
documentation, and we have
2014 Aug 18
2
AMI & Elastix
Hi all!
I have trouble with connection to AMI 1.1 wich enabled on Elastix
"*Asterisk Call Manager/1.1*
*Action: Login Username: admin Secret: qweasd123*
*Response: Error*
*Message: Missing action in request*"
Elastix versions:
"* Kernel*
* Linux(x86_64)-2.6.18-348.1.1.el5*
* Elastix*
* elastix-2.4.0-1*
* elastix-portknock-0.0.1-0*
* elastix-agenda-2.4.0-1*
*
2005 Jul 06
1
/etc/asterisk/manager.conf
Valued Colleagues,
I am trying to configure and use asterisk manager API.
The /etc/asterisk/manager.conf and the output of "netstat -nl" are
appended below.
When I restart asterisk, I believe I should be able to see the asterisk
listening on
port 5038 using netstat. But when I type netstat, I don't see any
applications listening
on port 5038.
When I telnet to port
2015 Apr 17
2
user authentication issue
Hey Samba list,
First a brief comment regarding my background and situation. This is my
first time posting to this list. I've been asked to resolve a Samba
authentication issue, but I have next to no experience using Samba.
Unfortunately no one else here knows how to use it either; we're operating
with an inherited environment from a sysadmin who left minimal
documentation, and we have
2008 Nov 27
2
How to create users accounts with already encrypted passwords ?
Hi, i need to create users accounts into Samba with already encrypted
passwords from a file. I use tdbsam backend and Samba 3.0.24 (Debian Etch)
The file format is quite easy :
login1|Unix_passwd|Lanman Password Hash|NT Password Hash
First, i create the unix users with their already encrypted password :
useradd -p Unix_passwd login1.
Fine.
But can i do the same thing with smbpasswd or pdbedit
2006 Nov 22
0
in Asterisk Manger its Unauthentication User and Host ..........
Hello Users.........
I'm Now doing on Asterisk Manager for My knowledge Growth, Can anybody
explan me on Asterisk Manager settings.......
in manager.conf
[general]
enabled =yes
port = 5038
bindaddr = 192.168.2.75
displayconnects = yes
[hyperion]
secret = hyperion
permit=192.168.2.76/255.255.255.0
deny=0.0.0.0/0.0.0.0
read = system,call,log,verbose,command,agent,user
write =
2004 Nov 15
2
asterisk nagios plugin
hi
I've written, or upgraded a little more, a plugin for asterisk/nagios,
just in case someone should be interested. it uses the manager
interface to connect and checks staus. it's a dirty hack, but it works.
see
https://sourceforge.net/tracker/?
func=detail&aid=746083&group_id=29880&atid=541465 for more info
roy
2007 Nov 19
1
asterisk manager and perl
Hi,
I m trying to use perl script to generate call with a server asterik .
If I use telnet session to generate like this :
$telnet localhost 5038
Action: Login
Username: useroperator
Secret: password
Action: Originate
Context: context
Channel: Local/0123456789 at context
Exten: 221
Priority: 1
it works good :)
instead with a script perl like this :
....
use Net::Telnet ();
....
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.
2015 May 28
0
chan_sip.c: Hanging up call
The string "5a2600300339934f704528bb14ed05e9 at MyAsterisk:5060" is the unique
identifier for the call in SIP known as the Call-ID. If you have a packet
capture of the port 5060 SIP traffic, that identifier will be in each SIP
message related to the call, which also includes the full from and to
details.
As an alternative to running a separate packet capture, you can enable SIP
message
2005 Aug 02
1
How to create a secret code to use myasterisk@home server's long distance plan from a public phone
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com
> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
> Adrien Laurent
> Sent: 02 August 2005 14:56
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] How to create a secret code to use
> myasterisk@home server's long distance plan from a public phone
>
>