Try reading up on Local channels, it will accomplish everything you wish. <br><br><br><br><div class="gmail_quote">On Wed, May 11, 2011 at 8:59 AM, Markus <span dir="ltr"><<a href="mailto:universe@truemetal.org">universe@truemetal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi again,<br>
<br>
no one got an idea? :-( Or did my request not make any sense? Or is the<br>
answer to obvious that no one bothers to reply? :-)<br>
<br>
Thanks again!<br>
<div><div></div><div class="h5"><br>
<br>
> On a second thought, I don't need the predetermined delay. I can probably<br>
> just set that with additional w's in the DialBackground command (which I<br>
> made up).<br>
><br>
> So rather something like:<br>
><br>
> _X.,1,Progress<br>
> _X.,2,DialBackground(SIP/123456@provider,,D(ww${EwwXwwTwwEwwN}wwwwwwwwww))<br>
> _X.,3,ConnectLegs<br>
><br>
> Thanks again.<br>
><br>
><br>
>> Hi,<br>
>><br>
>> has the following been done before respectively is it possible with<br>
>> Asterisk? I searched the archives but couldn't locate anything.<br>
>><br>
>> 1. Call to 5555 comes in via SIP.<br>
>> 2. Call is not answered yet but progress continues.<br>
>> 3. At the moment the call comes in something like this gets spawned in<br>
>> the<br>
>> background:<br>
>><br>
>> Dial(SIP/123456@provider,,D(ww${EXTEN})<br>
>> which should translate to:<br>
>> Dial(SIP/123456@provider,,D(ww5555)<br>
>> But even better would be take the ${EXTEN} and put some w's between<br>
>> them:<br>
>> Dial(SIP/123456@provider,,D(ww5ww5ww5ww5)<br>
>><br>
>> 4. After a pretermined amount of time since the call came in<br>
>> respectively<br>
>> the Dial command was spawned "in the background", e.g. 15 seconds,<br>
>> Asterisk answers the call and the call legs are connected together.<br>
>><br>
>> So, with some fantasy commands, something like this:<br>
>><br>
>> _X.,1,Progress<br>
>> _X.,2,DialBackground(SIP/123456@provider,,D(ww${EwwXwwTwwEwwN}),ANSWER-AND-CONNECT-LEGS(15)<br>
>><br>
>> I hope my request is not too cryptic. In short: I'd like to receive<br>
>> calls<br>
>> to arbitrary extensions, but not answer them directly, only after a Dial<br>
>> command has been spawned and a predetermined amount of time has passed<br>
>> since the Dial command has been spawned / since the Dial command has<br>
>> connected to 123456.<br>
>><br>
>> Possible?<br>
>><br>
>> I'm new to the list, hi! :)<br>
>><br>
>> Thank you!<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sherwood McGowan<br>Telecommunications and VOIP Consultant<br><br>