[asterisk-users] Discover Asterisk 1.4 :: SIP Subscriptions

Atis Lezdins atis at iq-labs.net
Tue Jan 15 12:13:46 CST 2008


On 1/15/08, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
> On Tuesday 15 January 2008 10:51:31 CSB wrote:
> > > I wonder - when this will be available from Realtime.. Managing more
> > > than 50 users makes static config a nightmare, and AFAIK there is no
> > > ways how to create hints with variables/extension masks. So, it is
> > > logical to ask for hint support in Realtime.
> >
> > AFAIK hints are supported in Realtime:
> > Set the priority as -1.
> > Set the app as the hint.

Oh, haven't seen anything like this, and not even any queries in log
that asks for "-1" priority  Any more docs on this?

>
> That's all well and good, but as the entry is in the database, it is not able
> to keep a pointer to a routine in memory (or else the pointer may become
> invalid after restart, without clearing the database, or else you have
> multiple servers, or .....)
>
> Having a hint entry is only half the battle.  The other half is in keeping a
> registry of function pointers to call when the state of the device changes.

I'm not very familiar with internal structure of device states,
however i think this is not so hard. Why would you need to keep a
registry, i think you should just do SELECT whenever any device state
changes, to find out what to update.

While on topic - may i ask for help.. For queues with dynamic members
(i.e. Local/200 at from-queue), if i would create something like this (in
realtime of course)

[from-queue]
exten=>200,hint,SIP/300
exten=>200,1,Dial(SIP/300)

Would this send update to queue of SIP/300 state? All the RINGING/INUSE?


Regards,
Atis


-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-users mailing list