Merge "channel/chan_pjsip: add dialplan function for music on hold"

This commit is contained in:
Friendly Automation
2019-10-07 08:02:42 -05:00
committed by Gerrit Code Review
6 changed files with 113 additions and 2 deletions

View File

@@ -2306,6 +2306,7 @@ struct ast_sip_session *ast_sip_session_alloc(struct ast_sip_endpoint *endpoint,
session->inv_session = inv_session;
session->dtmf = endpoint->dtmf;
session->moh_passthrough = endpoint->moh_passthrough;
if (ast_sip_session_add_supplements(session)) {
/* Release the ref held by session->inv_session */