[OpenSIPS-Users] DND and presence

Dani Popa dani.popa at gmail.com
Fri Jan 14 12:34:38 CET 2011


I think you should make distinction between "call DND" and "presence
DND".  DND for not receiving calls you can do from ACL or user
credentials. For presence, DND is indicated by UACs(also you cand use
fifo to change presence status for subscribers). Of course you can check
presence messages from the UAC and change also the DND for calls doing
query in database directly from opensips script config.  

For the second question, i think you can use dns records to change
presence between two opensips servers and you don't need to share
presence database.

James Lamanna wrote:
> Hi,
> I'm trying to move to OpenSIPS as being the registrar front end for
> cluster of Asterisk boxes.
> One of the services we currently offer is DND w/ BLF.
> I'm trying to figure out how to implement this with OpenSIPS.
> >From what I've read, DND can be implemented through ACLs, correct?
> However, is there any way to tie this into the presence module?
> Asterisk has a notion of 'hints' where you can say, set the value of
> hint *761234567890, and then a phone can subscribe to that hint see
> the BLF.
> Is there any way to do this in OpenSIPS presence?
> And another question on presence, is it possible, if I have 2 OpenSIPS
> servers that share a presence database, for client A on server 1 to
> subscribe to
> the presence of client B registered on server 2 by just subscribing to
> clientB at ServerA? (clientA doesn't know what server clientB might be
> registered on).
> Or do I have to add logic to rewrite the To header so that it
> subscribes to clientB at ServerB (which also implies a shared location
> db).
> Thanks.
> -- James
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list