[asterisk-bugs] [JIRA] (ASTERISK-28324) res_mwi_devstate does not allow variable replacement in dialplan
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Wed Mar 6 05:39:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp closed ASTERISK-28324.
-------------------------------------
Resolution: Configuration Issue
This is a configuration issue. You are using ( and ) instead of { and } in your extension, so the variable substitution never occurs. I've tested and confirmed that after fixing this it works as expected and the hint is created as expected. If this is not the case then you'll need to provide an updated example, console output, and "core show hints" output.
> res_mwi_devstate does not allow variable replacement in dialplan
> ----------------------------------------------------------------
>
> Key: ASTERISK-28324
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28324
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.25.0, 16.2.1
> Environment: CentOS 7
> Reporter: Ross Beer
> Severity: Minor
>
> Presence subscriptions currently allow the use of variable replacement, for example:
> exten => _MWIXXXXX,hint,MWI:$(EXTEN:3)@default
> However, the above does not work with the new res_mwi_devstate module, instead to get it to work you must explicitly set the 'MWI:<value>@default'.
> There has been a standing issue for years with the presence variable replacements using variables such as account code that would also be great to rectify as this would allow for a far more flexible BLF/Subscription dial plan.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list