Hi James,

On 01/13/2011 06:43 PM, 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?

As Dani said, there is no way to correlate presence status with call permissions. A BLF functionality is present in opensips - see http://www.opensips.org/Resources/PuaExtensions#pua_dialoginfo. It permits subscriptions to the dialog state of a line.
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
Yes, you can have two servers sharing the same database - if you set the parameter fallback2db the storage will be write-through in database. A smarter way to distribute the load is to divide the request depending on RURI - and then all the Publishes from one user and all the Subscription to that user will go to the same server, and you don't need a shared database anymore.

clientB@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
It is not the To header that says which the user the subscription is addressed to, but the RURI.

Regards,
Anca
subscribes to clientB@ServerB (which also implies a shared location
db).
Thanks.

-- James

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Anca Vamanu
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to