Re: Question on using signal parameters for stimal/stedsig signal

"Bhattacharjee, Arindam (Arindam)" <[email protected]> Tue, 3 Sep 2013 17:28:02 +0000
Newsgroups gmane.ietf.megaco
Message-ID <7DE39EC55B99FC47A3DEB6179256D99176F44D0C@US70UWXCHMBA01.zam.alcatel-lucent.com>
--===============7790121696487758617==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_7DE39EC55B99FC47A3DEB6179256D99176F44D0CUS70UWXCHMBA01z_"

--_000_7DE39EC55B99FC47A3DEB6179256D99176F44D0CUS70UWXCHMBA01z_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Murugesh,

Signal Type: OnOff is default type in the specification. If SignalType=3D t=
imeout is specified in the message then default type OnOff is overridden.

In your case MG should apply the signal with timeout of Duration=3D15.


In section 7.1.11 of H248.1
If a signal of default type other than TO has its type overridden to type T=
O in the Signals Descriptor, the duration parameter must be present.

-Arindam

From: [email protected] [mailto:[email protected]] On Behalf Of=
 Murugesh Govindaraju
Sent: Tuesday, September 03, 2013 6:14 AM
To: [email protected]
Cc: Ramesh Kuppili
Subject: [Megaco] Question on using signal parameters for stimal/stedsig si=
gnal

Hi All,
Stimulus analogue line package (H.248.34) has a signal "Steady Signal" defi=
ned in it.

Following is the definition of this signal from this package:
6.3.2 Steady Signal
Signal name: Steady Signal
Signal ID: stedsig (0x0002)
Description: Used by the MGC to instruct the MG to apply a steady signal.
Signal Type: OnOff
Duration: not applicable

This signal has only one parameter called "sig".

What if we receive the following request from switch, which contains the si=
gnal parameters signalType and Duration:

MEGACO/1 Transaction =3D 387699 {Context =3D 48 {

    Modify =3D AL3{Media{LocalControl {   Mode =3D SendReceive

        }},

      Signals {

        stimal/stedsig {

          SignalType =3D timeOut,

          Duration =3D 15,

          sig =3D reversePolarity

        }

      },

      Events =3D 2527 {

        al/on,

        al/of,

        al/fl

      }

    }

  }

}
Here is my question:
Though the signal definition in package says that the steady signal is of t=
ype "OnOff", but the switch says as "timeOut" and duration as not applicati=
on, but the switch says as "15" sec.
What should be the behavior of the MG in this case?
--
Thanks,
Murugesh G

--_000_7DE39EC55B99FC47A3DEB6179256D99176F44D0CUS70UWXCHMBA01z_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Trebuchet MS";
	panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Trebuchet MS","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Murugesh,<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">Signal Type: OnOff i=
s default type in the specification. If SignalType=3D timeout is specified =
in the message then default type OnOff is overridden.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">In your case MG shou=
ld apply the signal with timeout of Duration=3D15.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">In section 7.1.11 of=
 H248.1<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">If a signal of defau=
lt type other than TO has its type overridden to type TO in the Signals Des=
criptor, the duration parameter must be present.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D">-Arindam<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Tr=
ebuchet MS&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></s=
pan></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif=
&quot;;color:windowtext"> [email protected] [mailto:megaco-bounces@ie=
tf.org]
<b>On Behalf Of </b>Murugesh Govindaraju<br>
<b>Sent:</b> Tuesday, September 03, 2013 6:14 AM<br>
<b>To:</b> [email protected]<br>
<b>Cc:</b> Ramesh Kuppili<br>
<b>Subject:</b> [Megaco] Question on using signal parameters for stimal/ste=
dsig signal<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Hi All,<br>
Stimulus analogue line package (H.248.34) has a signal &quot;Steady Signal&=
quot; defined in it.
<br>
<br>
Following is the definition of this signal from this package:<br>
<b>6.3.2 Steady Signal<br>
Signal name: Steady Signal<br>
Signal ID: stedsig (0x0002)<br>
Description: Used by the MGC to instruct the MG to apply a steady signal.<b=
r>
Signal Type: OnOff<br>
Duration: not applicable</b><br>
<br>
This signal has only one parameter called &quot;sig&quot;. <br>
<br>
What if we receive the following request from switch, which contains the si=
gnal parameters signalType and Duration:<o:p></o:p></p>
<pre>MEGACO/1 Transaction =3D 387699 {Context =3D 48 {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; Modify =3D AL3{Media{LocalControl {&nbsp;&nbsp; Mod=
e =3D SendReceive<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }},<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Signals {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stimal/stedsig {<o:p></o:p>=
</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>SignalType =
=3D timeOut,<o:p></o:p></b></pre>
<pre><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Duration =3D=
 15,</b><o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sig =3D reverse=
Polarity<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events =3D 2527 {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; al/on,<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; al/of,<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; al/fl<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; }<o:p></o:p></pre>
<pre>}<o:p></o:p></pre>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Here is my question:<=
br>
Though the signal definition in package says that the steady signal is of t=
ype <b>
&quot;OnOff&quot;</b>, but the switch says as &quot;<b>timeOut</b>&quot; an=
d duration as not application, but the switch says as &quot;15&quot; sec.<b=
r>
What should be the behavior of the MG in this case?<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">-- <br>
<b>Thanks,<br>
Murugesh G </b><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_7DE39EC55B99FC47A3DEB6179256D99176F44D0CUS70UWXCHMBA01z_--

--===============7790121696487758617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Megaco mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/megaco

--===============7790121696487758617==--