Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] AMI & Elastix


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
prince.kz at gmail.com
Guest





PostPosted: Mon Aug 18, 2014 3:28 am    Post subject: [asterisk-users] AMI & Elastix Reply with quote

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
   elastix-email_admin-2.4.0-1
   elastix-addons-2.4.0-1
   elastix-fax-2.4.0-1
   elastix-firstboot-2.4.0-1
   elastix-framework-2.4.0-1
   elastix-reports-2.4.0-1
   elastix-my_extension-2.4.0-1
   elastix-extras-2.4.0-1
   elastix-vtigercrm-5.2.1-7
   elastix-system-2.4.0-1
   elastix-security-2.4.0-1
   elastix-im-2.4.0-1
   elastix-a2billing-1.9.4-5
   elastix-asterisk-sounds-1.2.3-1
   elastix-pbx-2.4.0-1


 RounCubeMail
   RoundCubeMail-0.3.1-12


 Mail
   postfix-2.3.3-6.el5
   cyrus-imapd-2.3.7-12.el5_7.2


 IM
   openfire-3.7.1-1


 FreePBX
   freePBX-2.8.1-16


 Asterisk
   asterisk-1.8.20.0-0
   asterisk-perl-0.10-2
   asterisk-addons-1.8.20.0-0


 FAX
   hylafax-4.3.10-2rhel5
   iaxmodem-1.2.0-2


 DRIVERS
   dahdi-2.6.1-4
   rhino-0.99.6-0.b2
   wanpipe-util-3.5.28-0"
I am connect from telnet installed on anoter PC with ip 192.168.0.95
Elastix installed on XEN virtual mashine with ip 192.168.0.5
in manager.conf i wrote:

"[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=yes ;only effects 1.6+


[admin]
secret = qweasd123
deny=192.168.1.0/255.255.255.0
permit=127.0.0.1/255.255.255.0
permit=192.168.0.5/255.255.255.0
permit=192.168.0.95/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate"

 network connection is stable. if it need i'am add ping dump.

Please help me and i am sorry, for my bad english!!!!!

--
Тот кто хочет чего то добиться он находит пути реализации, другие находят причины невозможности это сделать.
<a href=http://ibeck.kz>Дизайн и разработка сайтов любой сложности</a>
Back to top
prince.kz at gmail.com
Guest





PostPosted: Mon Aug 18, 2014 5:59 am    Post subject: [asterisk-users] AMI & Elastix Reply with quote

update new state:
"  == Client from 192.168.0.95, failed to authenticate in 30 seconds  == Connect attempt from '192.168.0.95' unable to authenticate
  == Client from 192.168.0.95, failed to authenticate in 30 seconds
  == Connect attempt from '192.168.0.95' unable to authenticate
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
  == Connect attempt from '192.168.0.95' unable to authenticate"



2014-08-18 14:27 GMT+06:00 Усин Айбек <prince.kz@gmail.com (prince.kz@gmail.com)>:
Quote:
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
   elastix-email_admin-2.4.0-1
   elastix-addons-2.4.0-1
   elastix-fax-2.4.0-1
   elastix-firstboot-2.4.0-1
   elastix-framework-2.4.0-1
   elastix-reports-2.4.0-1
   elastix-my_extension-2.4.0-1
   elastix-extras-2.4.0-1
   elastix-vtigercrm-5.2.1-7
   elastix-system-2.4.0-1
   elastix-security-2.4.0-1
   elastix-im-2.4.0-1
   elastix-a2billing-1.9.4-5
   elastix-asterisk-sounds-1.2.3-1
   elastix-pbx-2.4.0-1


 RounCubeMail
   RoundCubeMail-0.3.1-12


 Mail
   postfix-2.3.3-6.el5
   cyrus-imapd-2.3.7-12.el5_7.2


 IM
   openfire-3.7.1-1


 FreePBX
   freePBX-2.8.1-16


 Asterisk
   asterisk-1.8.20.0-0
   asterisk-perl-0.10-2
   asterisk-addons-1.8.20.0-0


 FAX
   hylafax-4.3.10-2rhel5
   iaxmodem-1.2.0-2


 DRIVERS
   dahdi-2.6.1-4
   rhino-0.99.6-0.b2
   wanpipe-util-3.5.28-0"
I am connect from telnet installed on anoter PC with ip 192.168.0.95
Elastix installed on XEN virtual mashine with ip 192.168.0.5
in manager.conf i wrote:

"[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=yes ;only effects 1.6+


[admin]
secret = qweasd123
deny=192.168.1.0/255.255.255.0
permit=127.0.0.1/255.255.255.0
permit=192.168.0.5/255.255.255.0
permit=192.168.0.95/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate"

 network connection is stable. if it need i'am add ping dump.

Please help me and i am sorry, for my bad english!!!!!

--
Тот кто хочет чего то добиться он находит пути реализации, другие находят причины невозможности это сделать.
<a href=http://ibeck.kz>Дизайн и разработка сайтов любой сложности</a>




--
Тот кто хочет чего то добиться он находит пути реализации, другие находят причины невозможности это сделать.
<a href=http://ubuntu.kz>Казахстанское сообщество пользователей линукс Ubuntu</a>
<a href=http://ibeck.kz>Дизайн и разработка сайтов любой сложности</a>
Back to top
steve-lists at geekint...
Guest





PostPosted: Mon Aug 18, 2014 7:02 am    Post subject: [asterisk-users] AMI & Elastix Reply with quote

On 18 Aug 2014, at 09:27, Усин Айбек <prince.kz@gmail.com (prince.kz@gmail.com)> wrote:
Quote:
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"





You are missing the newline characters.. Action/Username/Secret should be on their own lines.


Read the AMI spec.


Steve
Back to top
prince.kz at gmail.com
Guest





PostPosted: Mon Aug 18, 2014 8:35 am    Post subject: [asterisk-users] AMI & Elastix Reply with quote

Thanks, im find it/ but in win7 it doesnt work. and it work under linux ))))


2014-08-18 18:02 GMT+06:00 Steven Howes <steve-lists@geekinter.net (steve-lists@geekinter.net)>:
Quote:
On 18 Aug 2014, at 09:27, Усин Айбек <prince.kz@gmail.com (prince.kz@gmail.com)> wrote:
Quote:
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"






You are missing the newline characters.. Action/Username/Secret should be on their own lines.


Read the AMI spec.


Steve


--
_____________________________________________________________________
-- 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




--
Тот кто хочет чего то добиться он находит пути реализации, другие находят причины невозможности это сделать.
<a href=http://ubuntu.kz>Казахстанское сообщество пользователей линукс Ubuntu</a>
<a href=http://ibeck.kz>Дизайн и разработка сайтов любой сложности</a>
Back to top
mikael at wiraya.com
Guest





PostPosted: Mon Aug 18, 2014 8:52 am    Post subject: [asterisk-users] AMI & Elastix Reply with quote

On 18 August 2014 15:35, Усин Айбек <prince.kz@gmail.com (prince.kz@gmail.com)> wrote:
Quote:
Thanks, im find it/ but in win7 it doesnt work. and it work under linux ))))


That's because windows terminates newlines differently, you should convert newlines under windows to windows format (\r\n).
 
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services