[asterisk-bugs] [JIRA] (ASTERISK-23237) LocalBridge AMI Event LocalOptimization value is opposite to what's expected

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Jan 31 12:33:03 CST 2014


Matt Jordan created ASTERISK-23237:
--------------------------------------

             Summary: LocalBridge AMI Event LocalOptimization value is opposite to what's expected
                 Key: ASTERISK-23237
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23237
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_local
    Affects Versions: 11.3.0, 11.7.0
         Environment: OS: Ubuntu 12.04
HW: Xeon i3
            Reporter: Leon Roy


Executing the below Originate with /n suffixed to the channel. It should if I understand correctly prevent Local Channel Optimization.
However the subsequent AMI LocalBridge event shows LocalOptimization as Yes when really you’d expect it to show No.

Tested on 11.3.0 but looking at the code for 11.7.0 the code in channels/chan_local.c appears to be identical:

Here’s the Originate I’m sending:
{code}
:20140131150855GMT >>> action: Originate
-                  >>> actionid: 1273308587_5#
-                  >>> callerid: 6001
-                  >>> async: true
-                  >>> variable: actionId=1391180912854
-                  >>> variable: tsInterest=leon_office_vmstsp_default
-                  >>> variable: tsCalledId=3805
-                  >>> variable: tsDtmf=true
-                  >>> variable: tsIvr=true
-                  >>> variable: tsMoh=false
-                  >>> variable: tsMakeCallTimeout=30
-                  >>> variable: tsExtension=6001
-                  >>> variable: tsParty=first
-                  >>> variable: tsCallerId=6001
-                  >>> variable: tsCallbackTimeout=10
-                  >>> priority: 1
-                  >>> context: divoiceint
-                  >>> exten: 3805
-                  >>> channel: LOCAL/6001 at divoiceint/n
-                  >>> timeout: 60000
-                  >>> 
-20140131150855GMT <<< Response: Success
-20140131150855GMT <<< ActionID: 1273308587_5#
{code}

Response received:
{code}
:20140131150855GMT <<< Event: LocalBridge
 <<< Privilege: call,all
 <<< Channel1: Local/6001 at divoiceint-0000002d;1
 <<< Channel2: Local/6001 at divoiceint-0000002d;2
 <<< Uniqueid1: 1391180966.162
 <<< Uniqueid2: 1391180966.163
 <<< Context: divoiceint
 <<< Exten: 6001
 <<< LocalOptimization: Yes
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list