Subject: [Megaco] Requesting to play tones after the playing of current tones is completed

From: "Julio Martinez-Minguito \(TN/EAB\)" <[email-masked]>
Date: Thu, 28 Sep 2006 16:41:15 +0200

Hi,

If the MGC request the MG to play a sequence of tones (e.g. d1, d2), 
can the MGC send a command (before the playing of the first tones has
completed) requesting to play more tones after the playing of the first
tones has completed ?

I.e.
The MGC request to play a sequence of tones:

	Modify=T1{Signals{SignalList=1{dg/d1, dg/d2}}}

The MGC doesn't want to interrupt the playing of those tones, and wants
the MG to play more tones after the current tones are completed. The MGC
sends a new signals descriptor.

According to H.248.1 7.1.11
	A new Signals Descriptor replaces any existing Signals
Descriptor. Any signals applied to the
	termination not in the replacement descriptor shall be stopped,
and new signals are applied, except
	as follows. Signals present in the replacement descriptor and
containing the KeepActive flag shall
	be continued if they are currently playing and have not already
completed. If a replacement Signals
	Descriptor contains a signal that is not currently playing and
contains the KeepActive flag, that
	signal shall be ignored. If the replacement descriptor contains
a sequential signal list with the same
 	identifier as the existing descriptor, then:
 		* the signal type and sequence of signals in the
sequential signal list in the replacement
	 	descriptor shall be ignored; and
		* the playing of the signals in the sequential signal
list in the existing descriptor shall not be
		interrupted.
So, 
	Modify=T1{Signals{SignalList=1{dg/d1{KeepActive},
dg/d2{KeepActive}, dg/d3}}}
Won't work because the signalList has the same id, the newer is just
ignored.

But if we send with a different signal list id, what shall be expected?
	Modify=T1{Signals{SignalList=2{dg/d1{KeepActive},
dg/d2{KeepActive}, dg/d3}}}
Sending a new signal list id will interrupt the signal list 1, or?

Is the only solution that the MGC waits for a notify completion before
requesting more tones?

Is possible with the current megaco to do as in the sequence below?

------------------------------------------------------------------------
-- > time
MGC request to play {d1, d2}
 MG starts playing d1
     MGC request to play {d1 KA, d2 KA, d3} 
		d1 finished, MGW starts playing d2
				d2 finished, MGW starts playing d3
						d3 finished

Regards, Julio

_______________________________________________
Megaco mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/megaco