From ac091d41844a9a4a0f7d539164bcd154351b6da7 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 3 Nov 2014 14:45:01 +0000 Subject: chan_pjsip: Add support for passing hold and unhold requests through. This change adds an option, moh_passthrough, that when enabled will pass hold and unhold requests through using a SIP re-invite. When placing on hold a re-invite with sendonly will be sent and when taking off hold a re-invite with sendrecv will be sent. This allows remote servers to handle the musiconhold instead of the local Asterisk instance being responsible. Review: https://reviewboard.asterisk.org/r/4103/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427112 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_pjsip.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'res/res_pjsip.c') diff --git a/res/res_pjsip.c b/res/res_pjsip.c index b350b7b77..dcf771bb3 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -576,6 +576,9 @@ Determines whether a user=phone parameter is placed into the request URI if the user is determined to be a phone number + + Determines whether hold and unhold will be passed through using re-INVITEs with recvonly and sendrecv to the remote side + String placed as the username portion of an SDP origin (o=) line. @@ -1560,6 +1563,9 @@ + + + -- cgit v1.2.3