[Home]

Summary:ASTERISK-15344: [patch] Send manager event on Call Forward
Reporter:Nico Kooijman (syspert)Labels:
Date Opened:2009-12-21 06:35:54.000-0600Date Closed:2015-03-14 16:43:30
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ami-event-forward-16486.patch
( 1) forwardevent.patch
Description:We need a manager event to be sent when a call is being forwarded.
Patch attached.
NOTE: I filed this under Applications/app_dial, but the patch also applies to apps/app_queue.c

****** ADDITIONAL INFORMATION ******

The event looks as following:

Event: Forward
Privilege: call,all
Channel: SIP/ast163-00000000
Uniqueid: astium-21-1261395375.0
CallerIDNum: 333
CallerIDName: AAAA AAA
Destination: Local/555@phone
Via: SIP/ast162-00000001
Comments:By: Nico Kooijman (syspert) 2010-01-18 04:52:37.000-0600

Wile nobody else tested the patch, I took a fresh copy of the trunk and tested the patch again with a positive result.

By: Paul Belanger (pabelanger) 2010-04-20 23:28:35

Please include the required documentation for new manager events.

By: raarts (raarts) 2010-06-20 14:37:14

Ok, I took the patch and added the documentation. New patch uploaded.

By: Matt Jordan (mjordan) 2015-03-14 16:43:25.408-0500

Although this was implemented in a different fashion, the Asterisk 13 {{DialEnd}} event includes the call forward information, including the destination that the call was forwarded to.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerEvent_DialEnd

As such, I'm going to go ahead and close this out as Fixed, as a solution meeting the intent of the patch was provided in Asterisk 13.