[OpenSIPS-Users] Restricting Max Contacts but allowing Softphone
vladpaiu at opensips.org
Thu Oct 27 13:12:42 CEST 2011
Just an idea, maybe you can use the is_other_contact() function exported
by the registrar module , and somehow differentiate at IP level the
Deskphone from the Softphone, and reject registrations based on the
func's result. Though I'm not really sure if this is possible in your
On 10/26/2011 10:54 PM, duane.larson at gmail.com wrote:
> I was wondering if it was possible to do the following scenario
> I want to make sure that DeskphoneA can only have one contact entry in
> the Location table but that contact entry has to be the most
> up-to-date in case the deskphone loses power or internet connectivity.
> Therefore I need to use the "f" flag in the save() function. I would
> also like for a SoftphoneA to be able to register and have a contact
> entry that is the most up-to-date in case the softphone laptop loses
> power or internet connectivity.
> How can I achieve this? If I do save("location","fc2") then this might
> allow for DeskphoneA and SoftphoneA to be registered at the same time,
> but there is no guarantee that the deskphone won't overwrite the
> softphone and vice versa.
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users