<html><head></head><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On Apr 5, 2012, at 2:32 PM, Carlos Alvarez <<a href="mailto:carlos@televolve.com">carlos@televolve.com</a>> wrote:</span><br></div><div><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 12:11 PM, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com">EWieling@nyigc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you sure you are not referring to the "s" extension?<br></blockquote><div><br></div><div>Absolutely. Every time I discuss 's' priority on this list or the Asterisk IRC channel people tell me it either doesn't exist or is wrong, but it's a powerful under-utilized feature. It's at the core of initially routing calls on our system.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Show an example of needing "s" as a priority.<br></blockquote><div><br></div><div>This is from our system, the asterisks have been used to obscure for privacy, they are numbers.</div>
<div><br></div><div><div>exten => 1602889****,n,Goto(starnetworks#main|s|1)</div><div>exten => 1602400****,s,Goto(starnetworks#extensions,9520,1)</div><div>exten => 1480241****,s,Goto(starnetworks#extensions,9766,1)</div>
<div>exten => _X.,s,Goto(starnetworks#extensions|${EXTEN:7}|1)</div></div><div><br></div></div><br></div></blockquote><br><div>I still don't understand what you would need this for. What version of asterisk are you using? From <a href="http://voip-info.org">voip-info.org</a>, it says the s priority is used when "different patterns may match at the same point in the extension and act differently for them", but couldn't you basically do the same thing with priority labels? How would you ever end up with different patterns matching at the same point in an extension? Where is your priority 1?</div><div><br></div><div><br></div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">--<div>Thanks,</div><div>Warren Selby, dCAP</div></span></body></html>