[asterisk-users] hint status unavailable
Steve Davies
davies147 at gmail.com
Thu Mar 20 09:04:14 CDT 2008
On 20/03/2008, Johansson Olle E <oej at edvina.net> wrote:
> 20 mar 2008 kl. 09.32 skrev Stefan Schmidt:
> > hello,
> >
> > i am trying to set up a asterisk server (version 1.2.26 by now) with
> > realtime configuration but the user shouldnt register directly to the
> > server, instead i have set up a ser registration proxy. Everything
> > works
> > fine so far, but i can´t use the hint feature. Its possible to
> > subscribe
> > to a given hint, but the status is allways unavailable and also i dont
> > get a notify.
> >
> > Could someone help me finding a solution for this problem? I want to
> > get
> > notifies for hints where the user isnt registered on the asterisk
> > itself.
>
>
> That is something we all want, but it doesn't work now unless you add
> a third party software. I haven't seen anything that solves the issue,
> but have
> a few ideas.
>
> The question here is how should one asterisk be able to know anything
> about
> devices it doesn't control? It's a pbx, not an artificial intelligence
> software.
>
> There is work going on in the development group to make it possible
> to apply a message bus between Asterisk servers so that Asterisk
> servers can share call states. When that is up and running and tested,
> it will be part of a future Asterisk release.
>
> So the answer in short is "not possible today", "maybe tomorrow"
>
> Regards,
> /olle
Perhaps in a similar thread, is it possible to somehow SET the state
of a hint from the dialplan? Perhaps a bit like:
Set(${ChanIsAvail(hint,234)}=Busy)
or perhaps have a pseudo-device facility where you can add it to the
end of the hint list to "hint-the-hint". Something like:
exten => 234,hint,SIP/myphone&PSEUDO/234
exten => *78,1,ChanAvailIs(PSEUDO/234,Busy)
exten => *791,ChanAvailIs(PSEUDO/234,Unknown)
This could be very useful for presence indication.
Cheers,
Steve
More information about the asterisk-users
mailing list