[asterisk-dev] enhanced 'hint' functionality

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Dec 6 22:02:34 MST 2006


On Wednesday 06 December 2006 22:11, Thomas Andrews wrote:
> > 6 dec 2006 kl. 20.02 skrev Thomas Andrews:
> > >I want to implement hints such as this:
> > >
> > >    exten => _2XXX,hint,agi,agi_script|${EXTEN}
> > >
> > >As I understand it, only global varibles may be used in hints
> > >currently.
> > >
> > >Does anyone know how much effort this would require for me to
> > >implement?
> > >I'm not familiar with that part of the asterisk code, so I don't
> > >know if
> > >I'm biting off more than I can chew. What I mean is, would this change
> > >fit in reasonably well with the existing architecture?
>
> In other words I want to avoid having any hints hard-coded in the
> dialplan, and would instead like variables and/or calls.
>
> I am using agi scripts currently to look up the relationship between the
> extension and the device from a sqlite db. So for example I can get
> Zap/17 from the entry for 200 in the db. I now want to extend this
> functionality to hints.

http://bugs.digium.com/view.php?id=7767

It's far from complete, and I haven't had to work on it recently.  However,
the basic blueprint is there and it works.  It just doesn't work yet across
reloads.

-- 
Tilghman


More information about the asterisk-dev mailing list