[asterisk-bugs] [JIRA] (ASTERISK-19924) Setting the variable CHANNEL(tonezone) when using AMI command Originate seems to have no effect

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 05:51:07 CST 2017


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

Joshua Colp updated ASTERISK-19924:
-----------------------------------

    Affects Version/s: 13.18.4

> Setting the variable CHANNEL(tonezone) when using AMI command Originate seems to have no effect
> -----------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19924
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19924
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 1.8.12.1, 13.18.4
>            Reporter: Lelio della Pietra
>            Severity: Minor
>
> I need to set the tonezone for a DAHDI call, placed through AMI Originate command, to a non-default zone.
> If I change the tone zone through the dialplan it works (but, if the dest channel is a DAHDI, only if changed BEFORE the Dial, while a SIP channel allows a tonezone change even after the Dial):
> [macro-MACRO_StdCall]
> exten = s,1,Set(CHANNEL(tonezone)=it)
> exten = s,n,Dial(${ARG1})
> exten = s,n,Hangup()
> Now, if I start the call through the AMI Originate command, the
> Variable: CHANNEL(tonezone)=it
> has no effects and it's impossible to change the tone zone of a DAHDI placed call (for a SIP placed one I can act on the Context).



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



More information about the asterisk-bugs mailing list