VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
sst at sil.at Guest
|
Posted: Thu Mar 20, 2008 3:32 am Post subject: [asterisk-users] hint status unavailable |
|
|
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.
Thanks
best regards
Steve Smith
ps: allready posted on Dev lists with the result this isnt a dev- related topic. |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Thu Mar 20, 2008 7:22 am Post subject: [asterisk-users] hint status unavailable |
|
|
On 3/20/08, Stefan Schmidt <sst at sil.at> wrote:
Quote: | 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.
Thanks
best regards
Steve Smith
ps: allready posted on Dev lists with the result this isnt a dev- related topic.
|
What did you mean by realtime config? Realtime SIP users, realtime dialplan?
If it's just SIP users, you should have some success with
"rtcachefriends=yes" in sip.conf
Regards,
Atis
--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835 |
|
Back to top |
|
|
davies147 at gmail.com Guest
|
Posted: Thu Mar 20, 2008 9:04 am Post subject: [asterisk-users] hint status unavailable |
|
|
On 20/03/2008, Johansson Olle E <oej at edvina.net> wrote:
Quote: | 20 mar 2008 kl. 09.32 skrev Stefan Schmidt:
Quote: | 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 |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Thu Mar 20, 2008 9:35 am Post subject: [asterisk-users] hint status unavailable |
|
|
On 3/20/08, Steve Davies <davies147 at gmail.com> wrote:
Quote: | On 20/03/2008, Johansson Olle E <oej at edvina.net> wrote:
Quote: | 20 mar 2008 kl. 09.32 skrev Stefan Schmidt:
Quote: | 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.
|
Huh, this hint & hint would be useful for queues with local channel &
state_interface too.. i think some general usage way could be added to
allow combining of device states.
Regards,
Atis
--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835 |
|
Back to top |
|
|
Guest
|
Posted: Thu Mar 20, 2008 9:51 am Post subject: [asterisk-users] hint status unavailable |
|
|
Quote: | Quote: |
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
Quote: | 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.
|
Huh, this hint & hint would be useful for queues with local channel &
state_interface too.. i think some general usage way could be added to
allow combining of device states.
Regards,
Atis
|
Machinations with func_devstate is the droid you're looking for.
However, there is an issue with the current use of state_interface in
app_queue where it is required to have a '/' character in it (obviously
would for Channels, but custom device states are of the form
Custom:yourdevicestate). I've worked around it, but I've been meaning
to file a bug report about it.
Anyway, have a look at that. It is being used successfully by us (in
1.4, with Russell's backported func_devstate and custom changes to fix
the aforementioned issue).
Regards,
- Brad |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|