<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--p
        {widows: 2;
        orphans: 2 ;}
p.WESTERN
        {so-language: it-IT ;}
p.CTL
        {so-language: ar-SA ;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.95pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
p.western, li.western, div.western
        {mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.95pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
p.cjk, li.cjk, div.cjk
        {mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.95pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:Calibri;
        color:black;}
p.ctl, li.ctl, div.ctl
        {mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.95pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1420252506;
        mso-list-template-ids:664980736;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Not sure how this would work, but you
could create a special MOH file that was 10 seconds of ringing followed by the
normal MOH &#8211; I know this CAN be done, just takes a bit of trial and
error.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Matteo Campana<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 10, 2010 8:41
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] Ring
+ Music on Hold in the same call</span></font><font color=black><span
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Ok Danny but with this example I have 2 calls in the
called phone, and this is what I have to avoid!<br>
<br>
Regards,<br>
Matteo<br>
<br>
Il 10/06/2010 15.16, Danny Nicholas ha scritto: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"><!--[if gte mso 9]><xml>
  <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
  <u1:shapelayout u3:ext="edit">
   <u1:idmap u3:ext="edit" data="1"/>
  </u1:shapelayout>
</xml><![endif]-->Here is one way to do it (works in 1.4.22-1.4.30 at least)<u1:p></u1:p></span></font><o:p></o:p></p>

<div style='border:dashed #2F6FAB 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;
-moz-background-clip: border;-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><pre style='line-height:13.2pt;background:#F9F9F9'><font size=2
color=black face="Courier New"><span style='font-size:10.0pt'>exten =&gt; s,n,Dial(SIP/XXXX,10)<u1:p></u1:p><o:p></o:p></span></font></pre><pre
style='line-height:13.2pt;background:#F9F9F9;-moz-background-clip: border;
-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>exten =&gt; s,n,Dial(SIP/XXXX,90,m(default))<u1:p></u1:p><o:p></o:p></span></font></pre><pre
style='line-height:13.2pt;background:#F9F9F9;-moz-background-clip: border;
-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></pre><pre
style='line-height:13.2pt;background:#F9F9F9;-moz-background-clip: border;
-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>This snippet will ring XXXX for 10 seconds with Ringing, then ring XXXX for 90 seconds or until answered with MOH.<u1:p></u1:p><o:p></o:p></span></font></pre><pre
style='line-height:13.2pt;background:#F9F9F9;-moz-background-clip: border;
-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></pre></div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Matteo Campana<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 10, 2010 8:03
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:personname u4:st="on"><st1:PersonName
w:st="on">Asterisk Users Mailing List - Non-Commercial Discussion</st1:personname></st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Ring +
Music on Hold in the same call</span></font><o:p></o:p></p>

</div>

<u1:p></u1:p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi list,<br>
is there a way to achieve in asterisk (version 1.4.x) the behavior described
below?<u1:p></u1:p><o:p></o:p></span></font></p>

<ul style='margin-top:0in' type=disc>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=3 color=black
     face="Times New Roman"><span style='font-size:12.0pt'>a caller place a
     call to an extension, and I want the caller hears the extension ringing
     for some seconds, and then hears the music on hold (or a courtesy message)
     <u>in the same call;</u><u1:p></u1:p><o:p></o:p></span></font></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=3 color=black
     face="Times New Roman"><span style='font-size:12.0pt'>the called extension
     must continue to ring until answered.<u1:p></u1:p><o:p></o:p></span></font></li>
</ul>

<p class=MsoNormal style='line-height:14.25pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>With the m(...) option in
the Dial command (like the example below) asterisk provides only music on hold
while the phone rings.<br>
<br>
<br>
<o:p></o:p></span></font></p>

<u1:p></u1:p><span style='orphans: 2;widows: 2;word-spacing:0px'>

<div style='border:dashed #2F6FAB 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;
-moz-background-clip: border;-moz-background-origin: padding;-moz-background-inline-policy: continuous;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><pre style='line-height:13.2pt;background:#F9F9F9'><font size=2
color=black face="Courier New"><span style='font-size:10.0pt'>exten =&gt; s,n,Dial(SIP/XXXX,30,m(default))<u1:p></u1:p><o:p></o:p></span></font></pre></div>

</span>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>I can not use queues because the requirements is to
have 1 call and not a lot of calls.<br>
<br>
<br>
Thanks in advance,<br>
Matteo<u1:p></u1:p><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</u1:smarttagtype>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>-- <br>
<br>
<o:p></o:p></span></font></p>

<meta name=AUTHOR content="Alberto Vinci">
<meta name=CREATED content="20091103;16310000">
<meta name=CHANGEDBY content="Alberto Vinci">
<meta name=CHANGED content="20091103;16320000">

<p class=western style='margin-bottom:0in;margin-bottom:.0001pt'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'><img
border=0 width=255 height=18 id="_x0000_i1026"
src="cid:image001.jpg@01CB087A.347D2480" name="Immagine 4" align=BOTTOM></span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><br>
</span></font><b><font size=2 color="#589e48" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#589E48;font-weight:bold'>Ing.
Matteo Campana - </span></font></b><i><font size=1 color="#589e48" face=Arial><span
style='font-size:8.0pt;font-family:Arial;color:#589E48;font-style:italic'>System
Engineer</span></font></i><o:p></o:p></p>

<p class=western style='margin-bottom:0in;margin-bottom:.0001pt'><st1:City
w:st="on"><st1:place w:st="on"><i><font size=1 color="#1f497d" face=Arial><span
  style='font-size:9.0pt;font-family:Arial;color:#1F497D;font-style:italic'>Mobile</span></font></i></st1:place></st1:City><i><font
size=1 color="#1f497d" face=Arial><span style='font-size:9.0pt;font-family:
Arial;color:#1F497D;font-style:italic'>: +39 320 4258536<br>
Office: +39 059 821672 <br>
Fax: +39 059 821492</span></font></i><o:p></o:p></p>

<p class=western style='margin-bottom:12.0pt'><i><font size=1 color="#1f497d"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#1F497D;
font-style:italic'>Web</span></font></i><i><font size=1 color="#92d050"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#92D050;
font-style:italic'>: </span></font></i><u><font color=blue><span
style='color:blue'><a href="http://www.klarya.it/"><i><font size=1
color="#92d050" face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:#92D050;font-style:italic'>www.klarya.it</span></font></i></a></span></font></u><i><font
size=1 color="#1f497d" face=Arial><span style='font-size:9.0pt;font-family:
Arial;color:#1F497D;font-style:italic'> <br>
</span></font></i><b><font size=1 color="#000099" face=Verdana><span
style='font-size:7.0pt;font-family:Verdana;color:#000099;font-weight:bold'><img
border=0 width=170 height=61 id="_x0000_i1027"
src="cid:image002.jpg@01CB087A.347D2480" name="Immagine 5" align=BOTTOM><br>
<img border=0 width=255 height=18 id="_x0000_i1028"
src="cid:image001.jpg@01CB087A.347D2480" name="Immagine 6" align=BOTTOM></span></font></b><o:p></o:p></p>

<p class=western style='margin-bottom:0in;margin-bottom:.0001pt'><font size=1
color="#76923c" face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:#76923C'>This e-mail transmission may contain legally privileged and/or
confidential information. Please do not read it if you are not the intended
recipient(s). Any use, distribution, reproduction or disclosure by any other
person is strictly prohibited. If you have received this e-mail in error,
please notify the sender and destroy the original transmission</span></font><font
size=1 color="#76923c" face=Arial><span style='font-size:9.0pt;font-family:
Arial;color:#76923C'>.</span></font><o:p></o:p></p>

<p class=western style='margin-bottom:0in;margin-bottom:.0001pt'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>