[asterisk-users] addressing peers dynamically
Joshua Colp
jcolp at digium.com
Tue Nov 20 07:42:01 CST 2012
Andre Gronwald wrote:
> it is just because i think that something is not wrong (which is
> correct, because i address a currently not existing peer). and if there
> is a way to handle it better, then i would like to know it (virtual
> queues is just oversized, but maybe there is a simple usage of
> addressing only registered peers...
Ultimately something has to check if the peer is available or not, the
only difference is instead of having app_dial do it you do it to mask
the message.
You could use ChanIsAvail on each peer you want to dial and use the
result to construct a string of available devices.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list