You're right - but I tried username too and it fails. I can't understand why AMI authenticates and AJAM fails...
________________________________________ From: asterisk-users-boun...@lists.digium.com <asterisk-users-boun...@lists.digium.com> on behalf of Michael L. Young <myo...@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" <mdup...@ocg.ca> > To: "Asterisk Users List" <asterisk-users@lists.digium.com> > Sent: Friday, May 16, 2014 2:43:30 PM > Subject: [asterisk-users] Login by AMI ok, by AJAM fails > -------------------------- > root@apbx:/tmp# curl > http://localhost:5039/asterisk/rawman?action=login&user=test&secret=test > [1] 15548 > [2] 15549 > root@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 -- _____________________________________________________________________ -- 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