[asterisk-users] Tricky: Progress, Delay, DTMF / background calling

Sherwood McGowan sherwood.mcgowan at gmail.com
Wed May 11 10:32:25 CDT 2011


Try reading up on Local channels, it will accomplish everything you wish.



On Wed, May 11, 2011 at 8:59 AM, Markus <universe at truemetal.org> wrote:

> Hi again,
>
> no one got an idea? :-(   Or did my request not make any sense? Or is the
> answer to obvious that no one bothers to reply? :-)
>
> Thanks again!
>
>
> > 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
> >>
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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
> >
>
>
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
Sherwood McGowan
Telecommunications and VOIP Consultant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110511/1e695353/attachment.htm>


More information about the asterisk-users mailing list