"Danny Nicholas" <[email protected]> writes:

> You could set up a hint for the extension and check the hint for "inuse"
> before executing the Dial in your dialplan
>
> Exten => 801,hint,SIP/100
>
> Exten => XXX,1,System("/usr/sbin/asterisk -rx "core show hints"|/bin/grep
> SIP/100|/bin/grep InUse

I think we have a winner for "most creative use of System()".

If the calls go through a queue, a much easier solution is to simply
set ringinuse=so. Job done.

If the calls are done with Dial(), the best way is to use groups. See
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+group


/Benny


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to