[asterisk-bugs] [JIRA] (ASTERISK-30013) core_local: Local channels cannot have slashes in the destination

N A (JIRA) noreply at issues.asterisk.org
Fri Apr 8 18:59:57 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

N A updated ASTERISK-30013:
---------------------------

    Description: 
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.

  was:
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.

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.


> core_local: Local channels cannot have slashes in the destination
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-30013
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30013
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 18.9.0
>            Reporter: N A
>            Assignee: N A
>
> 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.



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



More information about the asterisk-bugs mailing list