Progress, Delay, DTMF / background calling

Home » Asterisk Users » Progress, Delay, DTMF / background calling
Asterisk Users No Comments

Hi,

has the following been done before respectively is it possible with
Asterisk? I searched the archives but couldn’t locate anything.

1. Call to 5555 comes in via SIP.
2. Call is not answered yet but progress continues.
3. At the moment the call comes in something like this gets spawned in the
background:

Dial(SIP/123456@provider,,D(ww${EXTEN})
which should translate to:
Dial(SIP/123456@provider,,D(ww5555)
But even better would be take the ${EXTEN} and put some w’s between them:
Dial(SIP/123456@provider,,D(ww5ww5ww5ww5)

4. After a pretermined amount of time since the call came in respectively
the Dial command was spawned “in the background”, e.g. 15 seconds,
Asterisk answers the call and the call legs are connected together.

So, with some fantasy commands, something like this:

_X.,1,Progress
_X.,2,DialBackground(SIP/123456@provider,,D(ww${EwwXwwTwwEwwN}),ANSWER-AND-CONNECT-LEGS(15)

I hope my request is not too cryptic. In short: I’d like to receive calls
to arbitrary extensions, but not answer them directly, only after a Dial
command has been spawned and a predetermined amount of time has passed
since the Dial command has been spawned / since the Dial command has
connected to 123456.

Possible?

I’m new to the list, hi! 🙂

Thank you!