<div dir="ltr"><div><div>You can do this with setting up an application map using DYNAMIC_FEATURES and enabling it on your incoming call paths.<br><br><a href="https://wiki.asterisk.org/wiki/display/AST/Custom+Dynamic+Features">https://wiki.asterisk.org/wiki/display/AST/Custom+Dynamic+Features</a><br><br></div>If you don't want to even answer the calls you could try doing this with 'ex-girlfriend logic', I personally have my extension set up so that callers from outside my state go directly to Voicemail.<br><br>exten => 7132/_480NXXXXXX,1,Goto(RING)<br>exten => 7132/_520NXXXXXX,1,Goto(RING)<br>exten => 7132/_602NXXXXXX,1,Goto(RING)<br>exten => 7132/_623NXXXXXX,1,Goto(RING)<br>exten => 7132/_928NXXXXXX,1,Goto(RING)<br>exten => 7132,1,Voicemail(7132@{CUSTGROUP},u)<br>exten => 7132,n,Hangup()<br>exten => 7132,n(RING),Gosub(sub-stdexten2,7132,1({CUSTGROUP},{CUSTGROUP}-operator,7133,,SIP/7132${CUSTGROUP}))<br><br></div>You can see I'm using a pattern-match to send calls from my in-state area codes to the 'RING' label, other calls are answered by voicemail.<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 3:13 PM, sean darcy <span dir="ltr"><<a href="mailto:seandarcy2@gmail.com" target="_blank">seandarcy2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'd like to transfer all my pesky telemarketing calls to Jolly Roger .<br>
<br>
<a href="http://www.nytimes.com/2016/02/25/fashion/a-robot-that-has-fun-at-telemarketers-expense.html" rel="noreferrer" target="_blank">http://www.nytimes.com/2016/02/25/fashion/a-robot-that-has-fun-at-telemarketers-expense.html</a><br>
<br>
In the middle of a call I'd hit some DTMF sequence, which would dial Jolly Roger and transfer the call after Jolly Roger answers.<br>
<br>
But blindtransfer requires an extension after you hear "transfer". And I don't want the caller to hear "transfer", or hear the dialing sequence.<br>
<br>
Any suggestions ?<span class="HOEnZb"><font color="#888888"><br>
<br>
sean<br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</div>