Summary: | ASTERISK-10027: Put manage 'newexten' calls into new event | ||
Reporter: | snuffy (snuffy) | Labels: | |
Date Opened: | 2007-08-05 17:57:11 | Date Closed: | 2008-01-09 18:10:23.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) manager_event_1.4.diff ( 1) manager_event.diff | |
Description: | This helps cut down number of events with 'call' by adding a seperate event mask for 'newexten' events. This way you only get true call events vs what dialplan etc they are now in. New flag is EVENT_FLAG_EXTEN To enable in manager.conf add 'exten'. can also submit a 1.4 patch | ||
Comments: | By: jmls (jmls) 2007-08-06 01:05:28 works well for me with 1.4. In my case it has cut down on unrequired manager traffic by 90+% Thanks for this. Please, please would someone consider this for 1.4. By: snuffy (snuffy) 2007-08-06 08:04:41 As a sidenote.. since 'verbose' flag is pretty much unused.. maybe the 'exten' could just be removed and the pre-existing verbose flag controls the 'newexten' pbx events in pbx.c and pbx_realtime.c By: Brandon Kruse (bkruse) 2007-10-30 09:30:14 Ping, Any update on this? jmls said this works great! devs? -bk By: Olle Johansson (oej) 2007-12-18 02:34:24.000-0600 Ok, I like separating "call" events from the rest. But this is not really an extension event, but a dialplan change event. I need to check around a bit, but there is certainly something here. We discussed about splitting up the "call" event class in another bug report, so this falls in line with that. And it's a good change to do now that we changed manager version number anyway. By: Olle Johansson (oej) 2007-12-18 02:38:33.000-0600 Extensionstatus, listdialplan could also fit in this category. By: Olle Johansson (oej) 2007-12-18 02:41:47.000-0600 Sent mail to asterisk-dev By: Digium Subversion (svnbot) 2008-01-09 18:10:22.000-0600 Repository: asterisk Revision: 97651 U trunk/CHANGES U trunk/apps/app_stack.c U trunk/apps/app_voicemail.c U trunk/channels/chan_iax2.c U trunk/channels/chan_sip.c U trunk/configs/manager.conf.sample U trunk/include/asterisk/manager.h U trunk/main/db.c U trunk/main/manager.c U trunk/main/pbx.c U trunk/pbx/pbx_realtime.c U trunk/res/res_features.c ------------------------------------------------------------------------ r97651 | tilghman | 2008-01-09 18:10:22 -0600 (Wed, 09 Jan 2008) | 11 lines Several manager changes: 1) Add the Dialplan class, for NewExten and VarSet events, which should cut down on the volume of traffic in the Call class. 2) Permit some commands to be run from multiple classes, such as allowing DBGet to be run from either the System or the Reporting class. 3) Heavily document each class in the sample config, as there were several that made no sense to be in the write= line, and two that made no sense to be in the read= line (since they controlled no permissions there). (Closes issue ASTERISK-10027) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=97651 |