<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">That is a good answer.<br>
Thanks.<br>
Any reason why it is not documented?<br>
<br>
Ron<br>
<br>
On 29/11/2012 11:52 AM, Mikhail Lischuk wrote:<br>
</div>
<blockquote cite="mid:f11cd04f31027b234a9b99e9cf0f5902@itx.com.ua"
type="cite">
<p>Shitian Long wrote 29.11.2012 18:40:</p>
<blockquote type="cite" style="padding-left:5px;
border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div> </div>
<div>There is a part of dial plan from sample extension.conf
above. My Question is how "same =>" key word works . </div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div> </div>
<!-- html ignored -->
<pre> </pre>
</blockquote>
<p>"same" is used for complex templates, if you don't want to copy
previous line or afraid you can make a typo.</p>
<p>exten => _1XXNXXX,1,Answer</p>
<p>same => n,HangUp</p>
<p>is the substitution for:</p>
<p>exten => _1XXNXXX,1,Answer</p>
<p>exten => _1XXNXXX,n,HangUp</p>
<p> </p>
<p>Also, it makes grepping the particular exten in a file a lot
easier, and if you want to change some template for exten which
has 50 lines, you don't have to edit all 50 of them.</p>
<p> </p>
<div>
<pre><span class="sig"><span style="color: #999999;">-- </span>
<span style="color: #999999;">With Best Regards</span>
<span style="color: #999999;"><a moz-do-not-send="true" title="mailto:mlischuk@itx.com.ua" href="mailto:mlischuk@itx.com.ua">Mikhail Lischuk</a></span>
<span style="color: #999999;">
</span></span></pre>
<pre> </pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Ron Wheeler
President
Artifact Software Inc
email: <a class="moz-txt-link-abbreviated" href="mailto:rwheeler@artifact-software.com">rwheeler@artifact-software.com</a>
skype: ronaldmwheeler
phone: 866-970-2435, ext 102</pre>
</body>
</html>