[asterisk-bugs] [Asterisk 0011385]: Option eventwhencalled seems not working properly.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 28 16:19:44 CST 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11385 
====================================================================== 
Reported By:                corruptor
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11385
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 89624 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             11-27-2007 07:47 CST
Last Modified:              11-28-2007 16:19 CST
====================================================================== 
Summary:                    Option eventwhencalled seems not working properly.
Description: 
I have Queue [1] defined in queues.conf (see additional info) with
eventwhencalled=yes option and one member SIP/201.
When I call this queue (using macro-dialqueue, see additional info) and
listen to the events using manager api i get this event  when SIP/201 us
called:

Event: AgentCalled
Privilege: agent,all
AgentCalled: SIP/201
AgentName: 201
ChannelCalling: SIP/204-08bf95a0
CallerID: 204
CallerIDName: 204
Context: macro-dialqueue
Extension: s
Priority: 12
Variable: SIPUSERAGENT=THOMSON ST2030 hw3 fw1.56 00-0E-50-4E-F5-E4e|1") in
new stack new stack new stacknew stackackeid: 1196169296.2|Channel:
SIP/204-08bf95a0") in new stack

In Asterisk CLI i see error:
[Nov 27 16:14:12] ERROR[27795]: pbx.c:5740
pbx_builtin_serialize_variables: Data Buffer Size Exceeded!

This error go away if I change macro by deleting line with UserEvent. In
this case buffer size is not exceeded.

Setting eventwhencalled=vars doesn't change anything. 
I guess that Variable field should appear only when we set
eventwhencalled=vars.  
Anyway the formatting is unreadable.
Should this be somehow fixed?
Thank you.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 11-28-07 16:19  
---------------------------------------------------------------------- 
I had a lengthy discussion regarding those STACK variables. It seems that
if you have debug turned on, then every priority executed will be added as
a channel variable. A few of us agreed that this was unnecessary,
especially since these channel variables are not referenced anywhere else
in the code. So, in revision 90059 of 1.4, I have removed the offending
code. If not inclined to upgrade to that version, then those variables may
be suppressed by turning off debug on the console. This issue is closed! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-28-07 16:19  putnopvut      Status                   feedback => resolved
11-28-07 16:19  putnopvut      Resolution               open => fixed       
11-28-07 16:19  putnopvut      Note Added: 0074520                          
======================================================================




More information about the asterisk-bugs mailing list