[ 
https://issues.apache.org/jira/browse/CAMEL-26185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-26185.
---------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/camel/pull/29009 (merged to main as 
e6ae7a3dad087636e587b4d373a753c5fe3a3da6).

_Claude Code on behalf of Claus Ibsen (davsclaus)_

> camel-asterisk - the QUEUE_STATUS and SIP_PEERS actions return only the "will 
> follow" response, the queue and peer events are lost
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26185
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26185
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-asterisk
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> Found while adding the catalog body types of asterisk (CAMEL-24961, PR 
> #28413).
> h4. 1. QUEUE_STATUS and SIP_PEERS lose their result events
> {{AsteriskProducer.process}} (main 2a465aa4814c, line 73) sends every action 
> with {{AsteriskConnection.sendAction}} (line 102 to 105), which returns the 
> first {{ManagerResponse}} only. {{QueueStatusAction}} and {{SipPeersAction}} 
> are event generating actions: the answer is a "will follow" response, and the 
> actual data comes as {{QueueParamsEvent}}/{{QueueMemberEvent}} and 
> {{PeerEntryEvent}} events, which are dropped. The body after the producer is 
> only the "will follow" response. Checked on 4.24.0-SNAPSHOT with a fake AMI 
> server.
> Proposed: use {{ManagerConnection.sendEventGeneratingAction}} for event 
> generating actions and set the {{ResponseEvents}} (or the list of events) as 
> the body.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to