[Home]

Summary:ASTERISK-10351: An application send custom event through manager interface
Reporter:Yunlong Liu (lyl)Labels:
Date Opened:2007-09-20 21:19:31Date Closed:2011-06-07 14:08:12
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_manager.patch
Description:    We have an AGI script which must pass some value to an application which listen  for manager event. So I invent this patch, which can send custom event to manager interface.
Comments:By: Yunlong Liu (lyl) 2007-09-20 21:23:03

Later I will work out a patch against the trunk code

By: Yunlong Liu (lyl) 2007-09-20 21:25:18

Usage:
   
  exten=>s,1,ManagerEvent(key1:value1|key2:value2|key3:value3)

By: Yunlong Liu (lyl) 2007-09-20 21:27:13

If you use ael2, you can add the following line to applist to make aelparse working.

   ManagerEvent: "Send Custom Event through manager interface"; args=pairs|...;

By: Eliel Sardanons (eliel) 2007-09-20 21:49:41

lyl: Why you can't use UserEvent()?
apps/app_userevent.c

By: Yunlong Liu (lyl) 2007-09-21 00:19:54

tested UserEvent, it can be used in my AGI, thanks to eliel

By: Joshua C. Colp (jcolp) 2007-09-21 08:19:18

Closed as functionality already exists.