<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello&nbsp;<div><br></div><div>I have been reading the sample extension.conf</div><div><br></div><div>;#######################</div><div><br></div><div><br></div><div><div>[outbound-freenum2]</div><div>; This is the handler which performs the dialing logic. It is called</div><div>; from the [outbound-freenum] context</div><div>;</div><div>exten =&gt; _X!,1,Verbose(2,Performing ISN lookup for ${EXTEN})</div><div>same =&gt; n,Set(SUFFIX=${CUT(EXTEN,*,2-)}) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; make sure the suffix is all digits as well</div><div>same =&gt; n,GotoIf($["${FILTER(0-9,${SUFFIX})}" != "${SUFFIX}"]?fn-CONGESTION,1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; filter out bad characters per the README-SERIOUSLY.best-practices.txt document</div><div>same =&gt; n,Set(TIMEOUT(absolute)=10800)</div><div>same =&gt; n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,<a href="http://freenum.org">freenum.org</a>)}) &nbsp; &nbsp; ; perform our lookup with <a href="http://freenum.org">freenum.org</a></div><div>same =&gt; n,GotoIf($["${isnresult}" != ""]?from)</div><div>same =&gt; n,Set(DIALSTATUS=CONGESTION)</div><div>same =&gt; n,Goto(fn-CONGESTION,1)</div><div>same =&gt; n(from),Set(__SIPFROMUSER=${CALLERID(num)})</div><div>same =&gt; n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" = ""]?dial) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; check if we set the FREENUMDOMAIN global variable in [global]</div><div>same =&gt; n,Set(__SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; &nbsp; &nbsp;if we did set it, then we'll use it for our outbound dialing domain</div><div>same =&gt; n(dial),Dial(SIP/${isnresult},40)</div><div>same =&gt; n,Goto(fn-${DIALSTATUS},1)</div><div><br></div><div>exten =&gt; fn-BUSY,1,Busy()</div><div><br></div><div>exten =&gt; _f[n]-.,1,NoOp(ISN: ${DIALSTATUS})</div><div>same =&gt; n,Congestion()</div></div><div><br></div><div>;##########################</div><div><br></div><div><br></div><div><div>According to "<a href="http://www.voip-info.org/wiki/view/Asterisk+config+extensions.conf">http://www.voip-info.org/wiki/view/Asterisk+config+extensions.conf</a>"</div><div><br></div><div>"<span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">Syntax for defining a context: keywords&nbsp;</span><strong style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">exten</strong><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">,&nbsp;</span><strong style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">include</strong><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">,&nbsp;</span><strong style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">ignorepat</strong><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">&nbsp;and&nbsp;</span><strong style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">switch</strong><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">.</span>" "same is not mentioned in this wiki."&nbsp;</div></div><div><br></div><div>There is a part of dial plan from sample extension.conf above. My Question is &nbsp;how "same =&gt;" key word works .&nbsp;</div><div><br></div><div>Thanks</div><div><br></div><div><br></div></body></html>