[asterisk-commits] kmoore: branch 13 r429433 - in /branches/13: ./ res/res_pjsip_sdp_rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 12 08:12:12 CST 2014
Author: kmoore
Date: Fri Dec 12 08:12:09 2014
New Revision: 429433
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=429433
Log:
PJSIP: Allow use of 'inactive' streams for hold
This allows use of the 'inactive' stream direction identifier to be
used for hold where 'sendonly' is normally used. Some Seimens phones
use 'inactive' and this change allows music on hold to operate
properly.
Review: https://reviewboard.asterisk.org/r/4252/
Reported by: Steve Pitts
........
Merged revisions 429432 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/res/res_pjsip_sdp_rtp.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/res/res_pjsip_sdp_rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_sdp_rtp.c?view=diff&rev=429433&r1=429432&r2=429433
==============================================================================
--- branches/13/res/res_pjsip_sdp_rtp.c (original)
+++ branches/13/res/res_pjsip_sdp_rtp.c Fri Dec 12 08:12:09 2014
@@ -1187,7 +1187,8 @@
if (ast_sockaddr_isnull(addrs) ||
ast_sockaddr_is_any(addrs) ||
- pjmedia_sdp_media_find_attr2(remote_stream, "sendonly", NULL)) {
+ pjmedia_sdp_media_find_attr2(remote_stream, "sendonly", NULL) ||
+ pjmedia_sdp_media_find_attr2(remote_stream, "inactive", NULL)) {
if (!session_media->held) {
/* The remote side has put us on hold */
ast_queue_hold(session->channel, session->endpoint->mohsuggest);
More information about the asterisk-commits
mailing list