[asterisk-users] Hints and realtime
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Mon Nov 17 11:04:30 CST 2008
On Monday 17 November 2008 10:38:30 am Julian Lyndon-Smith wrote:
> Is it possible to use hints from a realtime source like a db or curl ?
> I was looking at the grandstream GXP2000 Expansion Module (EXT) which
> has 56 fully programmable keys that work with BLF. You can daisy-chain 2
> of these together to get 112 keys, plus the 18 on the 2010 phone to give
> 130 potential blfs.
>
> What I was wanting to do was to use the BLF as a type of agent monitor
> as well - when the agent logs in, they go green (from blank), and when
> they log out for them to go blank. I would assume that I can do this by
> adding / removing the hints from extensions.conf, and was wondering if
> it were possible to configure the hints from a realtime source.
>
> Failing that, I could always "dialplan reload" from the login / logout
> extensions, but that seems a little messy.
You cannot use hints from a database, no. However, as of 1.6.0, you can do
something almost as good: you can use a pattern match in extensions.conf
and use a function such as ${CURL()} to map the extension and context to a
particular device.
--
Tilghman
More information about the asterisk-users
mailing list