<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23588">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Thank you Stanislav, I thought that might be the 
case, time to dig again.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 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; font-color: black"><B>From:</B> 
  <A title=ssinyagin@gmail.com href="mailto:ssinyagin@gmail.com">Stanislav 
  Sinyagin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeswitch-users@lists.freeswitch.org 
  href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 28, 2014 6:26 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
  freeswitch presence question</DIV>
  <DIV><BR></DIV>
  <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>&lt;<A href="mailto:fs@voice2net.ca" 
  target=_blank>fs@voice2net.ca</A>&gt;</SPAN> wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote><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.&nbsp; There is one item 
    that would make it better.&nbsp; 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.&nbsp; 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>&nbsp;</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>&lt;<A href="mailto:kamil.nigmatullin@gmail.com" 
      target=_blank>kamil.nigmatullin@gmail.com</A>&gt;</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.&nbsp;</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>&lt;<A 
        href="mailto:voransoy@gmail.com" 
        target=_blank>voransoy@gmail.com</A>&gt;</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>&nbsp;"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&nbsp;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" target=_blank value="+17072517003">(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>
  <P>
  <HR>

  <P></P>_________________________________________________________________________<BR>Professional 
  FreeSWITCH Consulting Services: 
  <BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>Official 
  FreeSWITCH 
  Sites<BR>http://www.freeswitch.org<BR>http://confluence.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users 
  mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org</BLOCKQUOTE></BODY></HTML>