[Asterisk-Users] More complicated huntgroups / delayed ringing
- SOLVED
Chris Wade
clwade at sparco.com
Tue Feb 8 13:27:43 MST 2005
Stefan Gofferje wrote:
> Andrew Thompson schrieb:
>
>> I'll be playing around with Local/ some in the next few days(now that
>> I more understand what it's for).
>>
>> I had a thought about your problem. Given the dialplan above, have you
>> tried adding a Wait(15) to extension 6003 at internal, so it doesn't
>> start processing right away?
>>
>> You could encapsulate it using something like:
>>
>> [delayedinternal]
>> exten => _.,1,Wait(15)
>> exten => _.,2,Dial(Local/<fill with appropriate variable>@internal,20,rt)
>>
>> Note: I haven't tried this, and it might be utter malarky, but it
>> seems logical, to me anyway. Also, please excuse any linebreaking that
>> may have occured in my example.
>
>
> That's brilliant! And so easy...
> Works exactly as supposed. You should put it onto the wiki under section
> "tips & tricks".
>
> Regards,
> Stefan
>
> PS: Chris, your boss might like this also!
>
>
I've tried similar, it worked, just not quite what I had intended - but
then again, this was several months ago when I tried that approach.
I'll see about doing it this way again, but I will say the biggest pain
is that my hunt groups are VERY large and considerably more complicated
than just what I've described here. A queue would work best in my
situation, except that it will not ring in devices in the way we've been
discussing, so I have to re-implement the queue system using the
dialplan and something similar to what was just proposed - this is why
it never quite worked as expected. Regardless, I think it looks like
one of the 'guru's is interested in this idea and may contemplate
implementing this as an option to 'Dial' :)
-Chris
More information about the asterisk-users
mailing list