[Home]

Summary:ASTERISK-27266: cel and channel(userfield)
Reporter:Aidar Kamalov (aidar.kamalov@gmail.com)Labels:cel
Date Opened:2017-09-12 00:15:44Date Closed:2017-09-12 05:25:39
Priority:MajorRegression?
Status:Closed/CompleteComponents:CEL/cel_custom CEL/General
Versions:14.6.1 Frequency of
Occurrence
Related
Issues:
Environment:centos 7Attachments:
Description:I have Set(CHANNEL(userfield)=AAAAAA) in first line of extension in dialplan and ${CSV_QUOTE(${CHANNEL(userfield)})} in cel_custom.conf

after the call, this value AAAAAAA is only present in 6 rows of 13. not in all.

"CHAN_START","2017-09-12 05:12:01","53003","34200","kamailio",""
"CHAN_START","2017-09-12 05:12:01","","s","kamailio",""
"ANSWER","2017-09-12 05:12:03","34200","34200","kamailio",""
"ANSWER","2017-09-12 05:12:03","53003","34200","kamailio","AAAAAA"
"BRIDGE_ENTER","2017-09-12 05:12:03","34200","","kamailio",""
"BRIDGE_ENTER","2017-09-12 05:12:03","53003","34200","kamailio","AAAAAA"
"BRIDGE_EXIT","2017-09-12 05:12:04","34200","","kamailio",""
"HANGUP","2017-09-12 05:12:04","34200","","kamailio",""
"CHAN_END","2017-09-12 05:12:04","34200","","kamailio",""
"BRIDGE_EXIT","2017-09-12 05:12:04","53003","34200","kamailio","AAAAAA"
"HANGUP","2017-09-12 05:12:04","53003","h","kamailio","AAAAAA"
"CHAN_END","2017-09-12 05:12:04","53003","h","kamailio","AAAAAA"
"LINKEDID_END","2017-09-12 05:12:04","53003","h","kamailio","AAAAAA"


Is it bug or feature?
Comments:By: Asterisk Team (asteriskteam) 2017-09-12 00:15:45.930-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2017-09-12 05:25:39.877-0500

This is not a bug or feature really, but simply how you have written your dialplan. CEL stores channel events, and you've only set the userfield on a single channel while your log shows two channels logging events. Since the second channel does not have a userfield set it is not placed into the logs.

By: Aidar Kamalov (aidar.kamalov@gmail.com) 2017-09-12 08:55:28.596-0500

do you mean it is possible to set userfield on all channels?


By: Asterisk Team (asteriskteam) 2017-09-12 08:55:29.346-0500

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2017-09-12 08:56:59.697-0500

The issue tracker isn't a support forum, you are already following up elsewhere so continue there. If anyone is able to provide help there they will.