Optional HOLD/RETRIEVE signaling for PTMP TE when the bridge goes on and off hold.

Added the moh_signaling option to specify what to do when the channel's
bridged peer puts the ISDN channel on and off of hold.

Implemented as a FSM to control libpri ISDN signaling when the bridged
peer places the channel on and off of hold with the AST_CONTROL_HOLD and
AST_CONTROL_UNHOLD control frames.

JIRA SWP-2687
JIRA ABE-2691

Review:	https://reviewboard.asterisk.org/r/1063/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2011-01-04 16:38:28 +00:00
parent 9be73e35de
commit 90177fe708
6 changed files with 1011 additions and 65 deletions

View File

@@ -902,15 +902,22 @@ pickupgroup=1
;
;faxbuffers=>6,full
;
; This option specifies what to do when the channel's bridged peer puts the
; ISDN channel on hold. Settable per logical ISDN span.
; moh: Generate music-on-hold to the remote party.
; notify: Send hold notification signaling to the remote party.
; For ETSI PTP and ETSI PTMP NT links.
; (The notify setting deprecates the mohinterpret=passthrough setting.)
; hold: Use HOLD/RETRIEVE signaling to release the B channel while on hold.
; For ETSI PTMP TE links.
;
;moh_signaling=moh
;
; This option specifies a preference for which music on hold class this channel
; should listen to when put on hold if the music class has not been set on the
; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer
; channel putting this one on hold did not suggest a music class.
;
; If this option is set to "passthrough", then the hold message will always be
; passed through as signalling instead of generating hold music locally. This
; setting is only valid when used on a channel that uses digital signalling.
;
; This option may be set globally or on a per-channel basis.
;
;mohinterpret=default