Please excuse the noob questions, I'm not very familiar with presence.
Users are registered to kamailio, authenticated against radius with LDAP backend. I'd like to setup some queues on asterisk for helpdesk call center but in order to do it correctly asterisk needs the device state (ringing, in use etc). I assume I'll need to use realtime ldap and setup device entries for all my phones, then use hints on the extensions as if they were local. If I understand correctly this will make asterisk subscribe to kamailio (I will use kams IP in host field), kam then has the responsibility of handling the subscribe/publish/notify stuff.
What needs to be done on the kam side?
Thanks!
Bob
-------------------------------------------------------------------------- This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.
El Lunes, 1 de Marzo de 2010, Robert McGilvray escribió:
Please excuse the noob questions, I'm not very familiar with presence.
Users are registered to kamailio, authenticated against radius with LDAP backend. I'd like to setup some queues on asterisk for helpdesk call center but in order to do it correctly asterisk needs the device state (ringing, in use etc). I assume I'll need to use realtime ldap and setup device entries for all my phones, then use hints on the extensions as if they were local. If I understand correctly this will make asterisk subscribe to kamailio (I will use kams IP in host field), kam then has the responsibility of handling the subscribe/publish/notify stuff.
No, just use Kamailio to relay the SUBSCRIBE's to Asterisk (along with other methods as INVITE).
I think this case is a little different. What you suggest would work for something like a MWI subscription from the phones to asterisk. I need it to work the other way, for Asterisk to be notified when a phone is ringing, off hook etc. It seems like I need to use the presence module with pua_dialoginfo to forward the notifies to any subscribers but I'm not sure if that's right for this scenario.
Daniel - radius auth isn't a requirement but I use it for other things so I just tied kam in to keep it centralized. The radius servers are geographically diverse (along with two kam installations, ldap etc) so it's pretty redundant.
Thanks for the help.
-----Original Message----- From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Iñaki Baz Castillo Sent: Monday, March 01, 2010 3:40 PM To: users@lists.kamailio.org Subject: Re: [Kamailio-Users] kam 1.5/asterisk 1.6 hints/blf?
El Lunes, 1 de Marzo de 2010, Robert McGilvray escribió:
Please excuse the noob questions, I'm not very familiar with presence.
Users are registered to kamailio, authenticated against radius with LDAP backend. I'd like to setup some queues on asterisk for helpdesk call center but in order to do it correctly asterisk needs the device state (ringing, in use etc). I assume I'll need to use realtime ldap and setup device entries for all my phones, then use hints on the extensions as if they were local. If I understand correctly this will make asterisk subscribe to kamailio (I will use kams IP in host field), kam then has the responsibility of handling the subscribe/publish/notify stuff.
No, just use Kamailio to relay the SUBSCRIBE's to Asterisk (along with other methods as INVITE).
El Martes, 2 de Marzo de 2010, Robert McGilvray escribió:
I think this case is a little different. What you suggest would work for something like a MWI subscription from the phones to asterisk. I need it to work the other way, for Asterisk to be notified when a phone is ringing, off hook etc. It seems like I need to use the presence module with pua_dialoginfo to forward the notifies to any subscribers but I'm not sure if that's right for this scenario.
Asterisk cannot be notified when a phone is ringing, except in the case that it's ringing as a Asterisk phone (so it's asterisk who is calling that phone, even thought Kamailio as proxy).
There is no way Asterisk to subscribe to device status of phones not making calls through Asterisk itself.
On 03/01/2010 08:36 PM, Robert McGilvray wrote:
Please excuse the noob questions, I’m not very familiar with presence.
Users are registered to kamailio, authenticated against radius with LDAP backend.
Is this a requirement for your architecture? Kamailio has connector to ldap and you can do authentication with that: http://www.kamailio.org/dokuwiki/doku.php/tutorials:openser-auth-ldap
You can get rid of one point of failure in the network.
Cheers, Daniel
I’d like to setup some queues on asterisk for helpdesk call center but in order to do it correctly asterisk needs the device state (ringing, in use etc). I assume I’ll need to use realtime ldap and setup device entries for all my phones, then use hints on the extensions as if they were local. If I understand correctly this will make asterisk subscribe to kamailio (I will use kams IP in host field), kam then has the responsibility of handling the subscribe/publish/notify stuff.
What needs to be done on the kam side?