[asterisk-bugs] [JIRA] (ASTERISK-27161) Local channel incorrectly changes CallerIDNum

John Lagonikas (JIRA) noreply at issues.asterisk.org
Thu Jul 27 08:24:58 CDT 2017


John Lagonikas created ASTERISK-27161:
-----------------------------------------

             Summary: Local channel incorrectly changes CallerIDNum
                 Key: ASTERISK-27161
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27161
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_local
    Affects Versions: 14.6.0, 13.17.0
         Environment: CentOS 6 64bit
            Reporter: John Lagonikas
         Attachments: full.0

We have detected that, when performing an Originate action through AMI to a local channel using a custom callerid, the local channel changes it's CallerIDNum to that of the produced SIP channel, instead of retaining the callerid specified in the originate action. This causes the resulting call to present a caller ID number different to the one requested.

This behavior was different in asterisk versions 11 and back.

The manager action used to produce the call was the following:

action: Originate
channel: Local/mboZYVBvr5VVkyQtfDkoxvAzQ1 at mb_all_calls
timeout: 20000
callerid:  <5432>
account: TestPhone1
application: Dial
data: SIP/TestPhone2,20
actionid: mboZYVBvr5VVkyQtfDkoxvAzQ1
async: 1
variable: 

The call is then directed by the dialplan to a FastAGI application which performs this single action:

EXEC "Dial" "SIP/TestPhone1" 

As you can see in the attached logfile, line 404, the local channel changes its Caller ID to that of the resulting SIP channel.



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



More information about the asterisk-bugs mailing list