11.21,2 : How To Transfer To Jolly Roger ?

Home » Asterisk Users » 11.21,2 : How To Transfer To Jolly Roger ?
Asterisk Users 2 Comments

I’d like to transfer all my pesky telemarketing calls to Jolly Roger .

http://www.nytimes.com/2016/02/25/fashion/a-robot-that-has-fun-at-telemarketers-expense.html

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.

But blindtransfer requires an extension after you hear “transfer”. And I
don’t want the caller to hear “transfer”, or hear the dialing sequence.

Any suggestions ?

sean

2 thoughts on - 11.21,2 : How To Transfer To Jolly Roger ?

  • You can do this with setting up an application map using DYNAMIC_FEATURES
    and enabling it on your incoming call paths.

    https://wiki.asterisk.org/wiki/display/AST/Custom+Dynamic+Features

    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.

    exten => 7132/_480NXXXXXX,1,Goto(RING)
    exten => 7132/_520NXXXXXX,1,Goto(RING)
    exten => 7132/_602NXXXXXX,1,Goto(RING)
    exten => 7132/_623NXXXXXX,1,Goto(RING)
    exten => 7132/_928NXXXXXX,1,Goto(RING)
    exten => 7132,1,Voicemail(7132@{CUSTGROUP},u)
    exten => 7132,n,Hangup()
    exten =>
    7132,n(RING),Gosub(sub-stdexten2,7132,1({CUSTGROUP},{CUSTGROUP}-operator,7133,,SIP/7132${CUSTGROUP}))

    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.

  • Brillliant. Here’s what worked.

    In features.conf:

    [applicationmap]
    ……. jollyroger = *8,peer,Dial,”MOTIF/xxxx/+12146664321@voice.google.com”

    In extensions.conf:

    Set(_DYNAMIC_FEATURES=jollyroger)

    Now eagerly awaiting a spam call !!