[asterisk-users] Login by AMI ok, by AJAM fails

Michelle Dupuis mdupuis at ocg.ca
Fri May 16 14:39:35 CDT 2014


You're right - but I tried username too and it fails.  I can't understand why AMI authenticates and AJAM fails...

________________________________________
From: asterisk-users-bounces at lists.digium.com <asterisk-users-bounces at lists.digium.com> on behalf of Michael L. Young <myoung at acsacc.com>
Sent: Friday, May 16, 2014 3:25 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] Login by AMI ok, by AJAM fails

----- Original Message -----

> From: "Michelle Dupuis" <mdupuis at ocg.ca>
> To: "Asterisk Users List" <asterisk-users at lists.digium.com>
> Sent: Friday, May 16, 2014 2:43:30 PM
> Subject: [asterisk-users] Login by AMI ok, by AJAM fails

> --------------------------
> root at apbx:/tmp# curl
> http://localhost:5039/asterisk/rawman?action=login&user=test&secret=test
> [1] 15548
> [2] 15549
> root at pbx:/tmp# Response: Error
> Message: Authentication failed
> [1]- Done curl http://localhost:5039/asterisk/rawman?action=login
> [2]+ Done user=test

I believe it should be "username" instead of "user" for the query parameter.

Michael

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list