Skip to content

[bug]: core_local: Local channels cannot have slashes in the destination #248

Description

@InterLinked1

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

  • Yes, I have read the Asterisk Issue Guidelines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions