[asterisk-users] Tricky: Progress, Delay, DTMF / background calling
Markus
universe at truemetal.org
Fri May 6 20:21:15 CDT 2011
On a second thought, I don't need the predetermined delay. I can probably
just set that with additional w's in the DialBackground command (which I
made up).
So rather something like:
_X.,1,Progress
_X.,2,DialBackground(SIP/123456 at provider,,D(ww${EwwXwwTwwEwwN}wwwwwwwwww))
_X.,3,ConnectLegs
Thanks again.
> 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 at provider,,D(ww${EXTEN})
> which should translate to:
> Dial(SIP/123456 at provider,,D(ww5555)
> But even better would be take the ${EXTEN} and put some w's between them:
> Dial(SIP/123456 at 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 at 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!
>
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list