mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
core/dial: New channel variable FORWARDERNAME
Added a new channel variable FORWARDERNAME which indicates which channel was responsible for a forwarding requests received on dial attempt. Fixed a bug in the app_queue: FORWARD_CONTEXT is not used. ASTERISK-26059 #close Change-Id: I34e93e8c1b5e17776a77b319703c48c8ca48e7b2
This commit is contained in:
@@ -2162,9 +2162,10 @@ int bridge_channel_internal_push_full(struct ast_bridge_channel *bridge_channel,
|
||||
|
||||
ast_bridge_publish_enter(bridge, bridge_channel->chan, swap ? swap->chan : NULL);
|
||||
|
||||
/* Clear any BLINDTRANSFER and ATTENDEDTRANSFER since the transfer has completed. */
|
||||
/* Clear any BLINDTRANSFER,ATTENDEDTRANSFER and FORWARDERNAME since the transfer has completed. */
|
||||
pbx_builtin_setvar_helper(bridge_channel->chan, "BLINDTRANSFER", NULL);
|
||||
pbx_builtin_setvar_helper(bridge_channel->chan, "ATTENDEDTRANSFER", NULL);
|
||||
pbx_builtin_setvar_helper(bridge_channel->chan, "FORWARDERNAME", NULL);
|
||||
|
||||
/* Wake up the bridge channel thread to reevaluate any interval timers. */
|
||||
ast_queue_frame(bridge_channel->chan, &ast_null_frame);
|
||||
|
Reference in New Issue
Block a user