<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (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]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:890850290;
        mso-list-type:hybrid;
        mso-list-template-ids:-360264316 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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 lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>hi group..<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>does anybody has a TCL script to share which fits into this scenario:<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>1.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>IP phone ( registered to CUCM ) dials a number on PSTN <o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>2.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>the call gets to cisco VG<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>3.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>TCL script is activated on voip dial-peer ( incoming from CUCM ) and provides the following<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>4.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>dials the originally called number and at the same time provides ringback to the IP phone which initiated the call<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>5.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>when PSTN user answers the phone, TCL plays a prompt to PSTN userand after that it connects those two call legs ( PSTN user and IP phone )<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Calibri><span style='font-size:11.0pt'><span style='mso-list:Ignore'>6.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]>so the user experience is that IP phone user dials a number, hears ringback tone all the way until it gets connected with PSTN user..in the mean time PSTN user first listens to the prompt and then gets connected to IP phone user..<o:p></o:p></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>thanx..<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>regards..<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p><p class=MsoNormal><b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;font-weight:bold'>Sinisa Djokic</span></font></b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> </span></font><font size=3 color=black face=Arial><span style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>System Engineer</span></font><font size=3 color=black face=Arial><span style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black'><br></span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>CCIE #25996 Voice</span></font><font size=3 color=black face=Arial><span style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></font></p><table class=MsoNormalTable border=0 cellpadding=0><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><img width=60 height=94 id="Picture_x0020_1" src="cid:image003.png@01CCE77A.372BDE70"><o:p></o:p></span></font></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>  <o:p></o:p></span></font></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>MDS Informaticki inzenjering<br>Milutina Milankovica 7d<br>11070 Novi Beograd, Serbia<br>Tel:  +381 11 2015 200  +381 11 2015 200 , 2015 273<br>Fax: +381 11 3194 954</span></font><font size=1 face="Times New Roman"><span style='font-size:9.0pt;font-family:"Times New Roman","serif"'><br></span></font><font size=1 face=Arial><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><a href="http://www.mds.rs"><font color=blue><span style='color:blue'>www.mds.rs</span></font></a></span></font><font size=1 face="Times New Roman"><span style='font-size:9.0pt;font-family:"Times New Roman","serif"'><br></span></font><font size=1 face=Arial><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><a href="mailto:sdjokic@mds.rs"><font color=blue><span style='color:blue'>sdjokic@mds.rs</span></font></a></span></font><font size=1 face="Times New Roman"><span style='font-size:9.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></font></p></td></tr></table><p class=MsoNormal><font size=1 color="#a6a6a6" face=Arial><span style='font-size:7.0pt;font-family:"Arial","sans-serif";color:#A6A6A6'>This e-mail message and any attachment are intended exclusively for the named addressee. They may contain confidential information which may also be protected by professional secrecy. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use this message or any attachment or disclose the contents to anyone else. If this e-mail was sent to you by mistake please notify the sender immediately and delete this e-mail.<o:p></o:p></span></font></p><p class=MsoNormal style='margin-top:6.0pt'><b><font size=5 color=green face=Webdings><span style='font-size:16.0pt;font-family:Webdings;color:green;font-weight:bold'>P</span></font></b><font size=1 color="#00b050" face=Arial><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#00B050'> </span></font><font size=1 color="#00b050" face=Arial><span style='font-size:7.0pt;font-family:"Arial","sans-serif";color:#00B050'>Save a tree. Don’t print this e-mail unless it’s really necessary.<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p></div></body></html>