<p>I looked at that function but wasn't really sure about what value should gobim the AVPOPS. And also want that AVPOPS is compared too?</p>
<div class="gmail_quote">On Oct 27, 2011 6:13 AM, "Vlad Paiu" <<a href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div 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 href="http://www.opensips.org/html/docs/modules/devel/registrar.html#id293043" target="_blank">http://www.opensips.org/html/docs/modules/devel/registrar.html#id293043</a><br>
<br>
Regards,<br>
<pre cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 10/26/2011 10:54 PM, <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a> wrote:
<blockquote 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>
<fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>