AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

Как увидеть AMI команды, выполняемые FOP

Asterisk GUI 4 сообщений 20.10.2010 09:30 - 20.10.2010 15:39
#1 20.10.2010 09:30

Как увидеть AMI команды, выполняемые FOP


Собственно хочется поглядеть, какими AMI командами FOP осуществляет выполняемые действия. Пробовал подключаться под fop-пользователем - команд нет, только события.

Или, может быть, есть какая-нибудь отладочная информация, генерируемая FOP...

Обсудим?
#2 20.10.2010 13:43

ngerp -d any port 5038 -W byline

?
#3 20.10.2010 15:24

Игорь, я правильно нашел?

Quote:
================================ Matched: ngerp ================================
nmap.i386 : Network exploration tool and security scanner
perl-Digest-SHA1.i386 : Digest-SHA1 Perl module


Added after 8 minutes:

В принципе, здесь http://www.asternic.org/ написано, как настроить дебаг для FOP

Quote:
Edit op_server.cfg and change the appropriate parameters for your setup.

...

debug it sets the debug level of the server. The log is writen to stdout. Its a bitmap parameter.

Bit 1: shows events comming from Asterisk
Bit 2: shows commands sent to Asterisk
Bit 4: shows commands comming from Flash
Bit 8: shows commands sent to Flash
Bits 16,32,64: debug for the server

Default is 0 (no debug). If you want to see the events comming from Asterisk and the commands sent to it, set it to 3 (1+2). If you want to enable full debug, set it to 255. You can override this setting from the command line with -X



Осталось разобраться, что есть stdout для fop...
#4 20.10.2010 15:39

нее, это моя очепяткая... ngerp => ngrep, или tcpdump кому как удобней