[asterisk-bugs] [JIRA] (ASTERISK-29509) Callerid not being set via AMI Originate
Daniel Harper (JIRA)
noreply at issues.asterisk.org
Tue Jul 6 18:17:33 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255543#comment-255543 ]
Daniel Harper commented on ASTERISK-29509:
------------------------------------------
This is the AMI command I am sending and the response. Note that I am trying to set the Callerid to "AMI CALLERID" as per the documentation
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerAction_Originate specifically "CallerID - Caller ID to be set on the outgoing channel."
Sent-> Exten: 039017010301
Sent-> Callerid: AMI CALLERID
Sent-> Channel: Local/8013 at tcg-queue/n
Sent-> Account: TESTJOB123
Sent-> Context: ast-test
Sent-> Action: Originate
Sent-> Priority: 1
Sent-> Timeout: 5000
Sent->
Recieved-> Response: Success
Recieved-> Message: Originate successfully queued
Recieved->
>From the logs and CLI I can see that I am still getting the endpoints callerid not the callerid I requested on via the Originate ...
[Jul 7 11:10:17] DEBUG[22505][C-00000006] pbx_variables.c: Function CALLERID(number) result is '251'
[Jul 7 11:10:17] DEBUG[22505][C-00000006] pbx_variables.c: Function CALLERID(name) result is 'Ext 251'
[Jul 7 11:10:17] DEBUG[22505][C-00000006] pbx.c: Launching 'NoOp'
[Jul 7 11:10:17] VERBOSE[22505][C-00000006] pbx.c: Executing [039017010301 at ast-test:1] NoOp("Local/8013 at tcg-queue-00000003;1", "callerid num=251 callerid name=Ext 251 ") in new stack
Previously on 16.18.0 the callerid name and number would be displayed as the endpoint number regardless of what the actual endpoint's callerid was set at hence I opened this case on the presumption that are some callerid bugs somewhere with one being fixed in the 16.19.0 release.
Happy to provide further dial plan/logs if required.
Cheers,
Daniel
> Callerid not being set via AMI Originate
> ----------------------------------------
>
> Key: ASTERISK-29509
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29509
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/CallerID
> Affects Versions: 16.19.0
> Environment: CentOS Linux release 7.9.2009 (Core)
> Reporter: Daniel Harper
> Assignee: Daniel Harper
> Severity: Major
> Attachments: full
>
>
> When issuing an Originate via AMI with a Callerid parameter the parameter is being ignored and the callerid name is not being set.
> I was testing previously on 16.18.0 but on this version the endpoints callerid was being ignored and the name an num were the extension number. I upgrade to 16.19.0 and this issue is fixed but now the callerid parameter sent via the AMI Originate is being ignored (as it was also in 16.18.0)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list