<div dir="ltr"><div><div>I think the only way to do this is to write an ESL application which would receive the presence events and process them, and then route the inbound call according to the current presence state.<br><br></div>You may also try to read directly from Sofia's presence database.<br><br></div>so, needs some engineering and testing effort. <br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 10:32 PM, Darcy Primrose <span dir="ltr"><<a href="mailto:fs@voice2net.ca" target="_blank">fs@voice2net.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">We have freeswitch running in the shared line mode
with Grandstream 2130 phones, works really well. There is one item that
would make it better. When a phone goes off hook, it does illuminate the
associated line on all other phones with the same shared line, however, I cannot
stop an inbound call from hitting this line as someone is dialing. Is
there a way to check the status/presence of this an extension in the dialplan,
if so, this would solve the issue.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Darcy</font></div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div style="FONT:10pt arial">----- Original Message ----- </div>
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b>
<a title="vipkilla@gmail.com" href="mailto:vipkilla@gmail.com" target="_blank">Vik Killa</a>
</div>
<div style="FONT:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
<div style="FONT:10pt arial"><b>Sent:</b> Monday, October 27, 2014 1:58
PM</div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] Shared
registration</div>
<div><br></div>
<div dir="ltr">I forward the Registrations to FS because it does a fantastic job
of handling presence (BLF, SLA, SCA, etc...)</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Oct 27, 2014 at 12:51 PM, Kamil Nigmatullin
<span dir="ltr"><<a href="mailto:kamil.nigmatullin@gmail.com" target="_blank">kamil.nigmatullin@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">imho this is quite a strange scheme. Why not to keep all
registrations on Kamailio? Register should be used in front of
users. </div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>2014-10-20 14:43 GMT+06:00 Volkan Oransoy <span dir="ltr"><<a href="mailto:voransoy@gmail.com" target="_blank">voransoy@gmail.com</a>></span>:<br></div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<div dir="ltr">Hi all,
<div><br></div>
<div>I have two FS boxes that share same database. These two boxes are
behind two kamailio sip proxies. When a sip proxy receives a successful
registration, it replicates the registration to one of FS boxes with a
path variable. The FS box that receives registration writes this data to
database. Everything goes well at this scenario. But when I check,
registration numbers are inconsistent.</div>
<div><br></div>
<div> "sofia status profile internal reg" command shows all the
records in the DB and matches at two FS boxes. But "show registrations"
shows less than half of these records and numbbers are different at two FS
boxes. I think that's why some users get UNALLOCATED_NUMBER error
when they receive a call from opposite FS box.</div>
<div><br></div>
<div>Is there anything that I miss at this setup? Or what is the common
setup for such a cluster?</div><span><font color="#888888">
<div><br></div>
<div>/Volkan
Oransoy</div></font></span></div><br></div></div><span>_________________________________________________________________________<br>Professional
FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official
FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-powered IP PBX:
The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>FreeSWITCH-users mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><span><font color="#888888"><br><br clear="all">
<div><br></div>-- <br>
<div dir="ltr">Kamil Nigmatullin<br>Tel: 77272323748<br>mob: 7 <a href="tel:%28707%29%202517003" value="+17072517003" target="_blank">(707)
2517003</a><br>Skype:
kamil.nigmatullin</div></font></span></div><br>_________________________________________________________________________<br>Professional
FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official
FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<p>
</p><hr>
<p></p>_________________________________________________________________________<br>Professional
FreeSWITCH Consulting Services:
<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official
FreeSWITCH
Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><p></p></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>