mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
channel/chan_pjsip: add dialplan function for music on hold
Add a new dialplan function PJSIP_MOH_PASSTHROUGH that allows the on-hold behavior to be controlled on a per-call basis ASTERISK-28542 #close Change-Id: Iebe905b2ad6dbaa87ab330267147180b05a3c3a8
This commit is contained in:
committed by
Torrey Searle
parent
ac331bff34
commit
9a933c3adc
@@ -211,6 +211,8 @@ struct ast_sip_session {
|
||||
unsigned int defer_end:1;
|
||||
/*! Session end (remote hangup) requested while termination deferred */
|
||||
unsigned int ended_while_deferred:1;
|
||||
/*! Whether to pass through hold and unhold using re-invites with recvonly and sendrecv */
|
||||
unsigned int moh_passthrough:1;
|
||||
/*! DTMF mode to use with this session, from endpoint but can change */
|
||||
enum ast_sip_dtmf_mode dtmf;
|
||||
/*! Initial incoming INVITE Request-URI. NULL otherwise. */
|
||||
|
Reference in New Issue
Block a user