[asterisk-bugs] [JIRA] (ASTERISK-27443) Add a dynamic feature on callee channel

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Nov 22 11:35:08 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240234#comment-240234 ] 

Asterisk Team commented on ASTERISK-27443:
------------------------------------------

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].

> Add a dynamic feature on callee channel
> ---------------------------------------
>
>                 Key: ASTERISK-27443
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27443
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>            Reporter: Thomas Sevestre
>
> I want to activate a dynamic feature on callee channel only.
> According to the documentation, "ActivatedBy is no longer honored. The feature is activated by which channel DYNAMIC_FEATURES includes the feature is on. Use predial to set different values of DYNAMIC_FEATURES on the channels" 
> https://wiki.asterisk.org/wiki/display/AST/Custom+Dynamic+Features
> With the variable inheritance system, it is not possible to set a variable on the callee channel only. With DYNAMIC_FEATURES, _DYNAMIC_FEATURES, __DYNAMIC_FEATURES caller channel will always have the feature enabled
> I've tried to add a the DYNAMIC_FEATURES variable on the callee channel after bridge, it doesn't work.
> We could add the ability to add a variable on the callee channel. for instance :
> Set(*DYNAMIC_FEATURES=test)
> This can be implementeded in channel.c / ast_channel_inherit_variables
> by replacing this line :
> 		if (varname[0] == '_') {
> with this one :
> 		if (varname[0] == '_' || varname[0] == '*') {
> If interested I'll provide the patch in gerrit



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list