Внимание!
Эта wiki об устаревших версиях
Документация к актуальной версии интеграции 1С и телефонии доступна по ссылке

Инструменты пользователя

Инструменты сайта


kb:asterisk:events

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
kb:asterisk:events [2011/12/16 22:26]
nb создано
kb:asterisk:events [2014/11/14 22:32] (текущий)
Строка 1: Строка 1:
 ====== Asterisk Manager: Events ====== ====== Asterisk Manager: Events ======
  
-The following list of events was discovered by reading through the Asterisk ​source tree, with liberal applications of grep to help out.  +Ниже представлен список ответов генерируемых ​Asterisk ​на различные события и состояния системы.  
-I will hopefully come back some day and document these.  +Так как в официальной документации этот список не представлен,​ нам пришлось собирать его из различных источников,​ вплоть до исходных кодов ​Asterisk. 
-This is a definitive list of all the events and their fields that Asterisk ​generates as of 2004-09-02 CVS+Большая просьбапри обнаружении недокументированного здесь события,​ прислать его на нашу почту info@miko.ruчтобы мы могли дополнить этот список.
-This list took a very long time to preparedue to the non-uniformity of how events are triggered +
-I hope it helps you as much as it helped me.  +
-I have only checked the Zapata driver for eventsplease contribute events for the driver you use and make this reference complete! - David Wilson  +
-<dw at botanicus.net>​.+
  
  
Строка 347: Строка 343:
  ​Callerid2:​ 261  ​Callerid2:​ 261
 </​code>​ </​code>​
 +
 +==== '​Bridge'​ LocalBridge====
 +
 +**Описание**:​
 +
 +
 +**Пример**:​
 +<​code>​
 + ​Event:​ LocalBridge
 + ​privilege:​ call,all
 + ​sequencenumber:​ "​195711
 + file: chan_local.c
 + line: 922
 + func: local_call
 + ​channel1:​ Local/​261@from-internal-xfer-7d7c;​1
 + ​channel2:​ Local/​261@from-internal-xfer-7d7c;​2
 + ​uniqueid1:​ 1324888190.2065
 + ​uniqueid2:​ 1324888190.2066
 + ​context:​ from-internal-xfer
 + ​exten:​ 261
 + ​localoptimization:​ Yes
 +</​code>​
 +
 ==== '​MeetmeJoin'​ Event ==== ==== '​MeetmeJoin'​ Event ====
  
Строка 501: Строка 520:
 Newname: <​newname>​ Newname: <​newname>​
 Uniqueid: <​uniqueid></​code>​ Uniqueid: <​uniqueid></​code>​
 +
 +<​code>​
 + ​Event:​ Rename
 + ​Privilege:​ call,all
 + ​Sequencenumber:​ 196057
 + File: channel.c
 + Line: 6280
 + Func: __ast_change_name_nolink
 + ​Channel:​ SIP/​263-0000050e<​MASQ>​
 + ​Newname:​ Transfered/​SIP/​263-0000050e<​ZOMBIE> ​
 + ​Uniqueid:​ 1324888172.2063
 +</​code>​
  
 ==== '​SetCDRUserField'​ Event ==== ==== '​SetCDRUserField'​ Event ====
Строка 531: Строка 562:
 Callerid2: 261 Callerid2: 261
 </​code>​ </​code>​
 +
 +==== '​SoftHangupRequest'​ Event ====
 +
 +**Описание**:​
 +
 +It appears, in production environments,​ especially with call centers, that nothing enables us to know which side of the communication has cleared the call.
 +HangupRequest manager event, to specify when/where a channel gets hung up.
 +Events to let know which side (including CLI) of the call hangs up : HangupRequest and SoftHangupRequest
 +
 +**Пример**:​
 +<​code>​
 +Event: SoftHangupRequest
 +Privilege: call,all
 +Channel: SIP/​261-00000000
 +Uniqueid: 1324234300.0
 +Cause: 16
 +</​code>​
 +
 +==== '​HangupRequest'​ Event ====
 +
 +**Описание**:​
 +
 +It appears, in production environments,​ especially with call centers, that nothing enables us to know which side of the communication has cleared the call.
 +HangupRequest manager event, to specify when/where a channel gets hung up.
 +Events to let know which side (including CLI) of the call hangs up : HangupRequest and SoftHangupRequest
 +
 +**Пример**:​
 +<​code>​
 + ​Event:​ HangupRequest
 + ​Privilege:​ call,all
 + ​Sequencenumber:​ 196035
 + File: channel.c
 + Line: 1553
 + Func: ast_queue_hangup
 + ​Channel:​ SIP/​17-0000050f
 + ​Uniqueid:​ 1324888173.2064
 +</​code>​
 +
 ==== '​Hangup'​ Event ==== ==== '​Hangup'​ Event ====
  
Строка 596: Строка 665:
   * NOT DEFINED = 0   * NOT DEFINED = 0
  
 +==== '​Masquerade'​ Event ====
 +
 +**Описание**:​
 +
 +[Получено из channel.c]
 +
 +**Пример**:​
 +<​code>​
 + ​Event:​ Masquerade
 + ​privilege:​ call,all
 + ​sequencenumber:​ 196054
 + file: channel.c
 + line: 6722
 + func: ast_do_masquerade
 + ​clone:​ SIP/​263-0000050e
 + ​clonestate:​ Up
 + ​original:​ Transfered/​SIP/​263-0000050e
 + ​originalstate:​ Up
 +</​code>​
 ==== '​UnParkedCall'​ Event ==== ==== '​UnParkedCall'​ Event ====
  
kb/asterisk/events.1324074403.txt.gz · Последние изменения: 2014/11/14 22:32 (внешнее изменение)