[OpenSIPS-Users] Restricting Max Contacts but allowing Softphone

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 28 13:57:20 CEST 2011


Hi Duane,

So, shortly, you want to allow both Desk and Soft phones to register, 
but each with only 1 contact (the most up to date) ?

Regards,
Bogdan

On 10/25/2011 10:41 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
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111028/0db63e83/attachment.htm>


More information about the Users mailing list