<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Just an idea, maybe you can use the is_other_contact() function
exported by the registrar module [1], 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 case...<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/devel/registrar.html#id293043">http://www.opensips.org/html/docs/modules/devel/registrar.html#id293043</a><br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 10/26/2011 10:54 PM, <a class="moz-txt-link-abbreviated" href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a> wrote:
<blockquote cite="mid:485b397dcc45457afb04b039068a@google.com"
type="cite">I was wondering if it was possible to do the following
scenario<br>
<br>
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.<br>
<br>
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.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>