Re: [asterisk-users] AMI Elastix

2014-09-03 Thread Усин Айбек
Thanks! It Completely resolves troubles


2014-08-18 19:52 GMT+06:00 Mikael Fredin mik...@wiraya.com:


 On 18 August 2014 15:35, Усин Айбек prince...@gmail.com wrote:

 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).


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

Re: [asterisk-users] AMI Elastix

2014-08-18 Thread Усин Айбек
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...@gmail.com:

 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 http://192.168.1.0/255.255.255.0*
 *permit=127.0.0.1/255.255.255.0 http://127.0.0.1/255.255.255.0*
 *permit=192.168.0.5/255.255.255.0 http://192.168.0.5/255.255.255.0*
 *permit=192.168.0.95/255.255.255.0 http://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
-- 
_
-- 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

Re: [asterisk-users] AMI Elastix

2014-08-18 Thread Steven Howes
On 18 Aug 2014, at 09:27, Усин Айбек prince...@gmail.com wrote:
 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

Re: [asterisk-users] AMI Elastix

2014-08-18 Thread Усин Айбек
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-li...@geekinter.net:

 On 18 Aug 2014, at 09:27, Усин Айбек prince...@gmail.com wrote:

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

Re: [asterisk-users] AMI Elastix

2014-08-18 Thread Mikael Fredin
On 18 August 2014 15:35, Усин Айбек prince...@gmail.com wrote:

 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).
-- 
_
-- 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