Severity
Major
Versions
18.9.0
Components/Modules
core_local
Operating Environment
N/A
Frequency of Occurrence
Constant
Issue Description
Imported from JIRA: https://issues.asterisk.org/jira/browse/ASTERISK-30013
Currently, a slash cannot be used in dialing any local channels. The code for core_local uses strchr to parse options on the first '/' it finds, which butchers the result if this is done.
For example: Local/PJSIP/mydevice and Local/foo/bar will both currently fail.
However, including slashes in extensions, generally, is perfectly fine and works in most other contexts in Asterisk. This fixes this oversight with the Local channel driver so that extensions containing the slash can be specified.
Relevant log output
No response
Asterisk Issue Guidelines
Severity
Major
Versions
18.9.0
Components/Modules
core_local
Operating Environment
N/A
Frequency of Occurrence
Constant
Issue Description
Imported from JIRA: https://issues.asterisk.org/jira/browse/ASTERISK-30013
Currently, a slash cannot be used in dialing any local channels. The code for core_local uses strchr to parse options on the first '/' it finds, which butchers the result if this is done.
For example: Local/PJSIP/mydevice and Local/foo/bar will both currently fail.
However, including slashes in extensions, generally, is perfectly fine and works in most other contexts in Asterisk. This fixes this oversight with the Local channel driver so that extensions containing the slash can be specified.
Relevant log output
No response
Asterisk Issue Guidelines