mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 05:39:39 +00:00
Allow support for early media on AMI originates and call files.
This is based on the work done by Olle Johansson on review board. The idea is that the channel specified in an AMI originate or call file is typically not connected to the outgoing extension until the channel has been answered. With this change, an EarlyMedia header can be specified for AMI originates and an early_media option can be specified in call files. With this option set, once early media is received on a channel, it will be connected with the outgoing extension. (closes issue ASTERISK-18644) Reported by Olle Johansson Review: https://reviewboard.asterisk.org/r/1472 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -907,6 +907,7 @@ struct outgoing_helper {
|
||||
const char *context;
|
||||
const char *exten;
|
||||
int priority;
|
||||
int connect_on_early_media; /* If set, treat session progress as answer */
|
||||
const char *cid_num;
|
||||
const char *cid_name;
|
||||
const char *account;
|
||||
|
Reference in New Issue
Block a user