[asterisk-bugs] [JIRA] (ASTERISK-20463) Atxfer manager command (and channel feature) can't transfer to an extension including '#'

Birger "WIMPy" Harzenetter (JIRA) noreply at issues.asterisk.org
Sat Oct 17 20:25:32 CDT 2015


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

Birger "WIMPy" Harzenetter edited comment on ASTERISK-20463 at 10/17/15 8:25 PM:
---------------------------------------------------------------------------------

I don't see why you think it would be no good for real feature transfers.
They start executing the dialplan as soon as there's a match, without the need for a terminating #.
So I think it should be fixed for all cases.

I do however see a potential issue with dialing out on a SIP peer. That issue does however already exist in other circumstances.



was (Author: wimpy):
I don't see why you think it would be no good for real feature transfers.
They start executing the dialplan as soon as there's a math, without the need for a terminating #.
So I think it should be fixed for all cases.

I do however see a potential issue with dialing out on a SIP peer. That issue does however already exist in other circumstances.


> Atxfer manager command (and channel feature) can't transfer to an extension including '#'
> -----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20463
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20463
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Features
>    Affects Versions: 10.1.3, 10.7.0
>         Environment: Linux, 3.2.0-29-generic, Asterisk 10.7.0 and 10.1.3
>            Reporter: Dade Brandon
>            Severity: Minor
>
> 1) in app.c, ast_app_dbget: always breaks loop when receiving '#' (and doesn't append it to the dtmf string)
> 2) in features.c, builtin_atxfer: calls ast_app_dbget to retrieve transfer to extension
> 3) in manager.c, action_transfer queues dtmf frames to perform transfer
> Because of this, if in the manager interface, I supply Exten: ##971, then it's read as an empty extension
> Atxfer will not work on any extension that requires a #
> I'm sure this won't receive top priority (And I rewrote my extensions already, that are auto generated by my crm...)
> but I was looking for a long time in configs and docs, thinking that '#' being a terminatr was a config problem on my end
> Could the lack of support for extensions containing a '#' be added to the documentation?
> A solution could be to modify action_atxfer to set a flag indicating that dtmfs are being simulated, causing '#' to read in to the extension string, but I didn't opt to write a patch for that because I don't know if such a workaround for a relatively insignificant feature (atxfer) would meet Asterisk's code quality guidelines.  That solution doesn't work for a true dtmf initiated atxfer, though.  Can ast_app_dbget be rewritten to only stop at a '#' if it's sure that there's no possible matching extensions that could use this '#'?



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



More information about the asterisk-bugs mailing list